sentryotel.TracerProvider
does not implement go.opentelemetry.io/otel/trace.TracerProvider
in latest release
#791
Labels
Summary
v0.27.0 of
github.com/getsentry/sentry-go/otel
does not implement thego.opentelemetry.io/otel/trace.TracerProvider
interface define in the latest release ofgo.opentelemetry.io/otel/trace
(1.24.0). It causes what should be otherwise be a straightforward APM configuration to break.As a hack, I hard-coded old versions of otel packages in my go.mod file to v1.18.0 and also
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
to v0.45.0 instead of v0.49.0 so that the packages could still be compatible.Steps To Reproduce
I followed the instructions in the the Sentry docs:
I get the following error when the otel packages are the latest versions (v1.24.0).
This seems to be the change this package needs to make to re-align with otel's package: https://github.com/open-telemetry/opentelemetry-go/blob/da2949b7bbc10fcb7bc1df8f54c68934ca4989e1/trace/trace.go#L536
Thanks so much for your time and help!
Expected Behavior
The configuration shown in the docs should work out-of-the-box, with the otel version.
Screenshots
Sentry.io Event
Environment
SDK
sentry-go
version: v0.27.0Sentry
Additional context
The text was updated successfully, but these errors were encountered: