@sentry/node 10.62.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.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.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 +3 -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 +2 -4
- 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.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.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 +4 -4
- 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 +3 -5
- 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 +3 -1
- package/build/types/integrations/tracing/amqplib/index.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/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 -1
- 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 +3 -1
- 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/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 -1
- 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/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/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/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/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
|
@@ -16,5 +16,7 @@ export declare const instrumentMongo: ((options?: unknown) => MongoDBInstrumenta
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare const mongoIntegration: () => import("@sentry/core").Integration
|
|
19
|
+
export declare const mongoIntegration: () => import("@sentry/core").Integration & {
|
|
20
|
+
name: "Mongo";
|
|
21
|
+
};
|
|
20
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -16,5 +16,7 @@ export declare const instrumentMongoose: ((options?: unknown) => MongooseInstrum
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare const mongooseIntegration: () => import("@sentry/core").Integration
|
|
19
|
+
export declare const mongooseIntegration: () => import("@sentry/core").Integration & {
|
|
20
|
+
name: "Mongoose";
|
|
21
|
+
};
|
|
20
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -16,5 +16,7 @@ export declare const instrumentMysql: ((options?: unknown) => MySQLInstrumentati
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare const mysqlIntegration: () => import("@sentry/core").Integration
|
|
19
|
+
export declare const mysqlIntegration: () => import("@sentry/core").Integration & {
|
|
20
|
+
name: "Mysql";
|
|
21
|
+
};
|
|
20
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,28 +1,14 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
|
|
1
2
|
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
private _netSemconvStability;
|
|
5
|
-
private _dbSemconvStability;
|
|
6
|
-
private _connectionsUsageOld;
|
|
7
|
-
constructor(config?: MySQLInstrumentationConfig);
|
|
8
|
-
private _setSemconvStabilityFromEnv;
|
|
9
|
-
protected _updateMetricInstruments(): void;
|
|
10
|
-
/**
|
|
11
|
-
* Convenience function for updating the `db.client.connections.usage` metric.
|
|
12
|
-
* The name "count" comes from the eventually replacement for this metric per
|
|
13
|
-
* https://opentelemetry.io/docs/specs/semconv/non-normative/db-migration/#database-client-connection-count
|
|
14
|
-
*/
|
|
15
|
-
private _connCountAdd;
|
|
3
|
+
export declare class MySQLInstrumentation extends InstrumentationBase<InstrumentationConfig> {
|
|
4
|
+
constructor(config?: InstrumentationConfig);
|
|
16
5
|
protected init(): InstrumentationNodeModuleDefinition[];
|
|
17
6
|
private _patchCreateConnection;
|
|
18
7
|
private _patchCreatePool;
|
|
19
|
-
private _patchPoolEnd;
|
|
20
8
|
private _patchCreatePoolCluster;
|
|
21
|
-
private _patchAdd;
|
|
22
9
|
private _patchGetConnection;
|
|
23
10
|
private _getConnectionCallbackPatchFn;
|
|
24
11
|
private _patchQuery;
|
|
25
12
|
private _patchCallbackQuery;
|
|
26
|
-
private _setPoolCallbacks;
|
|
27
13
|
}
|
|
28
14
|
//# sourceMappingURL=instrumentation.d.ts.map
|
|
@@ -5,7 +5,7 @@ export interface MysqlError extends Error {
|
|
|
5
5
|
sql?: string;
|
|
6
6
|
sqlState?: string;
|
|
7
7
|
sqlMessage?: string;
|
|
8
|
-
[key: string]:
|
|
8
|
+
[key: string]: unknown;
|
|
9
9
|
}
|
|
10
10
|
export interface ConnectionConfig {
|
|
11
11
|
host?: string;
|
|
@@ -13,16 +13,16 @@ export interface ConnectionConfig {
|
|
|
13
13
|
database?: string;
|
|
14
14
|
user?: string;
|
|
15
15
|
password?: string;
|
|
16
|
-
[key: string]:
|
|
16
|
+
[key: string]: unknown;
|
|
17
17
|
}
|
|
18
18
|
export interface PoolConfig extends ConnectionConfig {
|
|
19
19
|
connectionConfig?: ConnectionConfig;
|
|
20
|
-
[key: string]:
|
|
20
|
+
[key: string]: unknown;
|
|
21
21
|
}
|
|
22
22
|
export interface QueryOptions {
|
|
23
23
|
sql: string;
|
|
24
|
-
values?:
|
|
25
|
-
[key: string]:
|
|
24
|
+
values?: unknown;
|
|
25
|
+
[key: string]: unknown;
|
|
26
26
|
}
|
|
27
27
|
export interface FieldInfo {
|
|
28
28
|
catalog: string;
|
|
@@ -34,35 +34,35 @@ export interface FieldInfo {
|
|
|
34
34
|
charsetNr: number;
|
|
35
35
|
length: number;
|
|
36
36
|
type: number;
|
|
37
|
-
[key: string]:
|
|
37
|
+
[key: string]: unknown;
|
|
38
38
|
}
|
|
39
|
-
export type queryCallback = (err: MysqlError | null, results?:
|
|
39
|
+
export type queryCallback = (err: MysqlError | null, results?: unknown, fields?: FieldInfo[]) => void;
|
|
40
40
|
export interface Query {
|
|
41
41
|
sql: string;
|
|
42
|
-
values?:
|
|
43
|
-
on(event: string, listener: (...args:
|
|
44
|
-
[key: string]:
|
|
42
|
+
values?: unknown;
|
|
43
|
+
on(event: string, listener: (...args: unknown[]) => void): this;
|
|
44
|
+
[key: string]: unknown;
|
|
45
45
|
}
|
|
46
46
|
export type QueryFunction = {
|
|
47
47
|
(query: string | QueryOptions, callback?: queryCallback): Query;
|
|
48
|
-
(query: string | QueryOptions, values?:
|
|
48
|
+
(query: string | QueryOptions, values?: unknown, callback?: queryCallback): Query;
|
|
49
49
|
};
|
|
50
50
|
export interface Connection {
|
|
51
51
|
config: ConnectionConfig;
|
|
52
52
|
query: QueryFunction;
|
|
53
|
-
[key: string]:
|
|
53
|
+
[key: string]: unknown;
|
|
54
54
|
}
|
|
55
55
|
export interface PoolConnection extends Connection {
|
|
56
56
|
release(): void;
|
|
57
|
-
[key: string]:
|
|
57
|
+
[key: string]: unknown;
|
|
58
58
|
}
|
|
59
59
|
export interface Pool {
|
|
60
60
|
config: PoolConfig;
|
|
61
61
|
query: QueryFunction;
|
|
62
62
|
getConnection(callback: (err: MysqlError, connection: PoolConnection) => void): void;
|
|
63
63
|
end(callback?: (err?: MysqlError) => void): void;
|
|
64
|
-
on(event: string, listener: (...args:
|
|
65
|
-
[key: string]:
|
|
64
|
+
on(event: string, listener: (...args: unknown[]) => void): this;
|
|
65
|
+
[key: string]: unknown;
|
|
66
66
|
}
|
|
67
67
|
export interface PoolCluster {
|
|
68
68
|
getConnection(callback: (err: MysqlError, connection: PoolConnection) => void): void;
|
|
@@ -70,7 +70,7 @@ export interface PoolCluster {
|
|
|
70
70
|
getConnection(pattern: string, selector: string, callback: (err: MysqlError, connection: PoolConnection) => void): void;
|
|
71
71
|
add(config: PoolConfig): void;
|
|
72
72
|
add(id: string, config: PoolConfig): void;
|
|
73
|
-
[key: string]:
|
|
73
|
+
[key: string]: unknown;
|
|
74
74
|
}
|
|
75
75
|
export declare function createConnection(connectionUri: string | ConnectionConfig): Connection;
|
|
76
76
|
export declare function createPool(config: string | PoolConfig): Pool;
|
|
@@ -77,12 +77,4 @@ export declare const ATTR_NET_PEER_PORT: "net.peer.port";
|
|
|
77
77
|
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
78
78
|
*/
|
|
79
79
|
export declare const DB_SYSTEM_VALUE_MYSQL: "mysql";
|
|
80
|
-
/**
|
|
81
|
-
* Deprecated, use `db.client.connection.count` instead.
|
|
82
|
-
*
|
|
83
|
-
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
|
84
|
-
*
|
|
85
|
-
* @deprecated Replaced by `db.client.connection.count`.
|
|
86
|
-
*/
|
|
87
|
-
export declare const METRIC_DB_CLIENT_CONNECTIONS_USAGE: "db.client.connections.usage";
|
|
88
80
|
//# sourceMappingURL=semconv.d.ts.map
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function getConfig(config:
|
|
3
|
-
host:
|
|
4
|
-
port:
|
|
5
|
-
database:
|
|
6
|
-
user:
|
|
1
|
+
import { ConnectionConfig, PoolConfig, Query, QueryOptions } from './mysql-types';
|
|
2
|
+
export declare function getConfig(config: ConnectionConfig | PoolConfig | undefined): {
|
|
3
|
+
host: string | undefined;
|
|
4
|
+
port: number | undefined;
|
|
5
|
+
database: string | undefined;
|
|
6
|
+
user: string | undefined;
|
|
7
7
|
};
|
|
8
8
|
export declare function getJDBCString(host: string | undefined, port: number | undefined, database: string | undefined): string;
|
|
9
9
|
/**
|
|
10
10
|
* @returns the database query being executed.
|
|
11
11
|
*/
|
|
12
12
|
export declare function getDbQueryText(query: string | Query | QueryOptions): string;
|
|
13
|
-
export declare function getDbValues(query: string | Query | QueryOptions, values?: any[]): string;
|
|
14
13
|
/**
|
|
15
14
|
* The span name SHOULD be set to a low cardinality value
|
|
16
15
|
* representing the statement executed on the database.
|
|
@@ -20,6 +19,4 @@ export declare function getDbValues(query: string | Query | QueryOptions, values
|
|
|
20
19
|
* @returns SQL statement without variable arguments or SQL verb
|
|
21
20
|
*/
|
|
22
21
|
export declare function getSpanName(query: string | Query | QueryOptions): string;
|
|
23
|
-
export declare function arrayStringifyHelper(arr: Array<unknown> | undefined): string;
|
|
24
|
-
export declare function getPoolNameOld(pool: Pool): string;
|
|
25
22
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -16,5 +16,7 @@ export declare const instrumentMysql2: ((options?: unknown) => MySQL2Instrumenta
|
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
|
-
export declare const mysql2Integration: () => import("@sentry/core").Integration
|
|
19
|
+
export declare const mysql2Integration: () => import("@sentry/core").Integration & {
|
|
20
|
+
name: "Mysql2";
|
|
21
|
+
};
|
|
20
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -56,5 +56,7 @@ export declare const instrumentOpenAi: ((options?: OpenAiOptions | undefined) =>
|
|
|
56
56
|
* ```
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
|
-
export declare const openAIIntegration: (options?: OpenAiOptions | undefined) => import("@sentry/core").Integration
|
|
59
|
+
export declare const openAIIntegration: (options?: OpenAiOptions | undefined) => import("@sentry/core").Integration & {
|
|
60
|
+
name: "OpenAI";
|
|
61
|
+
};
|
|
60
62
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -19,6 +19,8 @@ export declare const instrumentPostgres: ((options: PostgresIntegrationOptions |
|
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export declare const postgresIntegration: (options?: PostgresIntegrationOptions | undefined) => import("@sentry/core").Integration
|
|
22
|
+
export declare const postgresIntegration: (options?: PostgresIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
23
|
+
name: "Postgres";
|
|
24
|
+
};
|
|
23
25
|
export {};
|
|
24
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -96,6 +96,8 @@ export declare class PostgresJsInstrumentation extends InstrumentationBase<Postg
|
|
|
96
96
|
* });
|
|
97
97
|
* ```
|
|
98
98
|
*/
|
|
99
|
-
export declare const postgresJsIntegration: (options?: PostgresJsInstrumentationConfig | undefined) => import("@sentry/core").Integration
|
|
99
|
+
export declare const postgresJsIntegration: (options?: PostgresJsInstrumentationConfig | undefined) => import("@sentry/core").Integration & {
|
|
100
|
+
name: "PostgresJs";
|
|
101
|
+
};
|
|
100
102
|
export {};
|
|
101
103
|
//# sourceMappingURL=postgresjs.d.ts.map
|
|
@@ -17,26 +17,8 @@ export declare const instrumentPrisma: ((options?: PrismaOptions | undefined) =>
|
|
|
17
17
|
* Adds Sentry tracing instrumentation for the [prisma](https://www.npmjs.com/package/prisma) library.
|
|
18
18
|
* For more information, see the [`prismaIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/prisma/).
|
|
19
19
|
*
|
|
20
|
-
* NOTE:
|
|
21
|
-
*
|
|
22
|
-
* 1. Install the `@prisma/instrumentation` package with the desired version.
|
|
23
|
-
* 1. Pass a `new PrismaInstrumentation()` instance as exported from `@prisma/instrumentation` to the `prismaInstrumentation` option of this integration:
|
|
24
|
-
*
|
|
25
|
-
* ```js
|
|
26
|
-
* import { PrismaInstrumentation } from '@prisma/instrumentation'
|
|
27
|
-
*
|
|
28
|
-
* Sentry.init({
|
|
29
|
-
* integrations: [
|
|
30
|
-
* prismaIntegration({
|
|
31
|
-
* // Override the default instrumentation that Sentry uses
|
|
32
|
-
* prismaInstrumentation: new PrismaInstrumentation()
|
|
33
|
-
* })
|
|
34
|
-
* ]
|
|
35
|
-
* })
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* The passed instrumentation instance will override the default instrumentation instance the integration would use, while the `prismaIntegration` will still ensure data compatibility for the various Prisma versions.
|
|
39
|
-
* 1. Depending on your Prisma version (prior to version 6), add `previewFeatures = ["tracing"]` to the client generator block of your Prisma schema:
|
|
20
|
+
* NOTE: This integration works out of the box with Prisma v6, and v7.
|
|
21
|
+
* On Prisma versions prior to v6, add `previewFeatures = ["tracing"]` to the client generator block of your Prisma schema:
|
|
40
22
|
*
|
|
41
23
|
* ```
|
|
42
24
|
* generator client {
|
|
@@ -45,6 +27,8 @@ export declare const instrumentPrisma: ((options?: PrismaOptions | undefined) =>
|
|
|
45
27
|
* }
|
|
46
28
|
* ```
|
|
47
29
|
*/
|
|
48
|
-
export declare const prismaIntegration: (options?: PrismaOptions | undefined) => import("@sentry/core").Integration
|
|
30
|
+
export declare const prismaIntegration: (options?: PrismaOptions | undefined) => import("@sentry/core").Integration & {
|
|
31
|
+
name: "Prisma";
|
|
32
|
+
};
|
|
49
33
|
export {};
|
|
50
34
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Span } from '@sentry/core';
|
|
2
2
|
import { EngineSpan, ExtendedSpanOptions, SpanCallback, TracingHelper } from './types';
|
|
3
3
|
type Options = {
|
|
4
|
-
tracerProvider: TracerProvider;
|
|
5
4
|
ignoreSpanTypes: (string | RegExp)[];
|
|
6
5
|
};
|
|
7
6
|
export declare class ActiveTracingHelper implements TracingHelper {
|
|
8
|
-
private tracerProvider;
|
|
9
7
|
private ignoreSpanTypes;
|
|
10
|
-
constructor({
|
|
8
|
+
constructor({ ignoreSpanTypes }: Options);
|
|
11
9
|
isEnabled(): boolean;
|
|
12
|
-
getTraceParent(
|
|
10
|
+
getTraceParent(span?: Span): string;
|
|
13
11
|
dispatchEngineSpans(spans: EngineSpan[]): void;
|
|
14
|
-
getActiveContext():
|
|
15
|
-
runInChildSpan<R>(
|
|
12
|
+
getActiveContext(): Span | undefined;
|
|
13
|
+
runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;
|
|
16
14
|
}
|
|
17
15
|
export {};
|
|
18
16
|
//# sourceMappingURL=active-tracing-helper.d.ts.map
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { InstrumentationBase,
|
|
1
|
+
import { InstrumentationConfig } from '@opentelemetry/instrumentation';
|
|
2
|
+
import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';
|
|
3
3
|
export interface PrismaInstrumentationConfig {
|
|
4
4
|
ignoreSpanTypes?: (string | RegExp)[];
|
|
5
5
|
}
|
|
6
6
|
type Config = PrismaInstrumentationConfig & InstrumentationConfig;
|
|
7
7
|
export declare class PrismaInstrumentation extends InstrumentationBase {
|
|
8
|
-
private tracerProvider;
|
|
9
8
|
constructor(config?: Config);
|
|
10
|
-
setTracerProvider(tracerProvider: TracerProvider): void;
|
|
11
9
|
init(): InstrumentationNodeModuleDefinition[];
|
|
12
10
|
enable(): void;
|
|
13
11
|
disable(): void;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { SpanOptions } from '@opentelemetry/api';
|
|
2
|
+
import { Span } from '@sentry/core';
|
|
3
|
+
export type SpanCallback<R> = (span?: Span, parentSpan?: Span) => R;
|
|
3
4
|
export interface ExtendedSpanOptions extends SpanOptions {
|
|
4
5
|
/** The name of the span */
|
|
5
6
|
name: string;
|
|
6
7
|
internal?: boolean;
|
|
7
8
|
/** Whether it propagates context (?=true) */
|
|
8
9
|
active?: boolean;
|
|
9
|
-
/** The context to append the span to */
|
|
10
|
-
context?: Context;
|
|
11
10
|
}
|
|
12
11
|
export type EngineSpanId = string;
|
|
13
12
|
export type HrTime = [
|
|
@@ -25,28 +24,11 @@ export type EngineSpan = {
|
|
|
25
24
|
attributes?: Record<string, unknown>;
|
|
26
25
|
links?: EngineSpanId[];
|
|
27
26
|
};
|
|
28
|
-
export type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'query';
|
|
29
|
-
export interface EngineTraceEvent {
|
|
30
|
-
spanId: EngineSpanId;
|
|
31
|
-
target?: string;
|
|
32
|
-
level: LogLevel;
|
|
33
|
-
timestamp: HrTime;
|
|
34
|
-
attributes: Record<string, unknown> & {
|
|
35
|
-
message?: string;
|
|
36
|
-
query?: string;
|
|
37
|
-
duration_ms?: number;
|
|
38
|
-
params?: string;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export interface EngineTrace {
|
|
42
|
-
spans: EngineSpan[];
|
|
43
|
-
events: EngineTraceEvent[];
|
|
44
|
-
}
|
|
45
27
|
export interface TracingHelper {
|
|
46
28
|
isEnabled(): boolean;
|
|
47
|
-
getTraceParent(
|
|
29
|
+
getTraceParent(span?: Span): string;
|
|
48
30
|
dispatchEngineSpans(spans: EngineSpan[]): void;
|
|
49
|
-
getActiveContext():
|
|
31
|
+
getActiveContext(): Span | undefined;
|
|
50
32
|
runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;
|
|
51
33
|
}
|
|
52
34
|
export interface PrismaInstrumentationGlobalValue {
|
|
@@ -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
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
export declare const INTEGRATION_NAME
|
|
1
|
+
export declare const INTEGRATION_NAME: "VercelAI";
|
|
2
2
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -38,5 +38,7 @@ export declare const instrumentVercelAi: ((options?: unknown) => SentryVercelAiI
|
|
|
38
38
|
* experimental_telemetry: { isEnabled: true, recordInputs: true, recordOutputs: true },
|
|
39
39
|
* });
|
|
40
40
|
*/
|
|
41
|
-
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
|
+
};
|
|
42
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@ import { 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. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/node",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.63.0",
|
|
4
4
|
"description": "Sentry Node SDK using OpenTelemetry for performance instrumentation",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/node",
|
|
@@ -69,10 +69,11 @@
|
|
|
69
69
|
"@opentelemetry/instrumentation": "^0.214.0",
|
|
70
70
|
"@opentelemetry/sdk-trace-base": "^2.6.1",
|
|
71
71
|
"@opentelemetry/semantic-conventions": "^1.40.0",
|
|
72
|
-
"@sentry/
|
|
73
|
-
"@sentry/
|
|
74
|
-
"@sentry/
|
|
75
|
-
"@sentry/
|
|
72
|
+
"@sentry/conventions": "^0.12.0",
|
|
73
|
+
"@sentry/core": "10.63.0",
|
|
74
|
+
"@sentry/node-core": "10.63.0",
|
|
75
|
+
"@sentry/opentelemetry": "10.63.0",
|
|
76
|
+
"@sentry/server-utils": "10.63.0",
|
|
76
77
|
"import-in-the-middle": "^3.0.0"
|
|
77
78
|
},
|
|
78
79
|
"devDependencies": {
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
3
|
-
const ATTR_HTTP_REQUEST_METHOD = "http.request.method";
|
|
4
|
-
const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = "http.request.method_original";
|
|
5
|
-
const ATTR_HTTP_RESPONSE_STATUS_CODE = "http.response.status_code";
|
|
6
|
-
const ATTR_NETWORK_PEER_ADDRESS = "network.peer.address";
|
|
7
|
-
const ATTR_NETWORK_PEER_PORT = "network.peer.port";
|
|
8
|
-
const ATTR_SERVER_ADDRESS = "server.address";
|
|
9
|
-
const ATTR_SERVER_PORT = "server.port";
|
|
10
|
-
const ATTR_URL_FULL = "url.full";
|
|
11
|
-
const ATTR_URL_PATH = "url.path";
|
|
12
|
-
const ATTR_URL_QUERY = "url.query";
|
|
13
|
-
const ATTR_URL_SCHEME = "url.scheme";
|
|
14
|
-
const ATTR_USER_AGENT_ORIGINAL = "user_agent.original";
|
|
15
|
-
|
|
16
|
-
exports.ATTR_HTTP_REQUEST_METHOD = ATTR_HTTP_REQUEST_METHOD;
|
|
17
|
-
exports.ATTR_HTTP_REQUEST_METHOD_ORIGINAL = ATTR_HTTP_REQUEST_METHOD_ORIGINAL;
|
|
18
|
-
exports.ATTR_HTTP_RESPONSE_STATUS_CODE = ATTR_HTTP_RESPONSE_STATUS_CODE;
|
|
19
|
-
exports.ATTR_NETWORK_PEER_ADDRESS = ATTR_NETWORK_PEER_ADDRESS;
|
|
20
|
-
exports.ATTR_NETWORK_PEER_PORT = ATTR_NETWORK_PEER_PORT;
|
|
21
|
-
exports.ATTR_SERVER_ADDRESS = ATTR_SERVER_ADDRESS;
|
|
22
|
-
exports.ATTR_SERVER_PORT = ATTR_SERVER_PORT;
|
|
23
|
-
exports.ATTR_URL_FULL = ATTR_URL_FULL;
|
|
24
|
-
exports.ATTR_URL_PATH = ATTR_URL_PATH;
|
|
25
|
-
exports.ATTR_URL_QUERY = ATTR_URL_QUERY;
|
|
26
|
-
exports.ATTR_URL_SCHEME = ATTR_URL_SCHEME;
|
|
27
|
-
exports.ATTR_USER_AGENT_ORIGINAL = ATTR_USER_AGENT_ORIGINAL;
|
|
28
|
-
//# sourceMappingURL=semconv.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"semconv.js","sources":["../../../../../src/integrations/node-fetch/vendored/semconv.ts"],"sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n *\n * NOTICE from the Sentry authors:\n * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/ed97091c9890dd18e52759f2ea98e9d7593b3ae4/packages/instrumentation-undici\n * - Upstream version: @opentelemetry/instrumentation-undici@0.24.0\n * - The semantic-convention constants this package emits, inlined from\n * `@opentelemetry/semantic-conventions` (matching the sibling vendored dirs).\n */\n\nexport const ATTR_HTTP_REQUEST_METHOD = 'http.request.method' as const;\nexport const ATTR_HTTP_REQUEST_METHOD_ORIGINAL = 'http.request.method_original' as const;\nexport const ATTR_HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code' as const;\nexport const ATTR_NETWORK_PEER_ADDRESS = 'network.peer.address' as const;\nexport const ATTR_NETWORK_PEER_PORT = 'network.peer.port' as const;\nexport const ATTR_SERVER_ADDRESS = 'server.address' as const;\nexport const ATTR_SERVER_PORT = 'server.port' as const;\nexport const ATTR_URL_FULL = 'url.full' as const;\nexport const ATTR_URL_PATH = 'url.path' as const;\nexport const ATTR_URL_QUERY = 'url.query' as const;\nexport const ATTR_URL_SCHEME = 'url.scheme' as const;\nexport const ATTR_USER_AGENT_ORIGINAL = 'user_agent.original' as const;\n"],"names":[],"mappings":";;AAWO,MAAM,wBAAA,GAA2B;AACjC,MAAM,iCAAA,GAAoC;AAC1C,MAAM,8BAAA,GAAiC;AACvC,MAAM,yBAAA,GAA4B;AAClC,MAAM,sBAAA,GAAyB;AAC/B,MAAM,mBAAA,GAAsB;AAC5B,MAAM,gBAAA,GAAmB;AACzB,MAAM,aAAA,GAAgB;AACtB,MAAM,aAAA,GAAgB;AACtB,MAAM,cAAA,GAAiB;AACvB,MAAM,eAAA,GAAkB;AACxB,MAAM,wBAAA,GAA2B;;;;;;;;;;;;;;;"}
|