Skip to content

feat(server-utils)!: Align AMQP and Redis span attributes - #23324

Draft
s1gr1d wants to merge 5 commits into
developfrom
sig/messaging-attributes
Draft

feat(server-utils)!: Align AMQP and Redis span attributes#23324
s1gr1d wants to merge 5 commits into
developfrom
sig/messaging-attributes

Conversation

@s1gr1d

@s1gr1d s1gr1d commented Aug 12, 2026

Copy link
Copy Markdown
Member

Align AMQP, Redis, and ioredis tracing-channel spans with the current Sentry semantic conventions.

Closes #22363

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 30.34 kB - -
@sentry/browser - with treeshaking flags 28.51 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.85 kB - -
@sentry/browser (incl. Tracing) 48.56 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.57 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.45 kB - -
@sentry/browser (incl. Tracing, Replay) 87.97 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.35 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.69 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.37 kB - -
@sentry/browser (incl. Feedback) 47.66 kB - -
@sentry/browser (incl. sendFeedback) 35.16 kB - -
@sentry/browser (incl. FeedbackAsync) 40.31 kB - -
@sentry/browser (incl. Metrics) 31.31 kB - -
@sentry/browser (incl. Logs) 31.58 kB - -
@sentry/browser (incl. Metrics & Logs) 32.25 kB - -
@sentry/react 32.13 kB - -
@sentry/react (incl. Tracing) 50.77 kB - -
@sentry/vue 35.35 kB - -
@sentry/vue (incl. Tracing) 50.51 kB - -
@sentry/svelte 30.37 kB - -
CDN Bundle 31.64 kB - -
CDN Bundle (incl. Tracing) 48.89 kB - -
CDN Bundle (incl. Logs, Metrics) 33.86 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.85 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.38 kB - -
CDN Bundle (incl. Tracing, Replay) 86.48 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.34 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.19 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.16 kB - -
CDN Bundle - uncompressed 93.94 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.76 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.34 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.56 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.28 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.02 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.81 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.72 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.49 kB - -
@sentry/nextjs (client) 53.29 kB - -
@sentry/sveltekit (client) 48.98 kB - -
@sentry/core/server 65.44 kB - -
@sentry/core/browser 51.8 kB - -
@sentry/node 117.77 kB -0.18% -201 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 82.09 kB +0.01% +2 B 🔺
@sentry/aws-serverless 91.5 kB -0.01% -1 B 🔽
@sentry/cloudflare (withSentry) - minified 214.07 kB - -
@sentry/cloudflare (withSentry) 528.89 kB - -

View base workflow run

@s1gr1d

s1gr1d commented Aug 12, 2026

Copy link
Copy Markdown
Member Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2e3eef9. Configure here.

'net.peer.port': 6380,
'db.statement': 'incr test-key',
...redisData,
'db.query.text': 'incr test-key',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Wrong Redis query attribute in tests

Medium Severity

The Redis auto-instrumentation expectations always assert db.query.text, including on the non-orchestrion path. That path still comes from OTel and emits db.statement. The adjacent redis-cache suite already branches this with dbQueryTextAttribute, so these assertions will fail whenever orchestrion is disabled.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2e3eef9. Configure here.

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.

Remove legacy messaging/db span attributes from AMQP & Redis instrumentations

1 participant