deno/src/sdk.ts:46 spreads ...getTracingIntegrations() unconditionally. Node and Bun both gate on hasSpansEnabled(options).
$ deno run -A nospans.mjs # no tracesSampleRate
tracing OFF -> integration count: 39
... Graphql,Mongo,Mongoose,Mysql,Mysql2,Redis,Postgres,Prisma,Tedious,
GenericPool,Kafka,Amqplib,LruMemoizer,Aws,LangChain,LangGraph,VercelAI,
OpenAI,Anthropic_AI,Google_GenAI,PostgresJs,Firebase,SpanStreaming
On Deno these also subscribe eagerly rather than waiting for the module-injected event (instrumentation.ts:101), so this is real work, not just a longer list.
Work item. Gate getTracingIntegrations() on hasSpansEnabled(options) to match Node and Bun. Confirm first that no Deno integration in that set is relied on for error capture only; if one is, move it to getErrorIntegrations.
**Prior art **(tracked). #22306 (closed) "Automatically pull in all Orchestrion integrations to Deno" is the deliberate decision that produced the unconditional spread. It asked for all server-utils integrations to be pulled in automatically; it did not discuss the hasSpansEnabled gate that Node and Bun apply, which looks like an oversight rather than a choice. No issue covers the gate.
deno/src/sdk.ts:46spreads...getTracingIntegrations()unconditionally. Node and Bun both gate onhasSpansEnabled(options).On Deno these also subscribe eagerly rather than waiting for the module-injected event (
instrumentation.ts:101), so this is real work, not just a longer list.Work item. Gate
getTracingIntegrations()onhasSpansEnabled(options)to match Node and Bun. Confirm first that no Deno integration in that set is relied on for error capture only; if one is, move it togetErrorIntegrations.**Prior art **(tracked). #22306 (closed) "Automatically pull in all Orchestrion integrations to Deno" is the deliberate decision that produced the unconditional spread. It asked for all server-utils integrations to be pulled in automatically; it did not discuss the
hasSpansEnabledgate that Node and Bun apply, which looks like an oversight rather than a choice. No issue covers the gate.