You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to understand where exactly the trace spans are created and ended when using the OpenTelemetry instrumentation for Python. Specifically, I would like to know:
For inbound requests (e.g. HTTP requests), where in the code does the trace span start and end?
For outbound requests (e.g. HTTP client calls, database queries), where does the span start before the outgoing call and end after the response is received?
For local function calls within the application, how are the span boundaries determined and instrumented?
It would be really helpful if you could provide some insights or point me to the relevant parts of the codebase that handle span creation and completion. Understanding the precise span boundaries is important for me to correctly interpret the trace data and identify performance bottlenecks.
Any guidance or documentation references would be much appreciated. Thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to understand where exactly the trace spans are created and ended when using the OpenTelemetry instrumentation for Python. Specifically, I would like to know:
For inbound requests (e.g. HTTP requests), where in the code does the trace span start and end?
For outbound requests (e.g. HTTP client calls, database queries), where does the span start before the outgoing call and end after the response is received?
For local function calls within the application, how are the span boundaries determined and instrumented?
It would be really helpful if you could provide some insights or point me to the relevant parts of the codebase that handle span creation and completion. Understanding the precise span boundaries is important for me to correctly interpret the trace data and identify performance bottlenecks.
Any guidance or documentation references would be much appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions