Title: Add code source for outgoing HTTP requests · Issue #4881 · getsentry/sentry-python · GitHub
Open Graph Title: Add code source for outgoing HTTP requests · Issue #4881 · getsentry/sentry-python
X Title: Add code source for outgoing HTTP requests · Issue #4881 · getsentry/sentry-python
Description: Problem Statement Adding information to spans for outgoing HTTP requests that show the code location of the request. The feature will be opt-in and triggered by a threshold timeout so users can debug slow requests. The feature should wor...
Open Graph Description: Problem Statement Adding information to spans for outgoing HTTP requests that show the code location of the request. The feature will be opt-in and triggered by a threshold timeout so users can deb...
X Description: Problem Statement Adding information to spans for outgoing HTTP requests that show the code location of the request. The feature will be opt-in and triggered by a threshold timeout so users can deb...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/4881
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add code source for outgoing HTTP requests","articleBody":"### Problem Statement\n\nAdding information to spans for outgoing HTTP requests that show the code location of the request. The feature will be opt-in and triggered by a threshold timeout so users can debug slow requests.\n\nThe feature should work on our HTTP client integrations, namely HTTPX, AIOHTTP, and the standard library http client.\n\nSimilar to https://github.com/getsentry/sentry-python/pull/2521, except that we include source code location for http requests instead of SQL queries. Similar to source info for SQL queries we want to set the attributes\n\n- code.namespace\n- code.filepath\n- code.function\n- code.lineno\n\nwhere available. See the conventions: https://develop.sentry.dev/sdk/telemetry/traces/span-data-conventions/#general\n\n### Solution Brainstorm\n\nAnalogous to https://github.com/getsentry/sentry-python/pull/2521","author":{"url":"https://github.com/alexander-alderman-webb","@type":"Person","name":"alexander-alderman-webb"},"datePublished":"2025-10-03T07:00:17Z","url":"https://github.com/getsentry/sentry-python/issues/4881"}
| 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:b83e1288-b4df-7b78-0cee-ea051746b53b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9166:1EC1E3:273E06:36AF3A:6B0087DD |
| html-safe-nonce | 8f0e7cc70aca944b4272b227776d0a822f2732cc3ddab4b03b4d28de20e87bf2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTY2OjFFQzFFMzoyNzNFMDY6MzZBRjNBOjZCMDA4N0REIiwidmlzaXRvcl9pZCI6IjkxNzkzODg2NDAwNzYyNjk1MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 41e39c949c6c995e84092f0943867790225e6aa199a83b1201bc249ac57a6f46 |
| hovercard-subject-tag | issue:3480029405 |
| 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/4881/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b7260db4be8af9cdc25a3244b4a87d64dc5c6013ea1c57ca4506f018b8095caa/getsentry/sentry-python/issues/4881 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b7260db4be8af9cdc25a3244b4a87d64dc5c6013ea1c57ca4506f018b8095caa/getsentry/sentry-python/issues/4881 |
| og:image:alt | Problem Statement Adding information to spans for outgoing HTTP requests that show the code location of the request. The feature will be opt-in and triggered by a threshold timeout so users can deb... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexander-alderman-webb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4d3d8e50f02c1d7bf86d5acfa1d3bfe9366abd6528a6b429eb07a168429d2b61 |
| 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 | db758f8e02b8257935fb03edf81a3e76eb3abd11 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width