Skip to content

[SDK] Update to semantic conventions v1.45.0 - #8079

Merged
Kielek merged 3 commits into
open-telemetry:mainfrom
martincostello:semconv-1.45.0
Nov 3, 2026
Merged

Kielek merged 3 commits into
open-telemetry:mainfrom
martincostello:semconv-1.45.0

Conversation

@martincostello

@martincostello martincostello commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Changes

Updates the repository to semantic conventions v1.45.0.

  • Bump SemanticConventionsVersion.Current from 1.44.0 to 1.45.0, so the schema URL on resources created by the SDK and the host environment resource detector becomes https://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).
  • Update the spec link in HostEnvironmentResourceDetector to v1.45.0.
  • Update the MicroserviceExample messaging tags to the current names: messaging.system.name, messaging.destination.name and rabbitmq.destination.routing_key. The removed messaging.destination_kind tag is dropped and a broken spec anchor is fixed.
  • Add CHANGELOG entries for OpenTelemetry and OpenTelemetry.Extensions.Hosting.

Reviewed and requiring no change:

  • SDK self-observability metrics: error.type is now "Conditionally Required if and only if an error has occurred" on otel.sdk.processor.{span,log}.processed, and the processors only set it on failure.
  • exception.*, service.* and telemetry.sdk.* attributes are unchanged.
  • The deprecation of peer.service only affects the obsolete Zipkin exporter, which reads it for the remote endpoint.

Merge requirement checklist

  • CONTRIBUTING guidelines followed (license requirements, successful build/tests, etc.)
  • Tests added/updated
  • CHANGELOG.md file(s) updated for non-trivial changes
  • Changes in public API reviewed (if applicable)
  • AI usage disclosure:
    • No AI used
    • AI-assisted
    • Bulk AI-generated
  • I have the experience and knowledge necessary to understand, review, and validate all content in this PR1

Note

This PR description was generated with Claude Code.

Footnotes

  1. Yes, I can answer maintainer questions about the content of this PR without using AI. ↩

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>
@github-actions github-actions Bot added documentation Documentation related pkg:OpenTelemetry.Extensions.Hosting Issues related to OpenTelemetry.Extensions.Hosting NuGet package pkg:OpenTelemetry Issues related to OpenTelemetry NuGet package pkg:OpenTelemetry.Configuration.Declarative Issues related to OpenTelemetry.Configuration.Declarative NuGet package labels Nov 2, 2026
@martincostello
martincostello requested a balanced review from Copilot November 2, 2026 17:31
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-11-03 11:14 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.97%. Comparing base (85a610b) to head (e79bcfd).
✅ All tests successful. No failed tests found.

Additional details and impacted files

Impacted file tree graph

@@           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           
Flag Coverage Δ
unittests-Project-Experimental 90.98% <100.00%> (-0.02%) ⬇️
unittests-Project-Stable 91.00% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
.../Implementation/HostEnvironmentResourceDetector.cs 100.00% <ø> (ø)
src/OpenTelemetry/SemanticConventionsVersion.cs 100.00% <100.00%> (ø)

Update the value of `messaging.destination.name` to address Copilot feedback.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the semantic-conventions schema and RabbitMQ messaging example updates.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@martincostello
martincostello marked this pull request as ready for review November 2, 2026 18:58
@martincostello
martincostello requested a review from a team as a code owner November 2, 2026 18:58
This was referenced Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation related pkg:OpenTelemetry.Configuration.Declarative Issues related to OpenTelemetry.Configuration.Declarative NuGet package pkg:OpenTelemetry.Extensions.Hosting Issues related to OpenTelemetry.Extensions.Hosting NuGet package pkg:OpenTelemetry Issues related to OpenTelemetry NuGet package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants