@sentry/node 10.61.0 → 10.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/integrations/featureFlagShims/launchDarkly.js.map +1 -1
- package/build/cjs/integrations/featureFlagShims/openFeature.js.map +1 -1
- package/build/cjs/integrations/featureFlagShims/statsig.js.map +1 -1
- package/build/cjs/integrations/featureFlagShims/unleash.js.map +1 -1
- package/build/cjs/integrations/fs/index.js.map +1 -1
- package/build/cjs/integrations/http.js.map +1 -1
- package/build/cjs/integrations/node-fetch/index.js +7 -49
- package/build/cjs/integrations/node-fetch/index.js.map +1 -1
- package/build/cjs/integrations/node-fetch/undici-instrumentation.js +266 -0
- package/build/cjs/integrations/node-fetch/undici-instrumentation.js.map +1 -0
- package/build/cjs/integrations/tracing/amqplib/index.js +2 -10
- package/build/cjs/integrations/tracing/amqplib/index.js.map +1 -1
- package/build/cjs/integrations/tracing/amqplib/vendored/instrumentation.js +117 -0
- package/build/cjs/integrations/tracing/amqplib/vendored/instrumentation.js.map +1 -0
- package/build/cjs/integrations/tracing/amqplib/vendored/patches.js +185 -0
- package/build/cjs/integrations/tracing/amqplib/vendored/patches.js.map +1 -0
- package/build/cjs/integrations/tracing/amqplib/vendored/semconv.js +21 -1
- package/build/cjs/integrations/tracing/amqplib/vendored/semconv.js.map +1 -1
- package/build/cjs/integrations/tracing/amqplib/vendored/types.js +0 -6
- package/build/cjs/integrations/tracing/amqplib/vendored/types.js.map +1 -1
- package/build/cjs/integrations/tracing/amqplib/vendored/utils.js +71 -80
- package/build/cjs/integrations/tracing/amqplib/vendored/utils.js.map +1 -1
- package/build/cjs/integrations/tracing/connect/index.js.map +1 -1
- package/build/cjs/integrations/tracing/dataloader/index.js.map +1 -1
- package/build/cjs/integrations/tracing/express.js.map +1 -1
- package/build/cjs/integrations/tracing/fastify/index.js +7 -103
- package/build/cjs/integrations/tracing/fastify/index.js.map +1 -1
- package/build/cjs/integrations/tracing/fastify/v3/instrumentation.js +2 -3
- package/build/cjs/integrations/tracing/fastify/v3/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing/firebase/firebase.js +1 -24
- package/build/cjs/integrations/tracing/firebase/firebase.js.map +1 -1
- package/build/cjs/integrations/tracing/firebase/otel/firebaseInstrumentation.js +3 -11
- package/build/cjs/integrations/tracing/firebase/otel/firebaseInstrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing/firebase/otel/patches/firestore.js +33 -72
- package/build/cjs/integrations/tracing/firebase/otel/patches/firestore.js.map +1 -1
- package/build/cjs/integrations/tracing/firebase/otel/patches/functions.js +46 -105
- package/build/cjs/integrations/tracing/firebase/otel/patches/functions.js.map +1 -1
- package/build/cjs/integrations/tracing/genericPool/index.js.map +1 -1
- package/build/cjs/integrations/tracing/graphql/index.js.map +1 -1
- package/build/cjs/integrations/tracing/hapi/index.js.map +1 -1
- package/build/cjs/integrations/tracing/hono/index.js.map +1 -1
- package/build/cjs/integrations/tracing/index.js +0 -1
- package/build/cjs/integrations/tracing/index.js.map +1 -1
- package/build/cjs/integrations/tracing/kafka/index.js.map +1 -1
- package/build/cjs/integrations/tracing/knex/index.js.map +1 -1
- package/build/cjs/integrations/tracing/koa/index.js.map +1 -1
- package/build/cjs/integrations/tracing/lrumemoizer/index.js.map +1 -1
- package/build/cjs/integrations/tracing/lrumemoizer/vendored/instrumentation.js +4 -2
- package/build/cjs/integrations/tracing/lrumemoizer/vendored/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing/mongo/index.js.map +1 -1
- package/build/cjs/integrations/tracing/mongoose/index.js.map +1 -1
- package/build/cjs/integrations/tracing/mysql/index.js.map +1 -1
- package/build/cjs/integrations/tracing/mysql/vendored/instrumentation.js +34 -128
- package/build/cjs/integrations/tracing/mysql/vendored/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing/mysql/vendored/semconv.js +0 -2
- package/build/cjs/integrations/tracing/mysql/vendored/semconv.js.map +1 -1
- package/build/cjs/integrations/tracing/mysql/vendored/utils.js +2 -27
- package/build/cjs/integrations/tracing/mysql/vendored/utils.js.map +1 -1
- package/build/cjs/integrations/tracing/mysql2/index.js.map +1 -1
- package/build/cjs/integrations/tracing/postgres/index.js.map +1 -1
- package/build/cjs/integrations/tracing/postgresjs.js.map +1 -1
- package/build/cjs/integrations/tracing/prisma/index.js +1 -10
- package/build/cjs/integrations/tracing/prisma/index.js.map +1 -1
- package/build/cjs/integrations/tracing/prisma/vendored/active-tracing-helper.js +83 -57
- package/build/cjs/integrations/tracing/prisma/vendored/active-tracing-helper.js.map +1 -1
- package/build/cjs/integrations/tracing/prisma/vendored/constants.js.map +1 -1
- package/build/cjs/integrations/tracing/prisma/vendored/global.js +2 -2
- package/build/cjs/integrations/tracing/prisma/vendored/global.js.map +1 -1
- package/build/cjs/integrations/tracing/prisma/vendored/instrumentation.js +1 -6
- package/build/cjs/integrations/tracing/prisma/vendored/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing/redis/index.js +5 -3
- package/build/cjs/integrations/tracing/redis/index.js.map +1 -1
- package/build/cjs/integrations/tracing/tedious/index.js.map +1 -1
- package/build/cjs/integrations/tracing/vercelai/constants.js.map +1 -1
- package/build/cjs/integrations/tracing/vercelai/index.js +4 -3
- package/build/cjs/integrations/tracing/vercelai/index.js.map +1 -1
- package/build/cjs/sdk/diagnosticsChannelInjection.js.map +1 -1
- package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js +8 -6
- package/build/cjs/sdk/experimentalUseDiagnosticsChannelInjection.js.map +1 -1
- package/build/esm/integrations/featureFlagShims/launchDarkly.js.map +1 -1
- package/build/esm/integrations/featureFlagShims/openFeature.js.map +1 -1
- package/build/esm/integrations/featureFlagShims/statsig.js.map +1 -1
- package/build/esm/integrations/featureFlagShims/unleash.js.map +1 -1
- package/build/esm/integrations/fs/index.js.map +1 -1
- package/build/esm/integrations/http.js.map +1 -1
- package/build/esm/integrations/node-fetch/index.js +9 -50
- package/build/esm/integrations/node-fetch/index.js.map +1 -1
- package/build/esm/integrations/node-fetch/undici-instrumentation.js +264 -0
- package/build/esm/integrations/node-fetch/undici-instrumentation.js.map +1 -0
- package/build/esm/integrations/tracing/amqplib/index.js +3 -11
- package/build/esm/integrations/tracing/amqplib/index.js.map +1 -1
- package/build/esm/integrations/tracing/amqplib/vendored/instrumentation.js +115 -0
- package/build/esm/integrations/tracing/amqplib/vendored/instrumentation.js.map +1 -0
- package/build/esm/integrations/tracing/amqplib/vendored/patches.js +177 -0
- package/build/esm/integrations/tracing/amqplib/vendored/patches.js.map +1 -0
- package/build/esm/integrations/tracing/amqplib/vendored/semconv.js +12 -2
- package/build/esm/integrations/tracing/amqplib/vendored/semconv.js.map +1 -1
- package/build/esm/integrations/tracing/amqplib/vendored/types.js +1 -6
- package/build/esm/integrations/tracing/amqplib/vendored/types.js.map +1 -1
- package/build/esm/integrations/tracing/amqplib/vendored/utils.js +68 -78
- package/build/esm/integrations/tracing/amqplib/vendored/utils.js.map +1 -1
- package/build/esm/integrations/tracing/connect/index.js.map +1 -1
- package/build/esm/integrations/tracing/dataloader/index.js.map +1 -1
- package/build/esm/integrations/tracing/express.js.map +1 -1
- package/build/esm/integrations/tracing/fastify/index.js +8 -103
- package/build/esm/integrations/tracing/fastify/index.js.map +1 -1
- package/build/esm/integrations/tracing/fastify/v3/instrumentation.js +3 -4
- package/build/esm/integrations/tracing/fastify/v3/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing/firebase/firebase.js +3 -26
- package/build/esm/integrations/tracing/firebase/firebase.js.map +1 -1
- package/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js +3 -11
- package/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js.map +1 -1
- package/build/esm/integrations/tracing/firebase/otel/patches/firestore.js +34 -73
- package/build/esm/integrations/tracing/firebase/otel/patches/firestore.js.map +1 -1
- package/build/esm/integrations/tracing/firebase/otel/patches/functions.js +47 -106
- package/build/esm/integrations/tracing/firebase/otel/patches/functions.js.map +1 -1
- package/build/esm/integrations/tracing/genericPool/index.js.map +1 -1
- package/build/esm/integrations/tracing/graphql/index.js.map +1 -1
- package/build/esm/integrations/tracing/hapi/index.js.map +1 -1
- package/build/esm/integrations/tracing/hono/index.js.map +1 -1
- package/build/esm/integrations/tracing/index.js +1 -2
- package/build/esm/integrations/tracing/index.js.map +1 -1
- package/build/esm/integrations/tracing/kafka/index.js.map +1 -1
- package/build/esm/integrations/tracing/knex/index.js.map +1 -1
- package/build/esm/integrations/tracing/koa/index.js.map +1 -1
- package/build/esm/integrations/tracing/lrumemoizer/index.js.map +1 -1
- package/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js +5 -3
- package/build/esm/integrations/tracing/lrumemoizer/vendored/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing/mongo/index.js.map +1 -1
- package/build/esm/integrations/tracing/mongoose/index.js.map +1 -1
- package/build/esm/integrations/tracing/mysql/index.js.map +1 -1
- package/build/esm/integrations/tracing/mysql/vendored/instrumentation.js +37 -131
- package/build/esm/integrations/tracing/mysql/vendored/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing/mysql/vendored/semconv.js +1 -2
- package/build/esm/integrations/tracing/mysql/vendored/semconv.js.map +1 -1
- package/build/esm/integrations/tracing/mysql/vendored/utils.js +3 -25
- package/build/esm/integrations/tracing/mysql/vendored/utils.js.map +1 -1
- package/build/esm/integrations/tracing/mysql2/index.js.map +1 -1
- package/build/esm/integrations/tracing/postgres/index.js.map +1 -1
- package/build/esm/integrations/tracing/postgresjs.js.map +1 -1
- package/build/esm/integrations/tracing/prisma/index.js +2 -11
- package/build/esm/integrations/tracing/prisma/index.js.map +1 -1
- package/build/esm/integrations/tracing/prisma/vendored/active-tracing-helper.js +83 -57
- package/build/esm/integrations/tracing/prisma/vendored/active-tracing-helper.js.map +1 -1
- package/build/esm/integrations/tracing/prisma/vendored/constants.js.map +1 -1
- package/build/esm/integrations/tracing/prisma/vendored/global.js +2 -2
- package/build/esm/integrations/tracing/prisma/vendored/global.js.map +1 -1
- package/build/esm/integrations/tracing/prisma/vendored/instrumentation.js +1 -6
- package/build/esm/integrations/tracing/prisma/vendored/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing/redis/index.js +7 -5
- package/build/esm/integrations/tracing/redis/index.js.map +1 -1
- package/build/esm/integrations/tracing/tedious/index.js.map +1 -1
- package/build/esm/integrations/tracing/vercelai/constants.js.map +1 -1
- package/build/esm/integrations/tracing/vercelai/index.js +5 -4
- package/build/esm/integrations/tracing/vercelai/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/sdk/diagnosticsChannelInjection.js.map +1 -1
- package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js +9 -7
- package/build/esm/sdk/experimentalUseDiagnosticsChannelInjection.js.map +1 -1
- package/build/types/integrations/featureFlagShims/launchDarkly.d.ts +3 -1
- package/build/types/integrations/featureFlagShims/launchDarkly.d.ts.map +1 -1
- package/build/types/integrations/featureFlagShims/openFeature.d.ts +3 -1
- package/build/types/integrations/featureFlagShims/openFeature.d.ts.map +1 -1
- package/build/types/integrations/featureFlagShims/statsig.d.ts +3 -1
- package/build/types/integrations/featureFlagShims/statsig.d.ts.map +1 -1
- package/build/types/integrations/featureFlagShims/unleash.d.ts +3 -1
- package/build/types/integrations/featureFlagShims/unleash.d.ts.map +1 -1
- package/build/types/integrations/fs/index.d.ts +3 -1
- package/build/types/integrations/fs/index.d.ts.map +1 -1
- package/build/types/integrations/http.d.ts +3 -1
- package/build/types/integrations/http.d.ts.map +1 -1
- package/build/types/integrations/node-fetch/index.d.ts +4 -35
- package/build/types/integrations/node-fetch/index.d.ts.map +1 -1
- package/build/types/integrations/node-fetch/types.d.ts +96 -0
- package/build/types/integrations/node-fetch/types.d.ts.map +1 -0
- package/build/types/integrations/node-fetch/undici-instrumentation.d.ts +14 -0
- package/build/types/integrations/node-fetch/undici-instrumentation.d.ts.map +1 -0
- package/build/types/integrations/tracing/amqplib/index.d.ts +4 -2
- package/build/types/integrations/tracing/amqplib/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/amqplib/vendored/instrumentation.d.ts +11 -0
- package/build/types/integrations/tracing/amqplib/vendored/instrumentation.d.ts.map +1 -0
- package/build/types/integrations/tracing/amqplib/vendored/patches.d.ts +11 -0
- package/build/types/integrations/tracing/amqplib/vendored/patches.d.ts.map +1 -0
- package/build/types/integrations/tracing/amqplib/vendored/semconv.d.ts +25 -37
- package/build/types/integrations/tracing/amqplib/vendored/semconv.d.ts.map +1 -1
- package/build/types/integrations/tracing/amqplib/vendored/types.d.ts +0 -81
- package/build/types/integrations/tracing/amqplib/vendored/types.d.ts.map +1 -1
- package/build/types/integrations/tracing/amqplib/vendored/utils.d.ts +16 -9
- package/build/types/integrations/tracing/amqplib/vendored/utils.d.ts.map +1 -1
- package/build/types/integrations/tracing/anthropic-ai/index.d.ts +3 -1
- package/build/types/integrations/tracing/anthropic-ai/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/connect/index.d.ts +3 -1
- package/build/types/integrations/tracing/connect/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/dataloader/index.d.ts +3 -1
- package/build/types/integrations/tracing/dataloader/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/express.d.ts +3 -1
- package/build/types/integrations/tracing/express.d.ts.map +1 -1
- package/build/types/integrations/tracing/fastify/index.d.ts +6 -6
- package/build/types/integrations/tracing/fastify/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/fastify/v3/instrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing/firebase/firebase.d.ts +3 -1
- package/build/types/integrations/tracing/firebase/firebase.d.ts.map +1 -1
- package/build/types/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts +4 -9
- package/build/types/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing/firebase/otel/patches/firestore.d.ts +2 -5
- package/build/types/integrations/tracing/firebase/otel/patches/firestore.d.ts.map +1 -1
- package/build/types/integrations/tracing/firebase/otel/patches/functions.d.ts +3 -8
- package/build/types/integrations/tracing/firebase/otel/patches/functions.d.ts.map +1 -1
- package/build/types/integrations/tracing/firebase/otel/types.d.ts +0 -20
- package/build/types/integrations/tracing/firebase/otel/types.d.ts.map +1 -1
- package/build/types/integrations/tracing/genericPool/index.d.ts +3 -1
- package/build/types/integrations/tracing/genericPool/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/google-genai/index.d.ts +3 -1
- package/build/types/integrations/tracing/google-genai/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/graphql/index.d.ts +3 -1
- package/build/types/integrations/tracing/graphql/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/hapi/index.d.ts +3 -1
- package/build/types/integrations/tracing/hapi/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/hono/index.d.ts +3 -1
- package/build/types/integrations/tracing/hono/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/kafka/index.d.ts +3 -1
- package/build/types/integrations/tracing/kafka/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/knex/index.d.ts +3 -1
- package/build/types/integrations/tracing/knex/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/koa/index.d.ts +3 -1
- package/build/types/integrations/tracing/koa/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/langchain/index.d.ts +3 -1
- package/build/types/integrations/tracing/langchain/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/langgraph/index.d.ts +3 -1
- package/build/types/integrations/tracing/langgraph/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/lrumemoizer/index.d.ts +3 -1
- package/build/types/integrations/tracing/lrumemoizer/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/lrumemoizer/vendored/instrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing/mongo/index.d.ts +3 -1
- package/build/types/integrations/tracing/mongo/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/mongoose/index.d.ts +3 -1
- package/build/types/integrations/tracing/mongoose/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/mysql/index.d.ts +3 -1
- package/build/types/integrations/tracing/mysql/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/mysql/vendored/instrumentation.d.ts +3 -17
- package/build/types/integrations/tracing/mysql/vendored/instrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing/mysql/vendored/mysql-types.d.ts +16 -16
- package/build/types/integrations/tracing/mysql/vendored/mysql-types.d.ts.map +1 -1
- package/build/types/integrations/tracing/mysql/vendored/semconv.d.ts +0 -8
- package/build/types/integrations/tracing/mysql/vendored/semconv.d.ts.map +1 -1
- package/build/types/integrations/tracing/mysql/vendored/utils.d.ts +6 -9
- package/build/types/integrations/tracing/mysql/vendored/utils.d.ts.map +1 -1
- package/build/types/integrations/tracing/mysql2/index.d.ts +3 -1
- package/build/types/integrations/tracing/mysql2/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/openai/index.d.ts +3 -1
- package/build/types/integrations/tracing/openai/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/postgres/index.d.ts +3 -1
- package/build/types/integrations/tracing/postgres/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/postgresjs.d.ts +3 -1
- package/build/types/integrations/tracing/postgresjs.d.ts.map +1 -1
- package/build/types/integrations/tracing/prisma/index.d.ts +5 -21
- package/build/types/integrations/tracing/prisma/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts +5 -7
- package/build/types/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts.map +1 -1
- package/build/types/integrations/tracing/prisma/vendored/constants.d.ts.map +1 -1
- package/build/types/integrations/tracing/prisma/vendored/global.d.ts.map +1 -1
- package/build/types/integrations/tracing/prisma/vendored/instrumentation.d.ts +2 -4
- package/build/types/integrations/tracing/prisma/vendored/instrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing/prisma/vendored/types.d.ts +5 -23
- package/build/types/integrations/tracing/prisma/vendored/types.d.ts.map +1 -1
- package/build/types/integrations/tracing/redis/index.d.ts +4 -2
- package/build/types/integrations/tracing/redis/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/tedious/index.d.ts +3 -1
- package/build/types/integrations/tracing/tedious/index.d.ts.map +1 -1
- package/build/types/integrations/tracing/vercelai/constants.d.ts +1 -1
- package/build/types/integrations/tracing/vercelai/constants.d.ts.map +1 -1
- package/build/types/integrations/tracing/vercelai/index.d.ts +3 -2
- package/build/types/integrations/tracing/vercelai/index.d.ts.map +1 -1
- package/build/types/sdk/diagnosticsChannelInjection.d.ts +1 -1
- package/build/types/sdk/diagnosticsChannelInjection.d.ts.map +1 -1
- package/build/types/sdk/experimentalUseDiagnosticsChannelInjection.d.ts.map +1 -1
- package/build/types-ts3.8/integrations/featureFlagShims/launchDarkly.d.ts +3 -1
- package/build/types-ts3.8/integrations/featureFlagShims/openFeature.d.ts +3 -1
- package/build/types-ts3.8/integrations/featureFlagShims/statsig.d.ts +3 -1
- package/build/types-ts3.8/integrations/featureFlagShims/unleash.d.ts +3 -1
- package/build/types-ts3.8/integrations/fs/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/http.d.ts +3 -1
- package/build/types-ts3.8/integrations/node-fetch/index.d.ts +4 -35
- package/build/types-ts3.8/integrations/node-fetch/types.d.ts +96 -0
- package/build/types-ts3.8/integrations/node-fetch/undici-instrumentation.d.ts +14 -0
- package/build/types-ts3.8/integrations/tracing/amqplib/index.d.ts +4 -2
- package/build/types-ts3.8/integrations/tracing/amqplib/vendored/instrumentation.d.ts +11 -0
- package/build/types-ts3.8/integrations/tracing/amqplib/vendored/patches.d.ts +11 -0
- package/build/types-ts3.8/integrations/tracing/amqplib/vendored/semconv.d.ts +25 -37
- package/build/types-ts3.8/integrations/tracing/amqplib/vendored/types.d.ts +0 -81
- package/build/types-ts3.8/integrations/tracing/amqplib/vendored/utils.d.ts +16 -9
- package/build/types-ts3.8/integrations/tracing/anthropic-ai/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/connect/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/dataloader/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/express.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/fastify/index.d.ts +6 -6
- package/build/types-ts3.8/integrations/tracing/firebase/firebase.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/firebase/otel/firebaseInstrumentation.d.ts +4 -9
- package/build/types-ts3.8/integrations/tracing/firebase/otel/patches/firestore.d.ts +2 -5
- package/build/types-ts3.8/integrations/tracing/firebase/otel/patches/functions.d.ts +3 -8
- package/build/types-ts3.8/integrations/tracing/firebase/otel/types.d.ts +0 -20
- package/build/types-ts3.8/integrations/tracing/genericPool/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/google-genai/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/graphql/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/hapi/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/hono/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/kafka/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/knex/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/koa/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/langchain/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/langgraph/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/lrumemoizer/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/mongo/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/mongoose/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/mysql/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/mysql/vendored/instrumentation.d.ts +3 -17
- package/build/types-ts3.8/integrations/tracing/mysql/vendored/mysql-types.d.ts +16 -16
- package/build/types-ts3.8/integrations/tracing/mysql/vendored/semconv.d.ts +0 -8
- package/build/types-ts3.8/integrations/tracing/mysql/vendored/utils.d.ts +6 -9
- package/build/types-ts3.8/integrations/tracing/mysql2/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/openai/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/postgres/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/postgresjs.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/prisma/index.d.ts +5 -21
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/active-tracing-helper.d.ts +5 -7
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/instrumentation.d.ts +2 -4
- package/build/types-ts3.8/integrations/tracing/prisma/vendored/types.d.ts +5 -23
- package/build/types-ts3.8/integrations/tracing/redis/index.d.ts +4 -2
- package/build/types-ts3.8/integrations/tracing/tedious/index.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing/vercelai/constants.d.ts +1 -1
- package/build/types-ts3.8/integrations/tracing/vercelai/index.d.ts +3 -2
- package/build/types-ts3.8/sdk/diagnosticsChannelInjection.d.ts +1 -1
- package/package.json +6 -5
- package/build/cjs/integrations/node-fetch/vendored/semconv.js +0 -28
- package/build/cjs/integrations/node-fetch/vendored/semconv.js.map +0 -1
- package/build/cjs/integrations/node-fetch/vendored/undici.js +0 -302
- package/build/cjs/integrations/node-fetch/vendored/undici.js.map +0 -1
- package/build/cjs/integrations/tracing/amqplib/vendored/amqplib.js +0 -452
- package/build/cjs/integrations/tracing/amqplib/vendored/amqplib.js.map +0 -1
- package/build/cjs/integrations/tracing/amqplib/vendored/semconv-obsolete.js +0 -24
- package/build/cjs/integrations/tracing/amqplib/vendored/semconv-obsolete.js.map +0 -1
- package/build/cjs/integrations/tracing/fastify/vendored/instrumentation.js +0 -387
- package/build/cjs/integrations/tracing/fastify/vendored/instrumentation.js.map +0 -1
- package/build/cjs/integrations/tracing/mysql/vendored/AttributeNames.js +0 -9
- package/build/cjs/integrations/tracing/mysql/vendored/AttributeNames.js.map +0 -1
- package/build/esm/integrations/node-fetch/vendored/semconv.js +0 -15
- package/build/esm/integrations/node-fetch/vendored/semconv.js.map +0 -1
- package/build/esm/integrations/node-fetch/vendored/undici.js +0 -300
- package/build/esm/integrations/node-fetch/vendored/undici.js.map +0 -1
- package/build/esm/integrations/tracing/amqplib/vendored/amqplib.js +0 -450
- package/build/esm/integrations/tracing/amqplib/vendored/amqplib.js.map +0 -1
- package/build/esm/integrations/tracing/amqplib/vendored/semconv-obsolete.js +0 -13
- package/build/esm/integrations/tracing/amqplib/vendored/semconv-obsolete.js.map +0 -1
- package/build/esm/integrations/tracing/fastify/vendored/instrumentation.js +0 -385
- package/build/esm/integrations/tracing/fastify/vendored/instrumentation.js.map +0 -1
- package/build/esm/integrations/tracing/mysql/vendored/AttributeNames.js +0 -7
- package/build/esm/integrations/tracing/mysql/vendored/AttributeNames.js.map +0 -1
- package/build/types/integrations/node-fetch/vendored/internal-types.d.ts +0 -25
- package/build/types/integrations/node-fetch/vendored/internal-types.d.ts.map +0 -1
- package/build/types/integrations/node-fetch/vendored/semconv.d.ts +0 -13
- package/build/types/integrations/node-fetch/vendored/semconv.d.ts.map +0 -1
- package/build/types/integrations/node-fetch/vendored/types.d.ts +0 -60
- package/build/types/integrations/node-fetch/vendored/types.d.ts.map +0 -1
- package/build/types/integrations/node-fetch/vendored/undici.d.ts +0 -21
- package/build/types/integrations/node-fetch/vendored/undici.d.ts.map +0 -1
- package/build/types/integrations/tracing/amqplib/vendored/amqplib.d.ts +0 -26
- package/build/types/integrations/tracing/amqplib/vendored/amqplib.d.ts.map +0 -1
- package/build/types/integrations/tracing/amqplib/vendored/semconv-obsolete.d.ts +0 -63
- package/build/types/integrations/tracing/amqplib/vendored/semconv-obsolete.d.ts.map +0 -1
- package/build/types/integrations/tracing/fastify/vendored/instrumentation.d.ts +0 -27
- package/build/types/integrations/tracing/fastify/vendored/instrumentation.d.ts.map +0 -1
- package/build/types/integrations/tracing/mysql/vendored/AttributeNames.d.ts +0 -4
- package/build/types/integrations/tracing/mysql/vendored/AttributeNames.d.ts.map +0 -1
- package/build/types/integrations/tracing/mysql/vendored/types.d.ts +0 -9
- package/build/types/integrations/tracing/mysql/vendored/types.d.ts.map +0 -1
- package/build/types-ts3.8/integrations/node-fetch/vendored/internal-types.d.ts +0 -25
- package/build/types-ts3.8/integrations/node-fetch/vendored/semconv.d.ts +0 -13
- package/build/types-ts3.8/integrations/node-fetch/vendored/types.d.ts +0 -60
- package/build/types-ts3.8/integrations/node-fetch/vendored/undici.d.ts +0 -21
- package/build/types-ts3.8/integrations/tracing/amqplib/vendored/amqplib.d.ts +0 -26
- package/build/types-ts3.8/integrations/tracing/amqplib/vendored/semconv-obsolete.d.ts +0 -63
- package/build/types-ts3.8/integrations/tracing/fastify/vendored/instrumentation.d.ts +0 -27
- package/build/types-ts3.8/integrations/tracing/mysql/vendored/AttributeNames.d.ts +0 -4
- package/build/types-ts3.8/integrations/tracing/mysql/vendored/types.d.ts +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/prisma/vendored/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/tracing/prisma/vendored/types.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,CAAC,EAAE,IAAI,KAAK,CAAC,CAAC;AAEpE,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,2BAA2B;IAC3B,IAAI,EAAE,MAAM,CAAC;IAEb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAElC,MAAM,MAAM,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEtC,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,UAAU,CAAC;AAEnD,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,YAAY,CAAC;IACjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,cAAc,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,YAAY,EAAE,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,aAAa;IAC5B,SAAS,IAAI,OAAO,CAAC;IACrB,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACpC,mBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC;IAC/C,gBAAgB,IAAI,IAAI,GAAG,SAAS,CAAC;IACrC,cAAc,CAAC,CAAC,EAAE,aAAa,EAAE,MAAM,GAAG,mBAAmB,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CAC9F;AAED,MAAM,WAAW,gCAAgC;IAC/C,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB"}
|
|
@@ -22,7 +22,7 @@ export declare const cacheResponseHook: IORedisResponseCustomAttributeFunction;
|
|
|
22
22
|
* ("Redis"), all the instrumentations are generated in this one function
|
|
23
23
|
*/
|
|
24
24
|
export declare const instrumentRedis: (() => void) & {
|
|
25
|
-
id:
|
|
25
|
+
id: "Redis";
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
28
28
|
* Adds Sentry tracing instrumentation for the [redis](https://www.npmjs.com/package/redis) and
|
|
@@ -39,6 +39,8 @@ export declare const instrumentRedis: (() => void) & {
|
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
41
|
*/
|
|
42
|
-
export declare const redisIntegration: (options?: RedisOptions | undefined) => import("@sentry/core").Integration
|
|
42
|
+
export declare const redisIntegration: (options?: RedisOptions | undefined) => import("@sentry/core").Integration & {
|
|
43
|
+
name: "Redis";
|
|
44
|
+
};
|
|
43
45
|
export {};
|
|
44
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/redis/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/redis/index.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,kBAAkB,CAAC;AAI/E,UAAU,YAAY;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAKD,eAAO,IAAI,aAAa,EAAE,YAAiB,CAAC;AAG5C,eAAO,MAAM,iBAAiB,EAAE,sCAoD/B,CAAC;AAcF;;;GAGG;AACH,eAAO,MAAM,eAAe,SACtB,IAAI;;CAmBT,CAAC;AAYF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;CAAuC,CAAC"}
|
|
@@ -16,5 +16,7 @@ export declare const instrumentTedious: ((options?: unknown) => TediousInstrumen
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare const tediousIntegration: () => import("@sentry/core").Integration
|
|
19
|
+
export declare const tediousIntegration: () => import("@sentry/core").Integration & {
|
|
20
|
+
name: "Tedious";
|
|
21
|
+
};
|
|
20
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/tedious/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAOpE,eAAO,MAAM,iBAAiB;;CAAiF,CAAC;AAWhH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/tedious/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAOpE,eAAO,MAAM,iBAAiB;;CAAiF,CAAC;AAWhH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,kBAAkB;;CAAyC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const INTEGRATION_NAME
|
|
1
|
+
export declare const INTEGRATION_NAME: "VercelAI";
|
|
2
2
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/vercelai/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/vercelai/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,UAAmB,CAAC"}
|
|
@@ -5,7 +5,6 @@ export declare const instrumentVercelAi: ((options?: unknown) => SentryVercelAiI
|
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* Adds Sentry tracing instrumentation for the [ai](https://www.npmjs.com/package/ai) library.
|
|
8
|
-
* This integration is not enabled by default, you need to manually add it.
|
|
9
8
|
*
|
|
10
9
|
* For more information, see the [`ai` documentation](https://sdk.vercel.ai/docs/ai-sdk-core/telemetry).
|
|
11
10
|
*
|
|
@@ -39,5 +38,7 @@ export declare const instrumentVercelAi: ((options?: unknown) => SentryVercelAiI
|
|
|
39
38
|
* experimental_telemetry: { isEnabled: true, recordInputs: true, recordOutputs: true },
|
|
40
39
|
* });
|
|
41
40
|
*/
|
|
42
|
-
export declare const vercelAIIntegration: (options?: VercelAiOptions | undefined) => import("@sentry/core").Integration
|
|
41
|
+
export declare const vercelAIIntegration: (options?: VercelAiOptions | undefined) => import("@sentry/core").Integration & {
|
|
42
|
+
name: "VercelAI";
|
|
43
|
+
};
|
|
43
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/vercelai/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing/vercelai/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,kBAAkB;;CAAwF,CAAC;AAmCxH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,eAAO,MAAM,mBAAmB;;CAA0C,CAAC"}
|
|
@@ -13,7 +13,7 @@ import type { Integration } from '@sentry/core';
|
|
|
13
13
|
*/
|
|
14
14
|
export interface DiagnosticsChannelInjection {
|
|
15
15
|
/** Channel-based integrations to register, replacing their OTel equivalents. */
|
|
16
|
-
integrations: Integration[];
|
|
16
|
+
integrations: Integration[] | readonly Integration[];
|
|
17
17
|
/** OTel integration names these replace; filtered out of the default set. */
|
|
18
18
|
replacedOtelIntegrationNames: string[];
|
|
19
19
|
/** Installs the module hooks that inject the diagnostics channels. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diagnosticsChannelInjection.d.ts","sourceRoot":"","sources":["../../../src/sdk/diagnosticsChannelInjection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,2BAA2B;IAC1C,gFAAgF;IAChF,YAAY,EAAE,WAAW,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"diagnosticsChannelInjection.d.ts","sourceRoot":"","sources":["../../../src/sdk/diagnosticsChannelInjection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,2BAA2B;IAC1C,gFAAgF;IAChF,YAAY,EAAE,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,CAAC;IACrD,6EAA6E;IAC7E,4BAA4B,EAAE,MAAM,EAAE,CAAC;IACvC,sEAAsE;IACtE,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,qEAAqE;IACrE,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAKD;;;;;;GAMG;AACH,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,MAAM,2BAA2B,GAAG,IAAI,CAElG;AAED,yEAAyE;AACzE,wBAAgB,oCAAoC,IAAI,OAAO,CAE9D;AAED;;;;;GAKG;AACH,wBAAgB,kCAAkC,IAAI,2BAA2B,GAAG,SAAS,CAK5F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimentalUseDiagnosticsChannelInjection.d.ts","sourceRoot":"","sources":["../../../src/sdk/experimentalUseDiagnosticsChannelInjection.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"experimentalUseDiagnosticsChannelInjection.d.ts","sourceRoot":"","sources":["../../../src/sdk/experimentalUseDiagnosticsChannelInjection.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,0CAA0C,IAAI,IAAI,CAYjE"}
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This is a shim for the LaunchDarkly integration.
|
|
3
3
|
* We need this in order to not throw runtime errors when accidentally importing this on the server through a meta framework like Next.js.
|
|
4
4
|
*/
|
|
5
|
-
export declare const launchDarklyIntegrationShim: (_options?: unknown) => import("@sentry/core").Integration
|
|
5
|
+
export declare const launchDarklyIntegrationShim: (_options?: unknown) => import("@sentry/core").Integration & {
|
|
6
|
+
name: "LaunchDarkly";
|
|
7
|
+
};
|
|
6
8
|
/**
|
|
7
9
|
* This is a shim for the LaunchDarkly flag used handler.
|
|
8
10
|
*/
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This is a shim for the OpenFeature integration.
|
|
3
3
|
* We need this in order to not throw runtime errors when accidentally importing this on the server through a meta framework like Next.js.
|
|
4
4
|
*/
|
|
5
|
-
export declare const openFeatureIntegrationShim: (_options?: unknown) => import("@sentry/core").Integration
|
|
5
|
+
export declare const openFeatureIntegrationShim: (_options?: unknown) => import("@sentry/core").Integration & {
|
|
6
|
+
name: "OpenFeature";
|
|
7
|
+
};
|
|
6
8
|
/**
|
|
7
9
|
* This is a shim for the OpenFeature integration hook.
|
|
8
10
|
*/
|
|
@@ -2,5 +2,7 @@
|
|
|
2
2
|
* This is a shim for the Statsig integration.
|
|
3
3
|
* We need this in order to not throw runtime errors when accidentally importing this on the server through a meta framework like Next.js.
|
|
4
4
|
*/
|
|
5
|
-
export declare const statsigIntegrationShim: (_options?: unknown) => import("@sentry/core").Integration
|
|
5
|
+
export declare const statsigIntegrationShim: (_options?: unknown) => import("@sentry/core").Integration & {
|
|
6
|
+
name: "Statsig";
|
|
7
|
+
};
|
|
6
8
|
//# sourceMappingURL=statsig.d.ts.map
|
|
@@ -2,5 +2,7 @@
|
|
|
2
2
|
* This is a shim for the Unleash integration.
|
|
3
3
|
* We need this in order to not throw runtime errors when accidentally importing this on the server through a meta framework like Next.js.
|
|
4
4
|
*/
|
|
5
|
-
export declare const unleashIntegrationShim: (_options?: unknown) => import("@sentry/core").Integration
|
|
5
|
+
export declare const unleashIntegrationShim: (_options?: unknown) => import("@sentry/core").Integration & {
|
|
6
|
+
name: "Unleash";
|
|
7
|
+
};
|
|
6
8
|
//# sourceMappingURL=unleash.d.ts.map
|
|
@@ -8,5 +8,7 @@ import { FsInstrumentationConfig } from './vendored/types';
|
|
|
8
8
|
*
|
|
9
9
|
* @param options Configuration for this integration.
|
|
10
10
|
*/
|
|
11
|
-
export declare const fsIntegration: (options?: FsInstrumentationConfig | undefined) => import("@sentry/core").Integration
|
|
11
|
+
export declare const fsIntegration: (options?: FsInstrumentationConfig | undefined) => import("@sentry/core").Integration & {
|
|
12
|
+
name: "FileSystem";
|
|
13
|
+
};
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -127,6 +127,8 @@ export declare const instrumentSentryHttp: ((options?: SentryHttpInstrumentation
|
|
|
127
127
|
* The http integration instruments Node's internal http and https modules.
|
|
128
128
|
* It creates breadcrumbs and spans for outgoing HTTP requests which will be attached to the currently active span.
|
|
129
129
|
*/
|
|
130
|
-
export declare const httpIntegration: (options?: HttpOptions | undefined) => import("@sentry/core").Integration
|
|
130
|
+
export declare const httpIntegration: (options?: HttpOptions | undefined) => import("@sentry/core").Integration & {
|
|
131
|
+
name: "Http";
|
|
132
|
+
};
|
|
131
133
|
export {};
|
|
132
134
|
//# sourceMappingURL=http.d.ts.map
|
|
@@ -1,36 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* Defaults to true
|
|
6
|
-
*/
|
|
7
|
-
breadcrumbs?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* If set to false, do not emit any spans.
|
|
10
|
-
* This will ensure that the default UndiciInstrumentation from OpenTelemetry is not setup,
|
|
11
|
-
* only the Sentry-specific instrumentation for breadcrumbs & trace propagation is applied.
|
|
12
|
-
*
|
|
13
|
-
* If `skipOpenTelemetrySetup: true` is configured, this defaults to `false`, otherwise it defaults to `true`.
|
|
14
|
-
*/
|
|
15
|
-
spans?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Whether to inject trace propagation headers (sentry-trace, baggage, traceparent) into outgoing fetch requests.
|
|
18
|
-
*
|
|
19
|
-
* When set to `false`, Sentry will not inject any trace propagation headers, but will still create breadcrumbs
|
|
20
|
-
* (if `breadcrumbs` is enabled). This is useful when `skipOpenTelemetrySetup: true` is configured and you want
|
|
21
|
-
* to avoid duplicate trace headers being injected by both Sentry and OpenTelemetry's UndiciInstrumentation.
|
|
22
|
-
*
|
|
23
|
-
* @default `true`
|
|
24
|
-
*/
|
|
25
|
-
tracePropagation?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Do not capture spans or breadcrumbs for outgoing fetch requests to URLs where the given callback returns `true`.
|
|
28
|
-
* This controls both span & breadcrumb creation - spans will be non recording if tracing is disabled.
|
|
29
|
-
*/
|
|
30
|
-
ignoreOutgoingRequests?: (url: string) => boolean;
|
|
31
|
-
}
|
|
32
|
-
export declare const nativeNodeFetchIntegration: (options?: NodeFetchOptions | undefined) => import("@sentry/core").Integration;
|
|
33
|
-
/** Exported only for tests. */
|
|
34
|
-
export declare function _getConfigWithDefaults(options?: Partial<NodeFetchOptions>): UndiciInstrumentationConfig;
|
|
35
|
-
export {};
|
|
1
|
+
import { NodeFetchOptions } from './types';
|
|
2
|
+
export declare const nativeNodeFetchIntegration: (options?: NodeFetchOptions | undefined) => import("@sentry/core").Integration & {
|
|
3
|
+
name: "NodeFetch";
|
|
4
|
+
};
|
|
36
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { Span } from '@sentry/core';
|
|
2
|
+
export interface UndiciRequest {
|
|
3
|
+
origin: string;
|
|
4
|
+
method: string;
|
|
5
|
+
path: string;
|
|
6
|
+
/**
|
|
7
|
+
* Serialized string of headers in the form `name: value\r\n` for v5
|
|
8
|
+
* Array of strings `[key1, value1, key2, value2]`, where values are
|
|
9
|
+
* `string | string[]` for v6
|
|
10
|
+
*/
|
|
11
|
+
headers: string | (string | string[])[];
|
|
12
|
+
/**
|
|
13
|
+
* Helper method to add headers (from v6)
|
|
14
|
+
*/
|
|
15
|
+
addHeader: (name: string, value: string) => void;
|
|
16
|
+
throwOnError: boolean;
|
|
17
|
+
completed: boolean;
|
|
18
|
+
aborted: boolean;
|
|
19
|
+
idempotent: boolean;
|
|
20
|
+
contentLength: number | null;
|
|
21
|
+
contentType: string | null;
|
|
22
|
+
body: any;
|
|
23
|
+
}
|
|
24
|
+
export interface UndiciResponse {
|
|
25
|
+
headers: Buffer[];
|
|
26
|
+
statusCode: number;
|
|
27
|
+
statusText: string;
|
|
28
|
+
}
|
|
29
|
+
export interface RequestHookFunction<T = UndiciRequest> {
|
|
30
|
+
(span: Span, request: T): void;
|
|
31
|
+
}
|
|
32
|
+
export interface ResponseHookFunction<RequestType = UndiciRequest, ResponseType = UndiciResponse> {
|
|
33
|
+
(span: Span, info: {
|
|
34
|
+
request: RequestType;
|
|
35
|
+
response: ResponseType;
|
|
36
|
+
}): void;
|
|
37
|
+
}
|
|
38
|
+
export interface RequestMessage {
|
|
39
|
+
request: UndiciRequest;
|
|
40
|
+
}
|
|
41
|
+
export interface RequestHeadersMessage {
|
|
42
|
+
request: UndiciRequest;
|
|
43
|
+
socket: any;
|
|
44
|
+
}
|
|
45
|
+
export interface ResponseHeadersMessage {
|
|
46
|
+
request: UndiciRequest;
|
|
47
|
+
response: UndiciResponse;
|
|
48
|
+
}
|
|
49
|
+
export interface RequestTrailersMessage {
|
|
50
|
+
request: UndiciRequest;
|
|
51
|
+
response: UndiciResponse;
|
|
52
|
+
}
|
|
53
|
+
export interface RequestErrorMessage {
|
|
54
|
+
request: UndiciRequest;
|
|
55
|
+
error: Error;
|
|
56
|
+
}
|
|
57
|
+
export interface UndiciInstrumentationConfig<RequestType = UndiciRequest, ResponseType = UndiciResponse> {
|
|
58
|
+
/**
|
|
59
|
+
* Do not capture spans or breadcrumbs for outgoing fetch requests to URLs where the given callback returns `true`.
|
|
60
|
+
* This controls both span & breadcrumb creation - spans will be non recording if tracing is disabled.
|
|
61
|
+
*/
|
|
62
|
+
ignoreOutgoingRequests?: (url: string) => boolean;
|
|
63
|
+
/** Function for adding custom attributes before request is handled */
|
|
64
|
+
requestHook?: RequestHookFunction<RequestType>;
|
|
65
|
+
/** Function called once response headers have been received */
|
|
66
|
+
responseHook?: ResponseHookFunction<RequestType, ResponseType>;
|
|
67
|
+
/** Map the following HTTP headers to span attributes. */
|
|
68
|
+
headersToSpanAttributes?: {
|
|
69
|
+
requestHeaders?: string[];
|
|
70
|
+
responseHeaders?: string[];
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export interface NodeFetchOptions extends UndiciInstrumentationConfig {
|
|
74
|
+
/**
|
|
75
|
+
* Whether breadcrumbs should be recorded for requests.
|
|
76
|
+
*
|
|
77
|
+
* @default `true`
|
|
78
|
+
*/
|
|
79
|
+
breadcrumbs?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* If set to false, do not emit any spans.
|
|
82
|
+
* This will ensure that the default UndiciInstrumentation from OpenTelemetry is not setup,
|
|
83
|
+
* only the Sentry-specific instrumentation for breadcrumbs & trace propagation is applied.
|
|
84
|
+
*
|
|
85
|
+
* If `skipOpenTelemetrySetup: true` is configured, this defaults to `false`, otherwise it defaults to `true`.
|
|
86
|
+
*/
|
|
87
|
+
spans?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* This option only has an effect when `spans` is set to false. When spans are enabled, you cannot disable trace propagation here.
|
|
90
|
+
* Instead, configure `tracePropagationTargets` in the client options.
|
|
91
|
+
*
|
|
92
|
+
* @default `true`
|
|
93
|
+
*/
|
|
94
|
+
tracePropagation?: boolean;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { UndiciInstrumentationConfig } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Instrument outgoing HTTP requests made through `undici` or the global `fetch` API: emit `http.client`
|
|
4
|
+
* spans and propagate traces into the outgoing request headers.
|
|
5
|
+
*
|
|
6
|
+
* undici reports its request lifecycle via `diagnostics_channel`, so rather than patching any module we
|
|
7
|
+
* subscribe to those channels directly. This is idempotent — subsequent calls are no-ops once the
|
|
8
|
+
* channels have been subscribed to, and the config of the first call wins.
|
|
9
|
+
*
|
|
10
|
+
* A combination of https://github.com/elastic/apm-agent-nodejs and
|
|
11
|
+
* https://github.com/gadget-inc/opentelemetry-instrumentations/blob/main/packages/opentelemetry-instrumentation-undici/src/index.ts
|
|
12
|
+
*/
|
|
13
|
+
export declare function instrumentUndici(config?: UndiciInstrumentationConfig): void;
|
|
14
|
+
//# sourceMappingURL=undici-instrumentation.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AmqplibInstrumentation } from './vendored/
|
|
1
|
+
import { AmqplibInstrumentation } from './vendored/instrumentation';
|
|
2
2
|
export declare const instrumentAmqplib: ((options?: unknown) => AmqplibInstrumentation) & {
|
|
3
3
|
id: string;
|
|
4
4
|
};
|
|
@@ -16,5 +16,7 @@ export declare const instrumentAmqplib: ((options?: unknown) => AmqplibInstrumen
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare const amqplibIntegration: () => import("@sentry/core").Integration
|
|
19
|
+
export declare const amqplibIntegration: () => import("@sentry/core").Integration & {
|
|
20
|
+
name: "Amqplib";
|
|
21
|
+
};
|
|
20
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
|
|
2
|
+
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
|
|
3
|
+
export declare class AmqplibInstrumentation extends InstrumentationBase<InstrumentationConfig> {
|
|
4
|
+
constructor(config?: InstrumentationConfig);
|
|
5
|
+
protected init(): InstrumentationNodeModuleDefinition;
|
|
6
|
+
private patchConnect;
|
|
7
|
+
private unpatchConnect;
|
|
8
|
+
private patchChannelModel;
|
|
9
|
+
private unpatchChannelModel;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=instrumentation.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Connection, Options, Replies } from './amqplib-types';
|
|
2
|
+
import { EndOperation, ConsumeMessage, Message } from './types';
|
|
3
|
+
import { InstrumentationConsumeChannel, InstrumentationPublishChannel } from './utils';
|
|
4
|
+
export declare function getConnectPatch(original: (url: string | Options.Connect, socketOptions: any, openCallback: (err: any, connection: Connection) => void) => Connection): (this: unknown, url: string | Options.Connect, socketOptions: any, openCallback: Function) => Connection;
|
|
5
|
+
export declare function getChannelEmitPatch(original: Function): (this: InstrumentationConsumeChannel, eventName: string) => void;
|
|
6
|
+
export declare function getAckAllPatch(isRejected: boolean, endOperation: EndOperation): (original: Function) => (this: InstrumentationConsumeChannel, requeueOrEmpty?: boolean) => void;
|
|
7
|
+
export declare function getAckPatch(isRejected: boolean, endOperation: EndOperation): (original: Function) => (this: InstrumentationConsumeChannel, message: Message, allUpToOrRequeue?: boolean, requeue?: boolean) => void;
|
|
8
|
+
export declare function getConsumePatch(original: Function): (this: InstrumentationConsumeChannel, queue: string, onMessage: (msg: ConsumeMessage | null) => void, options?: Options.Consume) => Promise<Replies.Consume>;
|
|
9
|
+
export declare function getConfirmedPublishPatch(original: Function): (this: InstrumentationPublishChannel, exchange: string, routingKey: string, content: Buffer, options?: Options.Publish, callback?: (err: any, ok: Replies.Empty) => void) => boolean;
|
|
10
|
+
export declare function getPublishPatch(original: Function): (this: InstrumentationPublishChannel, exchange: string, routingKey: string, content: Buffer, options?: Options.Publish) => boolean;
|
|
11
|
+
//# sourceMappingURL=patches.d.ts.map
|
|
@@ -1,41 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Deprecated, use `messaging.operation.type` instead.
|
|
3
|
-
*
|
|
4
|
-
* @example publish
|
|
5
|
-
* @example create
|
|
6
|
-
* @example process
|
|
7
|
-
*
|
|
8
|
-
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
9
|
-
*
|
|
10
|
-
* @deprecated Replaced by `messaging.operation.type`.
|
|
11
|
-
*/
|
|
12
|
-
export declare const ATTR_MESSAGING_OPERATION: "messaging.operation";
|
|
13
|
-
/**
|
|
14
|
-
* The messaging system as identified by the client instrumentation.
|
|
15
|
-
*
|
|
16
|
-
* @note The actual messaging system may differ from the one known by the client. For example, when using Kafka client libraries to communicate with Azure Event Hubs, the `messaging.system` is set to `kafka` based on the instrumentation's best knowledge.
|
|
17
|
-
*
|
|
18
|
-
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
19
|
-
*/
|
|
1
|
+
/** The messaging system as identified by the client instrumentation, e.g. `rabbitmq`. */
|
|
20
2
|
export declare const ATTR_MESSAGING_SYSTEM: "messaging.system";
|
|
21
|
-
/**
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
* @example example.com
|
|
25
|
-
*
|
|
26
|
-
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
27
|
-
*
|
|
28
|
-
* @deprecated Replaced by `server.address` on client spans and `client.address` on server spans.
|
|
29
|
-
*/
|
|
3
|
+
/** A string identifying the kind of message consumption. */
|
|
4
|
+
export declare const ATTR_MESSAGING_OPERATION: "messaging.operation";
|
|
5
|
+
/** Host name of the message broker. */
|
|
30
6
|
export declare const ATTR_NET_PEER_NAME: "net.peer.name";
|
|
31
|
-
/**
|
|
32
|
-
* Deprecated, use `server.port` on client spans and `client.port` on server spans.
|
|
33
|
-
*
|
|
34
|
-
* @example 8080
|
|
35
|
-
*
|
|
36
|
-
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
37
|
-
*
|
|
38
|
-
* @deprecated Replaced by `server.port` on client spans and `client.port` on server spans.
|
|
39
|
-
*/
|
|
7
|
+
/** Port of the message broker. */
|
|
40
8
|
export declare const ATTR_NET_PEER_PORT: "net.peer.port";
|
|
9
|
+
/** The message destination name (the exchange for amqplib). */
|
|
10
|
+
export declare const ATTR_MESSAGING_DESTINATION: "messaging.destination";
|
|
11
|
+
/** The kind of message destination. */
|
|
12
|
+
export declare const ATTR_MESSAGING_DESTINATION_KIND: "messaging.destination_kind";
|
|
13
|
+
/** RabbitMQ message routing key. */
|
|
14
|
+
export declare const ATTR_MESSAGING_RABBITMQ_ROUTING_KEY: "messaging.rabbitmq.routing_key";
|
|
15
|
+
/** The name of the transport protocol. */
|
|
16
|
+
export declare const ATTR_MESSAGING_PROTOCOL: "messaging.protocol";
|
|
17
|
+
/** The version of the transport protocol. */
|
|
18
|
+
export declare const ATTR_MESSAGING_PROTOCOL_VERSION: "messaging.protocol_version";
|
|
19
|
+
/** Connection string. */
|
|
20
|
+
export declare const ATTR_MESSAGING_URL: "messaging.url";
|
|
21
|
+
/** A value used by the messaging system as an identifier for the message, represented as a string. */
|
|
22
|
+
export declare const OLD_ATTR_MESSAGING_MESSAGE_ID: "messaging.message_id";
|
|
23
|
+
/** The conversation ID (a.k.a. correlation ID) identifying the conversation the message belongs to. */
|
|
24
|
+
export declare const ATTR_MESSAGING_CONVERSATION_ID: "messaging.conversation_id";
|
|
25
|
+
/** Value for `messaging.destination_kind` when the destination is a topic. */
|
|
26
|
+
export declare const MESSAGING_DESTINATION_KIND_VALUE_TOPIC: "topic";
|
|
27
|
+
/** Value for `messaging.operation` when the message is being processed by a consumer. */
|
|
28
|
+
export declare const MESSAGING_OPERATION_VALUE_PROCESS: "process";
|
|
41
29
|
//# sourceMappingURL=semconv.d.ts.map
|
|
@@ -1,37 +1,3 @@
|
|
|
1
|
-
import { Span } from '@opentelemetry/api';
|
|
2
|
-
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
|
|
3
|
-
export interface PublishInfo {
|
|
4
|
-
moduleVersion: string | undefined;
|
|
5
|
-
exchange: string;
|
|
6
|
-
routingKey: string;
|
|
7
|
-
content: Buffer;
|
|
8
|
-
options?: AmqplibPublishOptions;
|
|
9
|
-
isConfirmChannel?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface PublishConfirmedInfo extends PublishInfo {
|
|
12
|
-
confirmError?: any;
|
|
13
|
-
}
|
|
14
|
-
export interface ConsumeInfo {
|
|
15
|
-
moduleVersion: string | undefined;
|
|
16
|
-
msg: ConsumeMessage;
|
|
17
|
-
}
|
|
18
|
-
export interface ConsumeEndInfo {
|
|
19
|
-
msg: ConsumeMessage;
|
|
20
|
-
rejected: boolean | null;
|
|
21
|
-
endOperation: EndOperation;
|
|
22
|
-
}
|
|
23
|
-
export interface AmqplibPublishCustomAttributeFunction {
|
|
24
|
-
(span: Span, publishInfo: PublishInfo): void;
|
|
25
|
-
}
|
|
26
|
-
export interface AmqplibPublishConfirmCustomAttributeFunction {
|
|
27
|
-
(span: Span, publishConfirmedInto: PublishConfirmedInfo): void;
|
|
28
|
-
}
|
|
29
|
-
export interface AmqplibConsumeCustomAttributeFunction {
|
|
30
|
-
(span: Span, consumeInfo: ConsumeInfo): void;
|
|
31
|
-
}
|
|
32
|
-
export interface AmqplibConsumeEndCustomAttributeFunction {
|
|
33
|
-
(span: Span, consumeEndInfo: ConsumeEndInfo): void;
|
|
34
|
-
}
|
|
35
1
|
export declare enum EndOperation {
|
|
36
2
|
AutoAck = "auto ack",
|
|
37
3
|
Ack = "ack",
|
|
@@ -43,53 +9,6 @@ export declare enum EndOperation {
|
|
|
43
9
|
ChannelError = "channel error",
|
|
44
10
|
InstrumentationTimeout = "instrumentation timeout"
|
|
45
11
|
}
|
|
46
|
-
export interface AmqplibInstrumentationConfig extends InstrumentationConfig {
|
|
47
|
-
/** hook for adding custom attributes before publish message is sent */
|
|
48
|
-
publishHook?: AmqplibPublishCustomAttributeFunction;
|
|
49
|
-
/** hook for adding custom attributes after publish message is confirmed by the broker */
|
|
50
|
-
publishConfirmHook?: AmqplibPublishConfirmCustomAttributeFunction;
|
|
51
|
-
/** hook for adding custom attributes before consumer message is processed */
|
|
52
|
-
consumeHook?: AmqplibConsumeCustomAttributeFunction;
|
|
53
|
-
/** hook for adding custom attributes after consumer message is acked to server */
|
|
54
|
-
consumeEndHook?: AmqplibConsumeEndCustomAttributeFunction;
|
|
55
|
-
/**
|
|
56
|
-
* When user is setting up consume callback, it is user's responsibility to call
|
|
57
|
-
* ack/nack etc on the msg to resolve it in the server.
|
|
58
|
-
* If user is not calling the ack, the message will stay in the queue until
|
|
59
|
-
* channel is closed, or until server timeout expires (if configured).
|
|
60
|
-
* While we wait for the ack, a reference to the message is stored in plugin, which
|
|
61
|
-
* will never be garbage collected.
|
|
62
|
-
* To prevent memory leak, plugin has it's own configuration of timeout, which
|
|
63
|
-
* will close the span if user did not call ack after this timeout.
|
|
64
|
-
* If timeout is not big enough, span might be closed with 'InstrumentationTimeout',
|
|
65
|
-
* and then received valid ack from the user later which will not be instrumented.
|
|
66
|
-
*
|
|
67
|
-
* Default is 1 minute
|
|
68
|
-
*/
|
|
69
|
-
consumeTimeoutMs?: number;
|
|
70
|
-
/** option to use a span link for the consume message instead of continuing a trace */
|
|
71
|
-
useLinksForConsume?: boolean;
|
|
72
|
-
}
|
|
73
|
-
export declare const DEFAULT_CONFIG: AmqplibInstrumentationConfig;
|
|
74
|
-
export interface AmqplibPublishOptions {
|
|
75
|
-
expiration?: string | number;
|
|
76
|
-
userId?: string;
|
|
77
|
-
CC?: string | string[];
|
|
78
|
-
mandatory?: boolean;
|
|
79
|
-
persistent?: boolean;
|
|
80
|
-
deliveryMode?: boolean | number;
|
|
81
|
-
BCC?: string | string[];
|
|
82
|
-
contentType?: string;
|
|
83
|
-
contentEncoding?: string;
|
|
84
|
-
headers?: any;
|
|
85
|
-
priority?: number;
|
|
86
|
-
correlationId?: string;
|
|
87
|
-
replyTo?: string;
|
|
88
|
-
messageId?: string;
|
|
89
|
-
timestamp?: number;
|
|
90
|
-
type?: string;
|
|
91
|
-
appId?: string;
|
|
92
|
-
}
|
|
93
12
|
export interface Message {
|
|
94
13
|
content: Buffer;
|
|
95
14
|
fields: MessageFields;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Connection, Channel, ConfirmChannel, Options } from './amqplib-types';
|
|
1
|
+
import { Span, SpanAttributes } from '@sentry/core';
|
|
2
|
+
import { Channel, ConfirmChannel, Connection, Options } from './amqplib-types';
|
|
4
3
|
import { ConsumeMessage, Message } from './types';
|
|
5
4
|
export declare const MESSAGE_STORED_SPAN: unique symbol;
|
|
6
5
|
export declare const CHANNEL_SPANS_NOT_ENDED: unique symbol;
|
|
7
6
|
export declare const CHANNEL_CONSUME_TIMEOUT_TIMER: unique symbol;
|
|
8
7
|
export declare const CONNECTION_ATTRIBUTES: unique symbol;
|
|
8
|
+
export declare const CHANNEL_IS_CONFIRM_PUBLISHING: unique symbol;
|
|
9
9
|
export type InstrumentationConnection = Connection & {
|
|
10
|
-
[CONNECTION_ATTRIBUTES]?:
|
|
10
|
+
[CONNECTION_ATTRIBUTES]?: SpanAttributes;
|
|
11
11
|
};
|
|
12
12
|
export type InstrumentationPublishChannel = (Channel | ConfirmChannel) & {
|
|
13
13
|
connection: InstrumentationConnection;
|
|
14
|
+
[CHANNEL_IS_CONFIRM_PUBLISHING]?: boolean;
|
|
14
15
|
};
|
|
15
16
|
export type InstrumentationConsumeChannel = Channel & {
|
|
16
17
|
connection: InstrumentationConnection;
|
|
@@ -27,9 +28,15 @@ export type InstrumentationConsumeMessage = ConsumeMessage & {
|
|
|
27
28
|
[MESSAGE_STORED_SPAN]?: Span;
|
|
28
29
|
};
|
|
29
30
|
export declare const normalizeExchange: (exchangeName: string) => string;
|
|
30
|
-
export declare const getConnectionAttributesFromServer: (conn: Connection) =>
|
|
31
|
-
export declare const getConnectionAttributesFromUrl: (url: string | Options.Connect
|
|
32
|
-
|
|
33
|
-
export declare
|
|
34
|
-
|
|
31
|
+
export declare const getConnectionAttributesFromServer: (conn: Connection) => SpanAttributes;
|
|
32
|
+
export declare const getConnectionAttributesFromUrl: (url: string | Options.Connect) => SpanAttributes;
|
|
33
|
+
/** Reads a propagation header value off an amqplib message as a string. */
|
|
34
|
+
export declare function getHeaderAsString(headers: Record<string, unknown> | undefined, key: string): string | undefined;
|
|
35
|
+
/** Starts an inactive producer span and propagates its trace into the publish `options.headers`. */
|
|
36
|
+
export declare function startPublishSpan(exchange: string, routingKey: string, channel: InstrumentationPublishChannel, options?: Options.Publish): {
|
|
37
|
+
span: Span;
|
|
38
|
+
modifiedOptions: Options.Publish;
|
|
39
|
+
};
|
|
40
|
+
/** Starts an inactive consumer (process) span carrying the amqplib messaging attributes. */
|
|
41
|
+
export declare function startConsumeSpan(queue: string, msg: InstrumentationConsumeMessage, channel: InstrumentationConsumeChannel): Span;
|
|
35
42
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -56,5 +56,7 @@ export declare const instrumentAnthropicAi: ((options?: AnthropicAiOptions | und
|
|
|
56
56
|
* ```
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
|
-
export declare const anthropicAIIntegration: (options?: AnthropicAiOptions | undefined) => import("@sentry/core").Integration
|
|
59
|
+
export declare const anthropicAIIntegration: (options?: AnthropicAiOptions | undefined) => import("@sentry/core").Integration & {
|
|
60
|
+
name: "Anthropic_AI";
|
|
61
|
+
};
|
|
60
62
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -21,7 +21,9 @@ export declare const instrumentConnect: ((options?: unknown) => ConnectInstrumen
|
|
|
21
21
|
* })
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
|
-
export declare const connectIntegration: () => import("@sentry/core").Integration
|
|
24
|
+
export declare const connectIntegration: () => import("@sentry/core").Integration & {
|
|
25
|
+
name: "Connect";
|
|
26
|
+
};
|
|
25
27
|
/**
|
|
26
28
|
* Add a Connect middleware to capture errors to Sentry.
|
|
27
29
|
*
|
|
@@ -16,5 +16,7 @@ export declare const instrumentDataloader: ((options?: unknown) => DataloaderIns
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare const dataloaderIntegration: () => import("@sentry/core").Integration
|
|
19
|
+
export declare const dataloaderIntegration: () => import("@sentry/core").Integration & {
|
|
20
|
+
name: "Dataloader";
|
|
21
|
+
};
|
|
20
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,5 +13,7 @@ export declare class ExpressInstrumentation extends InstrumentationBase<ExpressI
|
|
|
13
13
|
constructor(config?: ExpressInstrumentationConfig);
|
|
14
14
|
init(): InstrumentationNodeModuleDefinition;
|
|
15
15
|
}
|
|
16
|
-
export declare const expressIntegration: (options?: ExpressInstrumentationConfig | undefined) => import("@sentry/core").Integration
|
|
16
|
+
export declare const expressIntegration: (options?: ExpressInstrumentationConfig | undefined) => import("@sentry/core").Integration & {
|
|
17
|
+
name: "Express";
|
|
18
|
+
};
|
|
17
19
|
//# sourceMappingURL=express.d.ts.map
|