Skip to content

feat(attributes): Add service.namespace - #585

Closed
JPeer264 wants to merge 1 commit into
jp/conv-graphql-sourcefrom
jp/conv-service-namespace
Closed

feat(attributes): Add service.namespace#585
JPeer264 wants to merge 1 commit into
jp/conv-graphql-sourcefrom
jp/conv-service-namespace

Conversation

@JPeer264

Copy link
Copy Markdown
Member

service.namespace is an OpenTelemetry resource attribute that SDKs emit alongside the already documented service.name and service.version, but it was never defined here.

It is added as a live attribute, not as a deprecated one. The JavaScript SDK stopped collecting OpenTelemetry resources in v11 and so no longer emits any service.* attribute, but that is a JavaScript-only change and other SDKs still send them. Deprecating the service.* family repo-wide would therefore be wrong.

Prompted by getsentry/sentry-javascript#23013

@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add service.namespace by JPeer264 in #585
  • Add graphql.source (deprecated) in favor of graphql.document by JPeer264 in #584
  • Add legacy Vercel AI span attributes (deprecated) by JPeer264 in #583
  • Add legacy gen_ai cache token attributes (deprecated) by JPeer264 in #582
  • Add legacy AMQP and Redis span attributes (deprecated) by JPeer264 in #581
  • Add graphql.processing.type by andreiborza in #572

Bug Fixes 🐛

  • (names) Correct graphql span name examples by andreiborza in #573

Internal Changes 🔧

  • (attributes) Add search alias for segment name by nsdeschenes in #577

🤖 This preview updates automatically when you update the PR.

@JPeer264
JPeer264 force-pushed the jp/conv-graphql-source branch from e74aea3 to 7054621 Compare August 27, 2026 07:59
@JPeer264
JPeer264 force-pushed the jp/conv-service-namespace branch from cbcc307 to 84c9b27 Compare August 27, 2026 07:59
`service.namespace` is an OpenTelemetry resource attribute that SDKs emit
alongside the already documented `service.name` and `service.version`, but
it was never defined here.

Added as a live attribute, not deprecated. The JavaScript SDK stopped
collecting OpenTelemetry resources in v11 and so no longer emits any
`service.*` attribute, but that is a JavaScript-only change and other SDKs
still send them.

Prompted by getsentry/sentry-javascript#23013

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@JPeer264
JPeer264 force-pushed the jp/conv-graphql-source branch from 7054621 to ff5642b Compare August 27, 2026 08:11
@JPeer264
JPeer264 force-pushed the jp/conv-service-namespace branch from 84c9b27 to 0d0b8f7 Compare August 27, 2026 08:17
@JPeer264

Copy link
Copy Markdown
Member Author

I don't think this is relevant.

@JPeer264 JPeer264 closed this Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant