Open natalie-zamani opened 1 year ago
could you provide steps to reproduce?
I'm having the same issue, in order to reproduce you just need to have the opentelemetry agent attached to the server and the following dependencies
// Tracing
implementation("io.micronaut:micronaut-tracing")
implementation("io.micronaut.tracing:micronaut-tracing-opentelemetry-http")
implementation("io.opentelemetry:opentelemetry-exporter-otlp")
Not sure if this is relevant, but I've been updating docs in a few repos as things were not clear related to logback MDC and Kotlin coroutine support https://github.com/open-telemetry/opentelemetry-java/pull/5799
Expected Behavior
We're attempting to use the
micronaut.tracing.opentelemetry.http
library in conjunction with our Kotlin micronaut app (using coroutines), instrumented with the OpenTelemetry Agent.We would expect the library to capture additional details on our spans for sever HTTP requests/responses, as well as Micronaut HTTP client requests/responses.
This worked mostly seamlessly for us before we added the OpenTelmetry java agent to our application.
Actual Behaviour
Any interaction with a Micronaut HTTP client fails with the following stack trace:
This is reproducible in tests in our application. We're using the latest Otel java agent version as well.
Steps To Reproduce
No response
Environment Information
Example Application
No response
Version
3.9.1