Title: Clean up OTel import structure · Issue #3407 · getsentry/sentry-python · GitHub
Open Graph Title: Clean up OTel import structure · Issue #3407 · getsentry/sentry-python
X Title: Clean up OTel import structure · Issue #3407 · getsentry/sentry-python
Description: Problem Statement The imports on potel-base are a bit of a mess with lots of workarounds due to circular imports. We should look into how we can restructure stuff so that it's less of a pain to work with and import. Solution Brainstorm T...
Open Graph Description: Problem Statement The imports on potel-base are a bit of a mess with lots of workarounds due to circular imports. We should look into how we can restructure stuff so that it's less of a pain to wor...
X Description: Problem Statement The imports on potel-base are a bit of a mess with lots of workarounds due to circular imports. We should look into how we can restructure stuff so that it's less of a pain to...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/3407
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clean up OTel import structure","articleBody":"### Problem Statement\n\nThe imports on `potel-base` are a bit of a mess with lots of workarounds due to circular imports. We should look into how we can restructure stuff so that it's less of a pain to work with and import.\n\n### Solution Brainstorm\n\nTake `potel-base` and try to clean up how the OTel code is structured so that we have fewer imports inside functions (and less circular imports).\n\nSome questions to consider:\n* Does it make sense to have stuff stowed away in `integrations.opentelemetry` or should we move it higher up?\n* If we go for 2 packages (tracing vs. errors-only), we should structure stuff so that it's not super complex to \"turn off\" OTel stuff and avoid OTel imports.","author":{"url":"https://github.com/sentrivana","@type":"Person","name":"sentrivana"},"datePublished":"2024-08-07T11:44:56Z","url":"https://github.com/getsentry/sentry-python/issues/3407"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f9efcaac-5b6f-f86a-d814-af258d5c16f1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A430:213839:B3C58:EEF67:6B00B9DD |
| html-safe-nonce | da2e2ff6d11e8169de6ad4eecf7adc6047e9f286901540abbc318c2eb93389a0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDMwOjIxMzgzOTpCM0M1ODpFRUY2Nzo2QjAwQjlERCIsInZpc2l0b3JfaWQiOiIyNDIyODE2NDY2NzkwMzAwMTI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 016b0c76ef7f875304ffa481a8c7c9d0bd21d07b73458ed65090616aa72feece |
| hovercard-subject-tag | issue:2453279877 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/3407/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2f6a65d2b79d1ec87db26855a26b9c4a19612b6ae4f16fbe56e6624efaf5e43d/getsentry/sentry-python/issues/3407 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2f6a65d2b79d1ec87db26855a26b9c4a19612b6ae4f16fbe56e6624efaf5e43d/getsentry/sentry-python/issues/3407 |
| og:image:alt | Problem Statement The imports on potel-base are a bit of a mess with lots of workarounds due to circular imports. We should look into how we can restructure stuff so that it's less of a pain to wor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentrivana |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5429cbfc6aca8c7b9a086a3c8f47400346f38cc9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width