Title: Get `driver_type` from elsewhere in Celery tasks · Issue #5428 · getsentry/sentry-python · GitHub
Open Graph Title: Get `driver_type` from elsewhere in Celery tasks · Issue #5428 · getsentry/sentry-python
X Title: Get `driver_type` from elsewhere in Celery tasks · Issue #5428 · getsentry/sentry-python
Description: Currently, we're getting the driver type (e.g. redis) in a Celery task by opening a new connection. This is not ideal. Is there a way to get this information from elsewhere, without having to open a new connection? If not, can it at leas...
Open Graph Description: Currently, we're getting the driver type (e.g. redis) in a Celery task by opening a new connection. This is not ideal. Is there a way to get this information from elsewhere, without having to open ...
X Description: Currently, we're getting the driver type (e.g. redis) in a Celery task by opening a new connection. This is not ideal. Is there a way to get this information from elsewhere, without having to o...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/5428
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Get `driver_type` from elsewhere in Celery tasks","articleBody":"Currently, we're getting the driver type (e.g. `redis`) in a Celery task by [opening a new connection](https://github.com/getsentry/sentry-python/blob/3373da2da8886d95c3e7fd4bb712377c4420ce4b/sentry_sdk/integrations/celery/__init__.py#L394-L398). This is not ideal. Is there a way to get this information from elsewhere, without having to open a new connection? If not, can it at least be cached?","author":{"url":"https://github.com/sentrivana","@type":"Person","name":"sentrivana"},"datePublished":"2026-02-06T08:44:08Z","url":"https://github.com/getsentry/sentry-python/issues/5428"}
| 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:10fc2116-72e6-8af9-352b-21ec2906ca82 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9B0:33444D:90A103:C272A6:6B00E61E |
| html-safe-nonce | f769a900eda18dfdb559eb32807c19103aaa8a57b9fe0050d9a76eb61cfd643a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUIwOjMzNDQ0RDo5MEExMDM6QzI3MkE2OjZCMDBFNjFFIiwidmlzaXRvcl9pZCI6IjU5MjUxNTA3NDM3NjkxNzk2NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 066d68f73b6cc8f6d9168e116fcd3de0ff9662430287e6ac69404922324ba4ec |
| hovercard-subject-tag | issue:3905619794 |
| 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/5428/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8f67165e5e40e4f1d0bcea9c1594c98b0ad06e58af6a93b28fb6df6db6c77809/getsentry/sentry-python/issues/5428 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8f67165e5e40e4f1d0bcea9c1594c98b0ad06e58af6a93b28fb6df6db6c77809/getsentry/sentry-python/issues/5428 |
| og:image:alt | Currently, we're getting the driver type (e.g. redis) in a Celery task by opening a new connection. This is not ideal. Is there a way to get this information from elsewhere, without having to open ... |
| 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 | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| 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 | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width