Closed aka-peter closed 13 hours ago
Thanks for the reproducer instructions 👍.
The issue should be fixed in Camel Qurakus >= 3.17.0.
There is a (somewhat terrible) workaround:
@ApplicationScoped
public class OtelSdkDisabledCamelWorkaround {
@Produces
OpenTelemetryTracer disableCamelOpenTelemetryTracer() {
return null;
}
}
Bug description
Camel OpenTelemetry seems to be enabled even if quarkus.otel.sdk.disabled=true.
Log line:
This triggers a problem for the configuration below where there are issues with
GlobalOpenTelemetry.set
being called although it should be disabled. No problems with otel sdk enabled (or mongodb tracing disabled).Log: