Bump OpenTelemetry SDK to 1.51.0, instrumentation to 2.17.0 and semconv to 1.34.0#4532
Merged
Bump OpenTelemetry SDK to 1.51.0, instrumentation to 2.17.0 and semconv to 1.34.0#4532
1.51.0, instrumentation to 2.17.0 and semconv to 1.34.0#4532Conversation
1.51.0, instrumentation to 2.17.0 and semconv to 1.34.01.51.0, instrumentation to 2.17.0 and semconv to 1.34.0
Contributor
|
Contributor
Performance metrics 🚀
|
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| ccbb30a | 423.94 ms | 464.22 ms | 40.28 ms |
| 228dd89 | 449.13 ms | 465.16 ms | 16.04 ms |
| f2bb552 | 412.40 ms | 417.63 ms | 5.23 ms |
| 18428c8 | 452.84 ms | 490.71 ms | 37.88 ms |
App size
| Revision | Plain | With Sentry | Diff |
|---|---|---|---|
| ccbb30a | 1.58 MiB | 2.09 MiB | 518.94 KiB |
| 228dd89 | 1.58 MiB | 2.09 MiB | 518.90 KiB |
| f2bb552 | 1.58 MiB | 2.09 MiB | 518.90 KiB |
| 18428c8 | 1.58 MiB | 2.09 MiB | 518.93 KiB |
…y changing OpenTelemetry defaults) (#4537) * do not override span name if customized * Format code * log in case system property cannot be set * merge * changelog --------- Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
lcian
approved these changes
Jul 3, 2025
gradle/libs.versions.toml
Outdated
| otelInstrumentationAlpha = "2.17.0-alpha" | ||
| # check https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/dependencyManagement/build.gradle.kts#L49 for release version above to find a compatible version | ||
| otelSemanticConventions = "1.28.0-alpha" | ||
| otelSemanticConventions = "1.34.0-alpha" |
Member
There was a problem hiding this comment.
Does this have to be alpha or could we use a normal version?
Member
Author
There was a problem hiding this comment.
Ah good catch, I'll go through dependencies again to check which alpha versions have now been changed to non alpha.
Alpha used to mark the whole dependency as alpha. Previously there was no non alpha versions for some dependencies. This seems to have changed for at least semconv now: https://central.sonatype.com/artifact/io.opentelemetry.semconv/opentelemetry-semconv/versions
lcian
reviewed
Jul 3, 2025
lcian
reviewed
Jul 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📜 Description
Bump:
opentelemetry-sdkto1.51.0opentelemetry-instrumentationto2.17.0opentelemetry-javaagentto2.17.0-
opentelemetry-semconvto1.34.0io.opentelemetry.semconv.SemanticAttributeshas been removed in1.30.0so we can no longer use it to read the deprecated attributes. This however should be fine since we bumped the instrumentation dependencies as well💡 Motivation and Context
Customers were reporting compile errors due to our outdated OTel version.
💚 How did you test it?
📝 Checklist
sendDefaultPIIis enabled.🔮 Next steps