Skip to content

feat: Rename diagnostic_channel, fetch and gRPC span origins - #25601

Merged
mydea merged 3 commits into
developfrom
ref/rename-diagnostic-channel-origins
Oct 22, 2026
Merged

mydea merged 3 commits into
developfrom
ref/rename-diagnostic-channel-origins

Conversation

@mydea

@mydea mydea commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

The .diagnostic_channel suffix on span origins was left over from v10, where it distinguished these spans from the OTel-based ones. The rest of the v11 origins already dropped mechanism parts like .otel and .orchestrion.

  • auto.graphql.diagnostic_channel → auto.graphql.graphql: graphql has a single instrumentation path, so the suffix carried no information. The integration name stays, as in every other auto.<category>.<integration> origin.
  • auto.db.{redis,mysql2,mongoose}.diagnostic_channel → auto.db.{redis,mysql2,mongoose}.native_channel: these integrations still have two paths, the library's own tracing channels (newer versions) and orchestrion-injected channels (older versions, plain auto.db.<lib>). native_channel says what the distinction actually is.

While at it, two origins that were inconsistent with their siblings:

  • auto.http.wintercg_fetch → auto.http.fetch: Bun, Deno and Cloudflare already use auto.http.fetch for the same instrumentation.
  • auto.grpc.serverless → auto.grpc.google_cloud: serverless didn't name the integration.

Spec violations (category, part count) are handled separately in #25602.

🤖 Generated with Claude Code

Drop the suffix from the graphql origin (`auto.graphql`), since there is
only one graphql instrumentation path. For redis, mysql2 and mongoose,
rename it to `native_channel` to make clear these spans come from the
library's own tracing channels rather than orchestrion-injected ones.

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

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: ab3cfd2 (PR test merge using develop at a01cfca)

Against: a01cfca (develop) · base run #62876

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 29.91 kB - -
@sentry/browser - with treeshaking flags 28.04 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.95 kB - -
@sentry/browser (incl. Tracing) 52.1 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.1 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.04 kB - -
@sentry/browser (incl. Tracing, Replay) 91.85 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 80.72 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 96.58 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 109.52 kB - -
@sentry/browser (incl. Feedback) 47.42 kB - -
@sentry/browser (incl. sendFeedback) 34.97 kB - -
@sentry/browser (incl. FeedbackAsync) 40.07 kB - -
@sentry/browser (incl. Metrics) 30.93 kB - -
@sentry/browser (incl. Logs) 31.21 kB - -
@sentry/browser (incl. Metrics & Logs) 31.84 kB - -
@sentry/react 31.73 kB - -
@sentry/react (incl. Tracing) 54.41 kB - -
@sentry/vue 38.06 kB - -
@sentry/vue (incl. Tracing) 55.03 kB - -
@sentry/svelte 29.93 kB - -
@sentry/remix (Remix 3 client bundle) 57.11 kB - -
CDN Bundle 31.67 kB - -
CDN Bundle (incl. Tracing) 52.61 kB - -
CDN Bundle (incl. Logs, Metrics) 33.87 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 54.55 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.79 kB - -
CDN Bundle (incl. Tracing, Replay) 90.28 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 92.21 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 96.42 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 98.37 kB - -
CDN Bundle - uncompressed 93.29 kB - -
CDN Bundle (incl. Tracing) - uncompressed 156.14 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.83 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 162.1 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.87 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 276.31 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 282.25 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 290.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 295.94 kB - -
@sentry/nextjs (client) 57.3 kB - -
@sentry/sveltekit (client) 52.48 kB - -
@sentry/core/server 41.8 kB - -
@sentry/core/browser 13.81 kB - -
@sentry/node 155.31 kB +0.01% +3 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 84.06 kB - -
@sentry/node - without tracing 96.95 kB -0.01% -1 B 🔽
@sentry/node - without channel injection 133.29 kB +0.01% +3 B 🔺
@sentry/aws-serverless 105.12 kB -0.01% -1 B 🔽
@sentry/cloudflare (withSentry) - minified 211.11 kB - -
@sentry/cloudflare (withSentry) 523.83 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 230.74 kB - -

View base workflow run

- auto.http.wintercg_fetch -> auto.http.fetch, matching the Bun, Deno and
  Cloudflare fetch integrations.
- auto.grpc.serverless -> auto.grpc.google_cloud, naming the integration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mydea mydea changed the title ref!: Rename diagnostic_channel span origins ref!: Rename diagnostic_channel, fetch and gRPC span origins Oct 21, 2026
@mydea mydea changed the title ref!: Rename diagnostic_channel, fetch and gRPC span origins ref: Rename diagnostic_channel, fetch and gRPC span origins Oct 21, 2026
Keep the integration name in the origin, like every other integration
(`auto.<category>.<integration>`).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mydea
mydea marked this pull request as ready for review October 21, 2026 10:42
@mydea
mydea requested a review from a team as a code owner October 21, 2026 10:42
@mydea
mydea requested review from andreiborza and isaacs and removed request for a team October 21, 2026 10:42

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

Reasoning makes a ton of sense. 👍

But I'd call this a fix, not ref!. It's a visible change that fixes a bug.

@mydea mydea changed the title ref: Rename diagnostic_channel, fetch and gRPC span origins feat: Rename diagnostic_channel, fetch and gRPC span origins Oct 21, 2026
@mydea
mydea merged commit 24186f0 into develop Oct 22, 2026
740 of 748 checks passed
@mydea
mydea deleted the ref/rename-diagnostic-channel-origins branch October 22, 2026 07:11
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