Skip to content

feat(attributes): Add legacy AMQP and Redis span attributes (deprecated) - #581

Merged
JPeer264 merged 3 commits into
mainfrom
jp/conv-amqp-redis-legacy-attrs
Aug 28, 2026
Merged

feat(attributes): Add legacy AMQP and Redis span attributes (deprecated)#581
JPeer264 merged 3 commits into
mainfrom
jp/conv-amqp-redis-legacy-attrs

Conversation

@JPeer264

@JPeer264 JPeer264 commented Aug 27, 2026

Copy link
Copy Markdown
Member

Adds the seven legacy AMQP messaging.* attributes and db.connection_string, which the JavaScript SDK stopped emitting in v11. Without a definition here, nothing tells a user what replaced them.

db.connection_string has no single replacement: the connection is now described by server.address and server.port. It therefore carries a reason instead of a replacement, and gets no alias, so that no two-target alias group is created. (is there any protocol on how to treat these?)

messaging.protocol, messaging.protocol_version and messaging.url join existing alias groups, so the other members of those groups gain the new key as well.

Deprecated by getsentry/sentry-javascript#23324

@github-actions

github-actions Bot commented Aug 27, 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 legacy AMQP and Redis span attributes (deprecated) by JPeer264 in #581
  • Add HTTP body size and status text attributes by msonnb in #574
  • Add graphql.processing.type by andreiborza in #572

Other

  • (span-names) Add url.domainrule for http.client spans by Lms24 in #575

Bug Fixes 🐛

Names

  • Add gen_ai.function_id and gen_ai.pipeline.name to agent span name templates by RulaKhaled in #593
  • Add missing gen_ai ops to span name rules by Lms24 in #579
  • Include tool name in gen_ai.execute_tool span names by Lms24 in #580
  • Correct graphql span name examples by andreiborza in #573

Internal Changes 🔧

  • (attributes) Add search alias for segment name by nsdeschenes in #577
  • (search-metadata) Add visibility field by nsdeschenes in #597

🤖 This preview updates automatically when you update the PR.

@JPeer264
JPeer264 force-pushed the jp/conv-amqp-redis-legacy-attrs branch from 533dfee to f60ca02 Compare August 27, 2026 08:11
@JPeer264
JPeer264 marked this pull request as ready for review August 27, 2026 08:14
@JPeer264
JPeer264 requested review from a team, Lms24, cleptric, mjq and nsdeschenes as code owners August 27, 2026 08:14

@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.

Thanks a lot for adding these!

Comment thread model/attributes/db/db__connection_string.json Outdated
Comment on lines +10 to +12
"deprecation": {
"_status": null,
"reason": "This attribute is deprecated. The connection is described by server.address and server.port instead, so the value cannot be copied to a single replacement attribute."

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.

good call to not add a replacement here, since it's two attributes that make up for this one. Thanks!

@JPeer264
JPeer264 force-pushed the jp/conv-amqp-redis-legacy-attrs branch 2 times, most recently from a4486da to b463e2c Compare August 28, 2026 11:49
Comment thread model/attributes/db/db__connection_string.json
JPeer264 and others added 3 commits August 28, 2026 14:12
Adds the legacy AMQP `messaging.*` attributes and `db.connection_string`
that the JavaScript SDK stopped emitting in v11, so that the old names keep
pointing at their replacements while dashboards and alerts migrate.

`db.connection_string` has no single replacement: the connection is now
described by `server.address` and `server.port`, so it carries a reason
instead of a `replacement` and gets no alias.

Deprecated by getsentry/sentry-javascript#23324

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
@JPeer264
JPeer264 force-pushed the jp/conv-amqp-redis-legacy-attrs branch from 02abe22 to a61edde Compare August 28, 2026 12:12
@JPeer264
JPeer264 merged commit 2cfbc09 into main Aug 28, 2026
16 checks passed
@JPeer264
JPeer264 deleted the jp/conv-amqp-redis-legacy-attrs branch August 28, 2026 12:26
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