Closed chomey closed 1 year ago
Oh... should I be creating this issue on the https://github.com/open-telemetry/opentelemetry-java-instrumentation repository instead?
Oh... should I be creating this issue on the https://github.com/open-telemetry/opentelemetry-java-instrumentation repository instead?
yes. I will transfer it over there.
@chomey could you check whether this issue is still present with the latest version of the agent
This has been automatically marked as stale because it has been marked as needing author feedback and has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.
Describe the bug The automatically generated trace data for database interactions is not being associated with custom context and spans defined in the calling functions.
Ideally, the root span of the top trace in the screenshot, comprising of 3 spans, should be parented by the last span of the bottom span.
Top span:
The top span is generated automatically from
-javaagent
.I'm running the database function like this:
What did you expect to see? The full trace to be a single trace, all nested under a single root span.
What did you see instead? See screenshot
What version and what artifacts are you using? Maven Versions:
Agent Version: https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/tag/v1.19.0
Environment Compiler:
OS: