Skip to content

Commit e33fc84

Browse files
committed
Drop stale EXPERIMENTAL/opt-in comments now that channel instrumentation is default
1 parent ece3057 commit e33fc84

33 files changed

Lines changed: 53 additions & 59 deletions

packages/nextjs/src/config/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,7 @@ export type SentryBuildOptions = {
770770
*
771771
* When enabled, `withSentryConfig` injects the orchestrion code-transform loader for bundled
772772
* server packages and keeps the remaining instrumented packages external so the runtime module
773-
* hook picks them up. You must still call `Sentry.experimentalUseDiagnosticsChannelInjection()`
774-
* in your server config to record spans.
773+
* hook picks them up.
775774
*
776775
* Turbopack support requires Next.js 16+; the webpack path works on earlier versions.
777776
*

packages/nuxt/src/common/types.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,8 @@ export type SentryNuxtModuleOptions = BuildTimeOptionsBase & {
191191
/**
192192
* Enables build-time diagnostics-channel instrumentation for supported dependencies bundled into the Nitro server.
193193
*
194-
* 1. Call `Sentry.experimentalUseDiagnosticsChannelInjection()` just before `Sentry.init()`
195-
* 2. Remove `--import ./.output/server/sentry.server.config.mjs` from your `start`script
196-
* 3. Add `sentry.autoInjectServerSentry: 'top-level-import'` in `nuxt.config.ts` so Sentry's server configuration is automatically imported
194+
* 1. Remove `--import ./.output/server/sentry.server.config.mjs` from your `start` script
195+
* 2. Add `sentry.autoInjectServerSentry: 'top-level-import'` in `nuxt.config.ts` so Sentry's server configuration is automatically imported
197196
*
198197
* @default false
199198
* @experimental May change or be removed in any release.

packages/server-utils/src/integrations/tracing-channel/amqplib.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ function getHeaderAsString(headers: Record<string, unknown> | undefined, key: st
644644
}
645645

646646
/**
647-
* EXPERIMENTAL: orchestrion-driven `amqplib` integration.
647+
* Orchestrion-driven `amqplib` integration.
648648
*
649649
* Subscribes to the `orchestrion:amqplib:*` diagnostics_channels that the orchestrion code transform
650650
* injects into `amqplib`'s channel/connection methods. Requires the orchestrion runtime hook or

packages/server-utils/src/integrations/tracing-channel/anthropic.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import { DEBUG_BUILD } from '../../debug-build';
2020
import { CHANNELS } from '../../orchestrion/channels';
2121
import { bindTracingChannelToSpan } from '../../tracing-channel';
2222

23-
// Same name as the OTel integration by design: when enabled, the OTel 'Anthropic_AI'
24-
// integration is dropped from the default set (see the Node opt-in loader).
23+
// Same name as the OTel integration by design, so the OTel 'Anthropic_AI'
24+
// integration is deduplicated out of the default set.
2525
const INTEGRATION_NAME = 'Anthropic_AI' as const;
2626

2727
// Distinct from the proxy's `auto.ai.anthropic` so spans from the orchestrion path
@@ -176,7 +176,7 @@ function wrapStreamResult(
176176
}
177177

178178
/**
179-
* EXPERIMENTAL — orchestrion-driven Anthropic integration. Subscribes to the `orchestrion:@anthropic-ai/sdk:*`
179+
* Orchestrion-driven Anthropic integration. Subscribes to the `orchestrion:@anthropic-ai/sdk:*`
180180
* diagnostics_channels injected into the SDK's chat (`messages`/`completions`/beta `messages`), `models`, and
181181
* `messages.stream()` methods, so it requires the orchestrion runtime hook or bundler plugin.
182182
*/

packages/server-utils/src/integrations/tracing-channel/aws-sdk/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const _awsIntegration = (() => {
249249
}) satisfies IntegrationFn;
250250

251251
/**
252-
* EXPERIMENTAL — orchestrion-driven aws-sdk (v3) integration.
252+
* Orchestrion-driven aws-sdk (v3) integration.
253253
*
254254
* Subscribes to the `orchestrion:@smithy/smithy-client:send` (and equivalent) diagnostics_channel
255255
* the orchestrion code transform injects into the AWS SDK's smithy `Client.prototype.send`, emitting

packages/server-utils/src/integrations/tracing-channel/dataloader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function startInactiveSpanFor(loader: DataLoaderInstance | undefined, operation:
182182
}
183183

184184
/**
185-
* EXPERIMENTAL: orchestrion-driven `dataloader` integration.
185+
* Orchestrion-driven `dataloader` integration.
186186
*
187187
* Subscribes to the `orchestrion:dataloader:*` diagnostics_channels that the orchestrion code
188188
* transform injects into `dataloader`'s constructor and prototype methods. Requires the orchestrion

packages/server-utils/src/integrations/tracing-channel/express/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const _expressIntegration = ((options: ExpressIntegrationOptions = {}) => {
2525
}) satisfies IntegrationFn;
2626

2727
/**
28-
* EXPERIMENTAL — orchestrion-driven Express integration.
28+
* Orchestrion-driven Express integration.
2929
*
3030
* Subscribes to the `orchestrion:express:handle` (Express v4) and
3131
* `orchestrion:router:handle` (Express v5, via the `router` package)
@@ -34,7 +34,6 @@ const _expressIntegration = ((options: ExpressIntegrationOptions = {}) => {
3434
* `handleRequest`). One span is opened per layer invocation — producing the
3535
* same spans as the OTel Express instrumentation.
3636
*
37-
* Requires the orchestrion runtime hook or bundler plugin to be active — wire
38-
* that up via `experimentalUseDiagnosticsChannelInjection()`.
37+
* Requires the orchestrion runtime hook or bundler plugin to be active.
3938
*/
4039
export const expressIntegration = defineIntegration(_expressIntegration);

packages/server-utils/src/integrations/tracing-channel/firebase/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const _firebaseIntegration = (() => {
2222
}) satisfies IntegrationFn;
2323

2424
/**
25-
* EXPERIMENTAL — orchestrion-driven firebase integration.
25+
* Orchestrion-driven firebase integration.
2626
*
2727
* Subscribes to the `orchestrion:@firebase/firestore:*` and `orchestrion:firebase-functions:*`
2828
* diagnostics_channels the orchestrion code transform injects into firestore's `addDoc`/`getDocs`/

packages/server-utils/src/integrations/tracing-channel/generic-pool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const _genericPoolIntegration = (() => {
3232
}) satisfies IntegrationFn;
3333

3434
/**
35-
* EXPERIMENTAL — orchestrion-driven generic-pool integration. Subscribes to
35+
* Orchestrion-driven generic-pool integration. Subscribes to
3636
* `orchestrion:generic-pool:acquire` (injected into `generic-pool/lib/Pool.js`'s
3737
* `Pool.prototype.acquire`). Creates a `generic-pool.acquire` span for each
3838
* acquisition. Requires the orchestrion runtime hook or bundler plugin.

packages/server-utils/src/integrations/tracing-channel/google-genai.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import { DEBUG_BUILD } from '../../debug-build';
2121
import { CHANNELS } from '../../orchestrion/channels';
2222
import { bindTracingChannelToSpan } from '../../tracing-channel';
2323

24-
// Same name as the OTel integration by design: when enabled, the OTel 'Google_GenAI'
25-
// integration is dropped from the default set (see the Node opt-in loader).
24+
// Same name as the OTel integration by design, so the OTel 'Google_GenAI'
25+
// integration is deduplicated out of the default set.
2626
const INTEGRATION_NAME = 'Google_GenAI' as const;
2727

2828
// Distinct from the proxy's `auto.ai.google_genai` so spans from the orchestrion path
@@ -161,7 +161,7 @@ function wrapStreamResult(span: Span, data: GoogleGenAIChannelContext, options:
161161
}
162162

163163
/**
164-
* EXPERIMENTAL — orchestrion-driven Google GenAI integration. Subscribes to the
164+
* Orchestrion-driven Google GenAI integration. Subscribes to the
165165
* `orchestrion:@google/genai:*` diagnostics_channels injected into the SDK's `Models`
166166
* (`generateContent`/`generateContentStream`/`embedContent`) and `Chat`
167167
* (`sendMessage`/`sendMessageStream`) methods, so it requires the orchestrion runtime hook or

0 commit comments

Comments
 (0)