Skip to content

Commit d512d2d

Browse files
logaretmnodejs-github-bot
authored andcommitted
diagnostics_channel: mark TracingChannel as stable
Promotes the diagnostics_channel.tracingChannel() factory and the TracingChannel class from experimental to stable. TracingChannel has been available since v18.19.0 / v19.9.0 with an unchanged surface and now has broad adoption: fastify, pino, mysql2, redis, ioredis, mongoose, graphql, h3, srvx, and the Vercel AI SDK publish TracingChannel events natively, and it is consumed by OpenTelemetry, Sentry, Datadog, and New Relic. The last behavioral wart, tracePromise stripping custom thenables (#59936), was resolved in #61766. This mirrors the scoping in #45290: BoundedChannel, the bindStore / runStores store helpers, and the concrete built-in channels stay experimental. Signed-off-by: Abdelrahman Awad <abdelrahman.awad@sentry.io> PR-URL: #64525 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent b2b7405 commit d512d2d

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

doc/api/diagnostics_channel.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,13 @@ diagnostics_channel.unsubscribe('my-channel', onMessage);
237237
added:
238238
- v19.9.0
239239
- v18.19.0
240+
changes:
241+
- version: REPLACEME
242+
pr-url: https://github.com/nodejs/node/pull/64525
243+
description: Marked as stable.
240244
-->
241245

242-
> Stability: 1 - Experimental
246+
> Stability: 2 - Stable
243247
244248
* `nameOrChannels` {string|TracingChannel} Channel name or
245249
object containing all the [TracingChannel Channels][]
@@ -744,9 +748,13 @@ The scope must be used with the `using` syntax to ensure proper disposal.
744748
added:
745749
- v19.9.0
746750
- v18.19.0
751+
changes:
752+
- version: REPLACEME
753+
pr-url: https://github.com/nodejs/node/pull/64525
754+
description: Marked as stable.
747755
-->
748756

749-
> Stability: 1 - Experimental
757+
> Stability: 2 - Stable
750758
751759
The class `TracingChannel` is a collection of [TracingChannel Channels][] which
752760
together express a single traceable action. It is used to formalize and

0 commit comments

Comments
 (0)