-
Notifications
You must be signed in to change notification settings - Fork 562
Open
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 work on our HTTP client integrations, namely HTTPX, AIOHTTP, and the standard library http client.
Similar to #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
- code.namespace
- code.filepath
- code.function
- code.lineno
where available. See the conventions: https://develop.sentry.dev/sdk/telemetry/traces/span-data-conventions/#general
Solution Brainstorm
Analogous to #2521