Skip to content

feat(attributes): Add deprecated messaging.destination_kind - #509

Merged
andreiborza merged 3 commits into
mainfrom
ab/messaging-destination-kind
Jul 16, 2026
Merged

feat(attributes): Add deprecated messaging.destination_kind#509
andreiborza merged 3 commits into
mainfrom
ab/messaging-destination-kind

Conversation

@andreiborza

@andreiborza andreiborza commented Jul 15, 2026

Copy link
Copy Markdown
Member

What

Adds the legacy messaging.destination_kind attribute to the model, marked deprecated with no replacement.

  • Model: model/attributes/messaging/messaging__destination_kind.json
  • Regenerated JS (MESSAGING_DESTINATION_KIND) and Python exports via yarn generate.

Why

Older OTel instrumentations still emit messaging.destination_kind (e.g. the aws-sdk SNS instrumentation the Sentry JS SDK ports for parity). OTel has since removed it in favor of messaging.operation.type + messaging.destination.name, so it's modeled here as deprecated (_status: null, no replacement).

Adds the legacy `messaging.destination_kind` attribute as deprecated (no
replacement) for parity with older OTel instrumentations that still emit it,
such as the aws-sdk SNS integration. OTel removed it in favor of
`messaging.operation.type` + `messaging.destination.name`.

Co-Authored-By: Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 15, 2026

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 deprecated messaging.destination_kind by andreiborza in #509
  • Add sentry.segment.name.source attribute by Lms24 in #466
  • Add attribute transformations by constantinius in #465
  • Add stable app vitals attributes by buenaflor in #493
  • Deprecate sentry.frames.* attributes by buenaflor in #500
  • Add missing AI legacy aliases from Relay SpanData by vgrozdanic in #498

Internal Changes 🔧

  • (attrs) Backport attributes and normalizations from Relay by Dav1dde in #497
  • (codeowners) Assign telemetry-experience to gen_ai/ai attributes by vgrozdanic in #506
  • (release) Show version in workflow run title by constantinius in #504

🤖 This preview updates automatically when you update the PR.

@andreiborza
andreiborza marked this pull request as ready for review July 15, 2026 18:00
@andreiborza
andreiborza requested review from a team, Lms24, cleptric, mjq and nsdeschenes as code owners July 15, 2026 18:00

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

now models the destination kind via messaging.operation.type and messaging.destination.na

These aren't similar enough to add them as replacements, correct? i think that's fine fwiw, since we couldn't backfill them anyway. Just checking.

@andreiborza

Copy link
Copy Markdown
Member Author

Yeah I think it's not similar enough.

@andreiborza
andreiborza merged commit 2308ee0 into main Jul 16, 2026
16 checks passed
@andreiborza
andreiborza deleted the ab/messaging-destination-kind branch July 16, 2026 12:34
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.

2 participants