Repository navigation
[SDK] Update to semantic conventions v1.45.0 - #8079
Merged
Merged
Conversation
Bump the semantic conventions version used for resource schema URLs from 1.44.0 to 1.45.0 and update the MicroserviceExample messaging attributes to the current names. Assisted-by: Claude Code <noreply@anthropic.com>
Assisted-by: Claude Code <noreply@anthropic.com>
Pull request dashboard statusMerged · refreshed 2026-11-03 11:14 UTC Status above doesn't look right?
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Both RabbitMQ callers emit an empty messaging.destination.name from DefaultExchangeName instead of using TestQueueName, leaving destination-based grouping without a useful value.
1 open issue
What changed in this PR
Updates the SDK and hosting resource schema URLs to semantic conventions v1.45.0 and refreshes the MicroserviceExample’s RabbitMQ attributes.
Changes:
- Advances the shared semantic-conventions version and updates the declarative resource conflict test.
- Renames RabbitMQ messaging tags and removes the obsolete destination-kind tag.
- Updates a specification comment link and adds changelog entries for both affected components.
| File | Description |
|---|---|
test/OpenTelemetry.Configuration.Declarative.Tests/DeclarativeResourceDetectorTests.cs |
Updates the schema URL used in the conflict test. |
src/OpenTelemetry/SemanticConventionsVersion.cs |
Advances the shared version to 1.45.0. |
src/OpenTelemetry/CHANGELOG.md |
Documents the SDK resource schema update. |
src/OpenTelemetry.Extensions.Hosting/Implementation/HostEnvironmentResourceDetector.cs |
Updates the specification link in a comment. |
src/OpenTelemetry.Extensions.Hosting/CHANGELOG.md |
Documents the hosting resource schema update. |
examples/MicroserviceExample/Utils/Messaging/RabbitMqHelper.cs |
Refreshes messaging attribute names and a documentation anchor. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8079 +/- ##
=======================================
Coverage 90.97% 90.97%
=======================================
Files 384 384
Lines 22860 22860
Branches 4270 4270
=======================================
Hits 20797 20797
Misses 1485 1485
Partials 578 578
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Update the value of `messaging.destination.name` to address Copilot feedback.
martincostello
marked this pull request as ready for review
November 2, 2026 18:58
Kielek
approved these changes
Nov 3, 2026
This was referenced Nov 11, 2026
This was referenced Nov 16, 2026
Open
Open
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.

Changes
Updates the repository to semantic conventions v1.45.0.
SemanticConventionsVersion.Currentfrom1.44.0to1.45.0, so the schema URL on resources created by the SDK and the host environment resource detector becomeshttps://opentelemetry.io/schemas/1.45.0. The 1.45.0 schema does not rename any attribute the SDK emits on resources (service.*,telemetry.sdk.*,deployment.environment.name).HostEnvironmentResourceDetectortov1.45.0.MicroserviceExamplemessaging tags to the current names:messaging.system.name,messaging.destination.nameandrabbitmq.destination.routing_key. The removedmessaging.destination_kindtag is dropped and a broken spec anchor is fixed.OpenTelemetryandOpenTelemetry.Extensions.Hosting.Reviewed and requiring no change:
error.typeis now "Conditionally Required if and only if an error has occurred" onotel.sdk.processor.{span,log}.processed, and the processors only set it on failure.exception.*,service.*andtelemetry.sdk.*attributes are unchanged.peer.serviceonly affects the obsolete Zipkin exporter, which reads it for the remote endpoint.Merge requirement checklist
CHANGELOG.mdfile(s) updated for non-trivial changesChanges in public API reviewed (if applicable)Note
This PR description was generated with Claude Code.
Footnotes
Yes, I can answer maintainer questions about the content of this PR without using AI. ↩