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
java.lang.ClassCastException: class io.opentelemetry.javaagent.instrumentation.opentelemetryapi.v1_10.metrics.ApplicationLongGaugeBuilder cannot be cast to class io.opentelemetry.api.incubator.metrics.ExtendedLongGaugeBuilder (io.opentelemetry.javaagent.instrumentation.opentelemetryapi.v1_10.metrics.ApplicationLongGaugeBuilder and io.opentelemetry.api.incubator.metrics.ExtendedLongGaugeBuilder are in unnamed module of loader 'app')
System information
SDK version: 3.5.1
Spring boot version 3.2.4
The text was updated successfully, but these errors were encountered:
hi @ivan-zaitsev, it looks like you may be using older versions of OpenTelemetry API and OpenTelemetry Incubator, can you double check that you are using 1.36.0 for both io.opentelemetry:opentelemetry-api and io.opentelemetry:opentelemetry-api-incubator
With last 3.5.2 version it works. I think that it uses opentelemetry-runtime-attach-core 1.34.0-alpha.
With version 3.5.1 it doesn't work. It uses opentelemetry-runtime-attach-core 1.32.0-alpha.
Expected behavior
Otel PR: open-telemetry/opentelemetry-java#5506
Actual behavior
System information
SDK version: 3.5.1
Spring boot version 3.2.4
The text was updated successfully, but these errors were encountered: