@sentry/server-utils 10.66.0 → 10.68.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/index.js +7 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js +16 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/constants.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/index.js +154 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/index.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +46 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js +47 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +419 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js +131 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js +21 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js +64 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js +21 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +27 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js +63 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js +116 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +25 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js +30 -0
- package/build/cjs/integrations/tracing-channel/aws-sdk/utils.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/dataloader.js +17 -7
- package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/express/instrumentation.js +1 -6
- package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/index.js +2 -4
- package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/utils.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/firebase/firestore.js +78 -0
- package/build/cjs/integrations/tracing-channel/firebase/firestore.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/functions.js +67 -0
- package/build/cjs/integrations/tracing-channel/firebase/functions.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/index.js +24 -0
- package/build/cjs/integrations/tracing-channel/firebase/index.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js +66 -0
- package/build/cjs/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/koa.js +146 -0
- package/build/cjs/integrations/tracing-channel/koa.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/langchain.js +63 -0
- package/build/cjs/integrations/tracing-channel/langchain.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/langgraph.js +100 -0
- package/build/cjs/integrations/tracing-channel/langgraph.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/mongodb.js +104 -0
- package/build/cjs/integrations/tracing-channel/mongodb.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/mongoose.js +110 -0
- package/build/cjs/integrations/tracing-channel/mongoose.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/openai.js +1 -3
- package/build/cjs/integrations/tracing-channel/openai.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/redis.js +25 -34
- package/build/cjs/integrations/tracing-channel/redis.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/tedious.js +145 -0
- package/build/cjs/integrations/tracing-channel/tedious.js.map +1 -0
- package/build/cjs/mongodb/mongodb-span.js +133 -0
- package/build/cjs/mongodb/mongodb-span.js.map +1 -0
- package/build/cjs/mongoose/index.js.map +1 -1
- package/build/cjs/mongoose/mongoose-legacy-span.js +40 -0
- package/build/cjs/mongoose/mongoose-legacy-span.js.map +1 -0
- package/build/cjs/orchestrion/bundler/esbuild.js +28 -1
- package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/cjs/orchestrion/bundler/options.js +24 -1
- package/build/cjs/orchestrion/bundler/options.js.map +1 -1
- package/build/cjs/orchestrion/bundler/rollup.js +15 -1
- package/build/cjs/orchestrion/bundler/rollup.js.map +1 -1
- package/build/cjs/orchestrion/bundler/subscribeInjection.js +40 -0
- package/build/cjs/orchestrion/bundler/subscribeInjection.js.map +1 -0
- package/build/cjs/orchestrion/bundler/vite.js +18 -1
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack.js +39 -4
- package/build/cjs/orchestrion/bundler/webpack.js.map +1 -1
- package/build/cjs/orchestrion/channels.js +4 -4
- package/build/cjs/orchestrion/channels.js.map +1 -1
- package/build/cjs/orchestrion/config/amqplib.js +4 -0
- package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
- package/build/cjs/orchestrion/config/anthropic-ai.js +4 -0
- package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/cjs/orchestrion/config/aws-sdk.js +32 -0
- package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -0
- package/build/cjs/orchestrion/config/channel-integration-definitions.js +29 -0
- package/build/cjs/orchestrion/config/channel-integration-definitions.js.map +1 -0
- package/build/cjs/orchestrion/config/dataloader.js +4 -0
- package/build/cjs/orchestrion/config/dataloader.js.map +1 -1
- package/build/cjs/orchestrion/config/express.js +13 -8
- package/build/cjs/orchestrion/config/express.js.map +1 -1
- package/build/cjs/orchestrion/config/firebase.js +79 -2
- package/build/cjs/orchestrion/config/firebase.js.map +1 -1
- package/build/cjs/orchestrion/config/generic-pool.js +4 -0
- package/build/cjs/orchestrion/config/generic-pool.js.map +1 -1
- package/build/cjs/orchestrion/config/google-genai.js +4 -0
- package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
- package/build/cjs/orchestrion/config/graphql.js +4 -0
- package/build/cjs/orchestrion/config/graphql.js.map +1 -1
- package/build/cjs/orchestrion/config/hapi.js +4 -0
- package/build/cjs/orchestrion/config/hapi.js.map +1 -1
- package/build/cjs/orchestrion/config/index.js +42 -5
- package/build/cjs/orchestrion/config/index.js.map +1 -1
- package/build/cjs/orchestrion/config/ioredis.js +4 -0
- package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
- package/build/cjs/orchestrion/config/kafkajs.js +4 -0
- package/build/cjs/orchestrion/config/kafkajs.js.map +1 -1
- package/build/cjs/orchestrion/config/knex.js +4 -0
- package/build/cjs/orchestrion/config/knex.js.map +1 -1
- package/build/cjs/orchestrion/config/koa.js +20 -0
- package/build/cjs/orchestrion/config/koa.js.map +1 -0
- package/build/cjs/orchestrion/config/langchain.js +50 -2
- package/build/cjs/orchestrion/config/langchain.js.map +1 -1
- package/build/cjs/orchestrion/config/langgraph.js +26 -2
- package/build/cjs/orchestrion/config/langgraph.js.map +1 -1
- package/build/cjs/orchestrion/config/lru-memoizer.js +4 -0
- package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/cjs/orchestrion/config/mongodb.js +65 -2
- package/build/cjs/orchestrion/config/mongodb.js.map +1 -1
- package/build/cjs/orchestrion/config/mongoose.js +105 -2
- package/build/cjs/orchestrion/config/mongoose.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql.js +4 -0
- package/build/cjs/orchestrion/config/mysql.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql2.js +4 -0
- package/build/cjs/orchestrion/config/mysql2.js.map +1 -1
- package/build/cjs/orchestrion/config/nestjs.js +4 -0
- package/build/cjs/orchestrion/config/nestjs.js.map +1 -1
- package/build/cjs/orchestrion/config/openai.js +9 -5
- package/build/cjs/orchestrion/config/openai.js.map +1 -1
- package/build/cjs/orchestrion/config/pg.js +4 -0
- package/build/cjs/orchestrion/config/pg.js.map +1 -1
- package/build/cjs/orchestrion/config/postgres.js +4 -0
- package/build/cjs/orchestrion/config/postgres.js.map +1 -1
- package/build/cjs/orchestrion/config/redis.js +4 -0
- package/build/cjs/orchestrion/config/redis.js.map +1 -1
- package/build/cjs/orchestrion/config/remix.js +52 -2
- package/build/cjs/orchestrion/config/remix.js.map +1 -1
- package/build/cjs/orchestrion/config/subscribe-injection.js +25 -0
- package/build/cjs/orchestrion/config/subscribe-injection.js.map +1 -0
- package/build/cjs/orchestrion/config/tedious.js +22 -2
- package/build/cjs/orchestrion/config/tedious.js.map +1 -1
- package/build/cjs/orchestrion/config/vercel-ai.js +4 -0
- package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/cjs/orchestrion/index.js +37 -9
- package/build/cjs/orchestrion/index.js.map +1 -1
- package/build/cjs/orchestrion/registerChannelIntegration.js +13 -0
- package/build/cjs/orchestrion/registerChannelIntegration.js.map +1 -0
- package/build/cjs/orchestrion/runtime/register.js +25 -12
- package/build/cjs/orchestrion/runtime/register.js.map +1 -1
- package/build/cjs/redis/redis-dc-subscriber.js +27 -38
- package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
- package/build/cjs/vercel-ai/index.js.map +1 -1
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +16 -3
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
- package/build/esm/index.js +2 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/aws-sdk/constants.js +9 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/constants.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/index.js +152 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/index.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js +41 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/MessageAttributes.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js +45 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js +417 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js +129 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/dynamodb.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js +19 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/kinesis.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js +62 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/lambda.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js +19 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/s3.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js +25 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/secretsmanager.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js +61 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/sns.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js +114 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/sqs.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js +23 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/services/stepfunctions.js.map +1 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/utils.js +26 -0
- package/build/esm/integrations/tracing-channel/aws-sdk/utils.js.map +1 -0
- package/build/esm/integrations/tracing-channel/dataloader.js +17 -7
- package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -1
- package/build/esm/integrations/tracing-channel/express/instrumentation.js +1 -6
- package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/index.js +2 -4
- package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/fastify/utils.js.map +1 -1
- package/build/esm/integrations/tracing-channel/firebase/firestore.js +75 -0
- package/build/esm/integrations/tracing-channel/firebase/firestore.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/functions.js +65 -0
- package/build/esm/integrations/tracing-channel/firebase/functions.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/index.js +22 -0
- package/build/esm/integrations/tracing-channel/firebase/index.js.map +1 -0
- package/build/esm/integrations/tracing-channel/firebase/instrumentation.js +64 -0
- package/build/esm/integrations/tracing-channel/firebase/instrumentation.js.map +1 -0
- package/build/esm/integrations/tracing-channel/koa.js +144 -0
- package/build/esm/integrations/tracing-channel/koa.js.map +1 -0
- package/build/esm/integrations/tracing-channel/langchain.js +61 -0
- package/build/esm/integrations/tracing-channel/langchain.js.map +1 -0
- package/build/esm/integrations/tracing-channel/langgraph.js +98 -0
- package/build/esm/integrations/tracing-channel/langgraph.js.map +1 -0
- package/build/esm/integrations/tracing-channel/mongodb.js +102 -0
- package/build/esm/integrations/tracing-channel/mongodb.js.map +1 -0
- package/build/esm/integrations/tracing-channel/mongoose.js +108 -0
- package/build/esm/integrations/tracing-channel/mongoose.js.map +1 -0
- package/build/esm/integrations/tracing-channel/openai.js +1 -3
- package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
- package/build/esm/integrations/tracing-channel/redis.js +25 -34
- package/build/esm/integrations/tracing-channel/redis.js.map +1 -1
- package/build/esm/integrations/tracing-channel/tedious.js +143 -0
- package/build/esm/integrations/tracing-channel/tedious.js.map +1 -0
- package/build/esm/mongodb/mongodb-span.js +126 -0
- package/build/esm/mongodb/mongodb-span.js.map +1 -0
- package/build/esm/mongoose/index.js.map +1 -1
- package/build/esm/mongoose/mongoose-legacy-span.js +38 -0
- package/build/esm/mongoose/mongoose-legacy-span.js.map +1 -0
- package/build/esm/orchestrion/bundler/esbuild.js +25 -2
- package/build/esm/orchestrion/bundler/esbuild.js.map +1 -1
- package/build/esm/orchestrion/bundler/options.js +23 -2
- package/build/esm/orchestrion/bundler/options.js.map +1 -1
- package/build/esm/orchestrion/bundler/rollup.js +12 -2
- package/build/esm/orchestrion/bundler/rollup.js.map +1 -1
- package/build/esm/orchestrion/bundler/subscribeInjection.js +38 -0
- package/build/esm/orchestrion/bundler/subscribeInjection.js.map +1 -0
- package/build/esm/orchestrion/bundler/vite.js +14 -1
- package/build/esm/orchestrion/bundler/vite.js.map +1 -1
- package/build/esm/orchestrion/bundler/webpack.js +35 -5
- package/build/esm/orchestrion/bundler/webpack.js.map +1 -1
- package/build/esm/orchestrion/channels.js +4 -4
- package/build/esm/orchestrion/channels.js.map +1 -1
- package/build/esm/orchestrion/config/amqplib.js +4 -1
- package/build/esm/orchestrion/config/amqplib.js.map +1 -1
- package/build/esm/orchestrion/config/anthropic-ai.js +4 -1
- package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/esm/orchestrion/config/aws-sdk.js +28 -0
- package/build/esm/orchestrion/config/aws-sdk.js.map +1 -0
- package/build/esm/orchestrion/config/channel-integration-definitions.js +26 -0
- package/build/esm/orchestrion/config/channel-integration-definitions.js.map +1 -0
- package/build/esm/orchestrion/config/dataloader.js +4 -1
- package/build/esm/orchestrion/config/dataloader.js.map +1 -1
- package/build/esm/orchestrion/config/express.js +13 -9
- package/build/esm/orchestrion/config/express.js.map +1 -1
- package/build/esm/orchestrion/config/firebase.js +79 -3
- package/build/esm/orchestrion/config/firebase.js.map +1 -1
- package/build/esm/orchestrion/config/generic-pool.js +4 -1
- package/build/esm/orchestrion/config/generic-pool.js.map +1 -1
- package/build/esm/orchestrion/config/google-genai.js +4 -1
- package/build/esm/orchestrion/config/google-genai.js.map +1 -1
- package/build/esm/orchestrion/config/graphql.js +4 -1
- package/build/esm/orchestrion/config/graphql.js.map +1 -1
- package/build/esm/orchestrion/config/hapi.js +4 -1
- package/build/esm/orchestrion/config/hapi.js.map +1 -1
- package/build/esm/orchestrion/config/index.js +69 -33
- package/build/esm/orchestrion/config/index.js.map +1 -1
- package/build/esm/orchestrion/config/ioredis.js +4 -1
- package/build/esm/orchestrion/config/ioredis.js.map +1 -1
- package/build/esm/orchestrion/config/kafkajs.js +4 -1
- package/build/esm/orchestrion/config/kafkajs.js.map +1 -1
- package/build/esm/orchestrion/config/knex.js +4 -1
- package/build/esm/orchestrion/config/knex.js.map +1 -1
- package/build/esm/orchestrion/config/koa.js +16 -0
- package/build/esm/orchestrion/config/koa.js.map +1 -0
- package/build/esm/orchestrion/config/langchain.js +49 -3
- package/build/esm/orchestrion/config/langchain.js.map +1 -1
- package/build/esm/orchestrion/config/langgraph.js +26 -3
- package/build/esm/orchestrion/config/langgraph.js.map +1 -1
- package/build/esm/orchestrion/config/lru-memoizer.js +4 -1
- package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/esm/orchestrion/config/mongodb.js +65 -3
- package/build/esm/orchestrion/config/mongodb.js.map +1 -1
- package/build/esm/orchestrion/config/mongoose.js +104 -3
- package/build/esm/orchestrion/config/mongoose.js.map +1 -1
- package/build/esm/orchestrion/config/mysql.js +4 -1
- package/build/esm/orchestrion/config/mysql.js.map +1 -1
- package/build/esm/orchestrion/config/mysql2.js +4 -1
- package/build/esm/orchestrion/config/mysql2.js.map +1 -1
- package/build/esm/orchestrion/config/nestjs.js +4 -1
- package/build/esm/orchestrion/config/nestjs.js.map +1 -1
- package/build/esm/orchestrion/config/openai.js +9 -6
- package/build/esm/orchestrion/config/openai.js.map +1 -1
- package/build/esm/orchestrion/config/pg.js +4 -1
- package/build/esm/orchestrion/config/pg.js.map +1 -1
- package/build/esm/orchestrion/config/postgres.js +4 -1
- package/build/esm/orchestrion/config/postgres.js.map +1 -1
- package/build/esm/orchestrion/config/redis.js +4 -1
- package/build/esm/orchestrion/config/redis.js.map +1 -1
- package/build/esm/orchestrion/config/remix.js +52 -3
- package/build/esm/orchestrion/config/remix.js.map +1 -1
- package/build/esm/orchestrion/config/subscribe-injection.js +22 -0
- package/build/esm/orchestrion/config/subscribe-injection.js.map +1 -0
- package/build/esm/orchestrion/config/tedious.js +22 -3
- package/build/esm/orchestrion/config/tedious.js.map +1 -1
- package/build/esm/orchestrion/config/vercel-ai.js +4 -1
- package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/esm/orchestrion/index.js +20 -2
- package/build/esm/orchestrion/index.js.map +1 -1
- package/build/esm/orchestrion/registerChannelIntegration.js +11 -0
- package/build/esm/orchestrion/registerChannelIntegration.js.map +1 -0
- package/build/esm/orchestrion/runtime/register.js +25 -12
- package/build/esm/orchestrion/runtime/register.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/redis/redis-dc-subscriber.js +27 -38
- package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
- package/build/esm/vercel-ai/index.js.map +1 -1
- package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +17 -4
- package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -1
- package/build/types/index.d.ts +6 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +43 -0
- package/build/types/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts +15 -0
- package/build/types/integrations/tracing-channel/aws-sdk/constants.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts +15 -0
- package/build/types/integrations/tracing-channel/aws-sdk/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +23 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +9 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +10 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +14 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +8 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts +2 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +6 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +9 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/lambda.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts +6 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/s3.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +8 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts +9 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/sns.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +9 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/sqs.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +6 -0
- package/build/types/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts +26 -0
- package/build/types/integrations/tracing-channel/aws-sdk/types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts +5 -0
- package/build/types/integrations/tracing-channel/aws-sdk/utils.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/fastify/index.d.ts +2 -2
- package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/fastify/utils.d.ts +1 -1
- package/build/types/integrations/tracing-channel/fastify/utils.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
- package/build/types/integrations/tracing-channel/firebase/firestore-types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
- package/build/types/integrations/tracing-channel/firebase/firestore.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/functions.d.ts +15 -0
- package/build/types/integrations/tracing-channel/firebase/functions.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/index.d.ts +15 -0
- package/build/types/integrations/tracing-channel/firebase/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
- package/build/types/integrations/tracing-channel/firebase/instrumentation.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/koa.d.ts +14 -0
- package/build/types/integrations/tracing-channel/koa.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/langchain.d.ts +10 -0
- package/build/types/integrations/tracing-channel/langchain.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/langgraph.d.ts +10 -0
- package/build/types/integrations/tracing-channel/langgraph.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/mongodb.d.ts +12 -0
- package/build/types/integrations/tracing-channel/mongodb.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/mongoose.d.ts +15 -0
- package/build/types/integrations/tracing-channel/mongoose.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/tedious.d.ts +11 -0
- package/build/types/integrations/tracing-channel/tedious.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -5
- package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -1
- package/build/types/mongodb/mongodb-span.d.ts +66 -0
- package/build/types/mongodb/mongodb-span.d.ts.map +1 -0
- package/build/types/mongoose/index.d.ts +2 -0
- package/build/types/mongoose/index.d.ts.map +1 -1
- package/build/types/mongoose/mongoose-legacy-span.d.ts +29 -0
- package/build/types/mongoose/mongoose-legacy-span.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/esbuild.d.ts +2 -3
- package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/options.d.ts +47 -3
- package/build/types/orchestrion/bundler/options.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/subscribeInjection.d.ts +13 -0
- package/build/types/orchestrion/bundler/subscribeInjection.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/webpack.d.ts +10 -5
- package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -1
- package/build/types/orchestrion/channels.d.ts +51 -6
- package/build/types/orchestrion/channels.d.ts.map +1 -1
- package/build/types/orchestrion/config/amqplib.d.ts +2 -0
- package/build/types/orchestrion/config/amqplib.d.ts.map +1 -1
- package/build/types/orchestrion/config/anthropic-ai.d.ts +2 -0
- package/build/types/orchestrion/config/anthropic-ai.d.ts.map +1 -1
- package/build/types/orchestrion/config/aws-sdk.d.ts +21 -0
- package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -0
- package/build/types/orchestrion/config/channel-integration-definitions.d.ts +81 -0
- package/build/types/orchestrion/config/channel-integration-definitions.d.ts.map +1 -0
- package/build/types/orchestrion/config/dataloader.d.ts +2 -0
- package/build/types/orchestrion/config/dataloader.d.ts.map +1 -1
- package/build/types/orchestrion/config/express.d.ts +4 -4
- package/build/types/orchestrion/config/express.d.ts.map +1 -1
- package/build/types/orchestrion/config/firebase.d.ts +42 -3
- package/build/types/orchestrion/config/firebase.d.ts.map +1 -1
- package/build/types/orchestrion/config/generic-pool.d.ts +2 -0
- package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -1
- package/build/types/orchestrion/config/google-genai.d.ts +2 -0
- package/build/types/orchestrion/config/google-genai.d.ts.map +1 -1
- package/build/types/orchestrion/config/graphql.d.ts +2 -0
- package/build/types/orchestrion/config/graphql.d.ts.map +1 -1
- package/build/types/orchestrion/config/hapi.d.ts +2 -0
- package/build/types/orchestrion/config/hapi.d.ts.map +1 -1
- package/build/types/orchestrion/config/index.d.ts +13 -1
- package/build/types/orchestrion/config/index.d.ts.map +1 -1
- package/build/types/orchestrion/config/ioredis.d.ts +2 -1
- package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
- package/build/types/orchestrion/config/kafkajs.d.ts +2 -0
- package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -1
- package/build/types/orchestrion/config/knex.d.ts +2 -1
- package/build/types/orchestrion/config/knex.d.ts.map +1 -1
- package/build/types/orchestrion/config/koa.d.ts +19 -0
- package/build/types/orchestrion/config/koa.d.ts.map +1 -0
- package/build/types/orchestrion/config/langchain.d.ts +19 -3
- package/build/types/orchestrion/config/langchain.d.ts.map +1 -1
- package/build/types/orchestrion/config/langgraph.d.ts +22 -3
- package/build/types/orchestrion/config/langgraph.d.ts.map +1 -1
- package/build/types/orchestrion/config/lru-memoizer.d.ts +2 -0
- package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -1
- package/build/types/orchestrion/config/mongodb.d.ts +60 -3
- package/build/types/orchestrion/config/mongodb.d.ts.map +1 -1
- package/build/types/orchestrion/config/mongoose.d.ts +41 -3
- package/build/types/orchestrion/config/mongoose.d.ts.map +1 -1
- package/build/types/orchestrion/config/mysql.d.ts +2 -0
- package/build/types/orchestrion/config/mysql.d.ts.map +1 -1
- package/build/types/orchestrion/config/mysql2.d.ts +2 -0
- package/build/types/orchestrion/config/mysql2.d.ts.map +1 -1
- package/build/types/orchestrion/config/nestjs.d.ts +2 -1
- package/build/types/orchestrion/config/nestjs.d.ts.map +1 -1
- package/build/types/orchestrion/config/openai.d.ts +2 -2
- package/build/types/orchestrion/config/openai.d.ts.map +1 -1
- package/build/types/orchestrion/config/pg.d.ts +2 -0
- package/build/types/orchestrion/config/pg.d.ts.map +1 -1
- package/build/types/orchestrion/config/postgres.d.ts +2 -1
- package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
- package/build/types/orchestrion/config/redis.d.ts +2 -0
- package/build/types/orchestrion/config/redis.d.ts.map +1 -1
- package/build/types/orchestrion/config/remix.d.ts +8 -2
- package/build/types/orchestrion/config/remix.d.ts.map +1 -1
- package/build/types/orchestrion/config/subscribe-injection.d.ts +31 -0
- package/build/types/orchestrion/config/subscribe-injection.d.ts.map +1 -0
- package/build/types/orchestrion/config/tedious.d.ts +11 -2
- package/build/types/orchestrion/config/tedious.d.ts.map +1 -1
- package/build/types/orchestrion/config/vercel-ai.d.ts +2 -1
- package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
- package/build/types/orchestrion/index.d.ts +38 -6
- package/build/types/orchestrion/index.d.ts.map +1 -1
- package/build/types/orchestrion/registerChannelIntegration.d.ts +33 -0
- package/build/types/orchestrion/registerChannelIntegration.d.ts.map +1 -0
- package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
- package/build/types/vercel-ai/index.d.ts +2 -3
- package/build/types/vercel-ai/index.d.ts.map +1 -1
- package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -1
- package/build/types-ts3.8/index.d.ts +6 -2
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/aws-sdk.types.d.ts +43 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/constants.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/index.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/MessageAttributes.d.ts +23 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServiceExtension.d.ts +9 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/ServicesExtensions.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/bedrock-runtime.d.ts +14 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/dynamodb.d.ts +8 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/index.d.ts +2 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/kinesis.d.ts +6 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/lambda.d.ts +9 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/s3.d.ts +6 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/secretsmanager.d.ts +8 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sns.d.ts +9 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/sqs.d.ts +9 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/services/stepfunctions.d.ts +6 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/types.d.ts +26 -0
- package/build/types-ts3.8/integrations/tracing-channel/aws-sdk/utils.d.ts +5 -0
- package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +2 -2
- package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +1 -1
- package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore-types.d.ts +38 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/firestore.d.ts +18 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/functions.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/index.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/firebase/instrumentation.d.ts +2 -0
- package/build/types-ts3.8/integrations/tracing-channel/koa.d.ts +14 -0
- package/build/types-ts3.8/integrations/tracing-channel/langchain.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/langgraph.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/mongodb.d.ts +12 -0
- package/build/types-ts3.8/integrations/tracing-channel/mongoose.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +11 -0
- package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +1 -5
- package/build/types-ts3.8/mongodb/mongodb-span.d.ts +66 -0
- package/build/types-ts3.8/mongoose/index.d.ts +2 -0
- package/build/types-ts3.8/mongoose/mongoose-legacy-span.d.ts +29 -0
- package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +2 -3
- package/build/types-ts3.8/orchestrion/bundler/options.d.ts +47 -3
- package/build/types-ts3.8/orchestrion/bundler/subscribeInjection.d.ts +13 -0
- package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +10 -5
- package/build/types-ts3.8/orchestrion/channels.d.ts +51 -6
- package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +21 -0
- package/build/types-ts3.8/orchestrion/config/channel-integration-definitions.d.ts +139 -0
- package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/express.d.ts +4 -4
- package/build/types-ts3.8/orchestrion/config/firebase.d.ts +42 -3
- package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/google-genai.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/graphql.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/hapi.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/index.d.ts +13 -1
- package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +2 -1
- package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/knex.d.ts +2 -1
- package/build/types-ts3.8/orchestrion/config/koa.d.ts +19 -0
- package/build/types-ts3.8/orchestrion/config/langchain.d.ts +19 -3
- package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +22 -3
- package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +60 -3
- package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +41 -3
- package/build/types-ts3.8/orchestrion/config/mysql.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +2 -1
- package/build/types-ts3.8/orchestrion/config/openai.d.ts +2 -2
- package/build/types-ts3.8/orchestrion/config/pg.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/postgres.d.ts +2 -1
- package/build/types-ts3.8/orchestrion/config/redis.d.ts +2 -0
- package/build/types-ts3.8/orchestrion/config/remix.d.ts +8 -2
- package/build/types-ts3.8/orchestrion/config/subscribe-injection.d.ts +31 -0
- package/build/types-ts3.8/orchestrion/config/tedious.d.ts +11 -2
- package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +2 -1
- package/build/types-ts3.8/orchestrion/index.d.ts +38 -6
- package/build/types-ts3.8/orchestrion/registerChannelIntegration.d.ts +33 -0
- package/build/types-ts3.8/vercel-ai/index.d.ts +2 -3
- package/package.json +4 -4
- package/build/cjs/orchestrion/config/prisma.js +0 -8
- package/build/cjs/orchestrion/config/prisma.js.map +0 -1
- package/build/cjs/orchestrion/config/react-router.js +0 -8
- package/build/cjs/orchestrion/config/react-router.js.map +0 -1
- package/build/esm/orchestrion/config/prisma.js +0 -5
- package/build/esm/orchestrion/config/prisma.js.map +0 -1
- package/build/esm/orchestrion/config/react-router.js +0 -5
- package/build/esm/orchestrion/config/react-router.js.map +0 -1
- package/build/types/orchestrion/config/prisma.d.ts +0 -4
- package/build/types/orchestrion/config/prisma.d.ts.map +0 -1
- package/build/types/orchestrion/config/react-router.d.ts +0 -4
- package/build/types/orchestrion/config/react-router.d.ts.map +0 -1
- package/build/types-ts3.8/orchestrion/config/prisma.d.ts +0 -4
- package/build/types-ts3.8/orchestrion/config/react-router.d.ts +0 -4
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { MongooseLegacyCollection, StartMongooseLegacySpanOptions } from './mongoose-legacy-span';
|
|
2
|
+
export { startMongooseLegacySpan } from './mongoose-legacy-span';
|
|
1
3
|
/**
|
|
2
4
|
* Auto-instrument the [mongoose](https://www.npmjs.com/package/mongoose) library via its native
|
|
3
5
|
* `node:diagnostics_channel` tracing channels (mongoose >= 9.7).
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Span } from '@sentry/core';
|
|
2
|
+
/** The subset of mongoose's `Collection` that the legacy span shape reads. */
|
|
3
|
+
export interface MongooseLegacyCollection {
|
|
4
|
+
name?: string;
|
|
5
|
+
conn?: {
|
|
6
|
+
name?: string;
|
|
7
|
+
user?: string;
|
|
8
|
+
host?: string;
|
|
9
|
+
port?: number;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export interface StartMongooseLegacySpanOptions {
|
|
13
|
+
collection: MongooseLegacyCollection | undefined;
|
|
14
|
+
modelName: string | undefined;
|
|
15
|
+
operation: string;
|
|
16
|
+
/** Span origin: distinguishes the OTel/IITM caller from orchestrion */
|
|
17
|
+
origin: string;
|
|
18
|
+
parentSpan?: Span;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Start a mongoose client span with the legacy (pre-stable) db/net semantic
|
|
22
|
+
* conventions.
|
|
23
|
+
*
|
|
24
|
+
* Shared by the vendored OTel/IITM instrumentation (`@sentry/node`) and the
|
|
25
|
+
* orchestrion channel subscriber so the two emit an identical span shape,
|
|
26
|
+
* differing only by `origin`.
|
|
27
|
+
*/
|
|
28
|
+
export declare function startMongooseLegacySpan({ collection, modelName, operation, origin, parentSpan, }: StartMongooseLegacySpanOptions): Span;
|
|
29
|
+
//# sourceMappingURL=mongoose-legacy-span.d.ts.map
|
|
@@ -6,9 +6,8 @@ import { PluginOptions } from './options';
|
|
|
6
6
|
* Use when bundling a Node app with esbuild. For unbundled Node processes use the
|
|
7
7
|
* runtime hook instead (`node --import @sentry/node/orchestrion app.js`).
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* delegating to the upstream transform.
|
|
9
|
+
* Instrumented packages marked as `external` never pass through the code
|
|
10
|
+
* transform, so a build warning is emitted for them.
|
|
12
11
|
*
|
|
13
12
|
* @example
|
|
14
13
|
* ```ts
|
|
@@ -1,11 +1,55 @@
|
|
|
1
|
-
import { InstrumentationConfig } from '
|
|
2
|
-
import
|
|
1
|
+
import { InstrumentationConfig, CustomTransform } from '..';
|
|
2
|
+
import { CodeTransformerPluginOptions } from '@apm-js-collab/code-transformer-bundler-plugins/core';
|
|
3
3
|
export type PluginOptions = {
|
|
4
4
|
/**
|
|
5
5
|
* Additional instrumentations to include with the default instrumentation.
|
|
6
6
|
*/
|
|
7
7
|
instrumentations?: InstrumentationConfig[];
|
|
8
|
+
/**
|
|
9
|
+
* Custom transforms that can be applied using the `transform` option in each `InstrumentationConfig`.
|
|
10
|
+
*/
|
|
11
|
+
customTransforms?: Record<string, CustomTransform>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether to inject the global diagnostics.
|
|
14
|
+
*
|
|
15
|
+
* Defaults to `true`.
|
|
16
|
+
*/
|
|
17
|
+
shouldInjectDiagnostics?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Inject a small marker-push into each instrumented module that imports only
|
|
20
|
+
* that package's channel-subscriber factory and pushes it onto
|
|
21
|
+
* `globalThis.__SENTRY_ORCHESTRION__.integrations`. A bundler-only SDK reads
|
|
22
|
+
* the marker at `init()` and instantiates the collected factories, so every
|
|
23
|
+
* transformed package's subscriber is wired up with no runtime module hook.
|
|
24
|
+
*
|
|
25
|
+
* Because each site imports a single named factory, it tree-shakes: a bundle
|
|
26
|
+
* carries subscriber code only for the packages actually transformed into it.
|
|
27
|
+
*
|
|
28
|
+
* This is what lets a bundler-only SDK (e.g. `@sentry/cloudflare`, which runs
|
|
29
|
+
* in workerd where requires can't be monkey-patched) record channel spans,
|
|
30
|
+
* but it is bundler-agnostic: any orchestrion bundler plugin can enable it.
|
|
31
|
+
* Leave it off for SDKs that wire the integrations up through a static import
|
|
32
|
+
* instead (e.g. `@sentry/node`'s `experimentalUseDiagnosticsChannelInjection()`),
|
|
33
|
+
* so the subscribers aren't registered twice.
|
|
34
|
+
*
|
|
35
|
+
* Defaults to `false`.
|
|
36
|
+
*/
|
|
37
|
+
injectChannelSubscribers?: boolean;
|
|
8
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* Whether an "external" config entry covers an instrumented module: an exact
|
|
41
|
+
* package name (`'mysql'`) or a subpath (`'mysql/lib/...'`) — the transform may
|
|
42
|
+
* target exactly the file a subpath entry externalizes. Mirrors the matching in
|
|
43
|
+
* `withoutInstrumentedExternals`.
|
|
44
|
+
*/
|
|
45
|
+
export declare function externalEntryMatchesModule(entry: string, moduleName: string): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Warning emitted when a bundler config externalizes packages that orchestrion
|
|
48
|
+
* needs to transform. An externalized dependency is resolved from
|
|
49
|
+
* `node_modules` at runtime and never passes through the code transform, so
|
|
50
|
+
* its diagnostics_channel calls are silently never injected.
|
|
51
|
+
*/
|
|
52
|
+
export declare function externalizedModulesWarning(externalizedModules: string[]): string;
|
|
9
53
|
/**
|
|
10
54
|
* The `@apm-js-collab/code-transformer-bundler-plugins` options shared by every
|
|
11
55
|
* orchestrion bundler plugin.
|
|
@@ -15,5 +59,5 @@ export type PluginOptions = {
|
|
|
15
59
|
* bundler path ran (rather than relying on a build-time flag that wouldn't be
|
|
16
60
|
* visible to the runtime).
|
|
17
61
|
*/
|
|
18
|
-
export declare function orchestrionTransformOptions(options: PluginOptions):
|
|
62
|
+
export declare function orchestrionTransformOptions(options: PluginOptions): CodeTransformerPluginOptions;
|
|
19
63
|
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PluginOptions } from './options';
|
|
2
|
+
/**
|
|
3
|
+
* The `instrumentations` + `customTransforms` a bundler plugin passes to
|
|
4
|
+
* {@link orchestrionTransformOptions} to enable the marker-push subscribe
|
|
5
|
+
* injection used by bundler-only SDKs (e.g. `@sentry/cloudflare`).
|
|
6
|
+
*
|
|
7
|
+
* The `SUBSCRIBE_INJECTIONS` configs ride alongside the real channel-publishing
|
|
8
|
+
* configs, and `injectSubscribe` runs on each matched module, so every
|
|
9
|
+
* transformed package self-registers its subscriber on the global marker
|
|
10
|
+
* without a runtime module hook.
|
|
11
|
+
*/
|
|
12
|
+
export declare function subscribeInjectionOptions(): Pick<PluginOptions, 'instrumentations' | 'customTransforms'>;
|
|
13
|
+
//# sourceMappingURL=subscribeInjection.d.ts.map
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import { InstrumentationConfig } from '
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
2
|
+
import codeTransformerWebpack from '@apm-js-collab/code-transformer-bundler-plugins/webpack';
|
|
3
|
+
import { PluginOptions } from './options';
|
|
4
|
+
export { serializeInstrumentations } from '@apm-js-collab/code-transformer-bundler-plugins/core';
|
|
5
|
+
export { SerializableInstrumentationConfig } from '@apm-js-collab/code-transformer-bundler-plugins/core';
|
|
2
6
|
/** Absolute path to the code-transform loader (a webpack loader; also usable as a Turbopack loader). */
|
|
3
7
|
export declare function getOrchestrionLoaderPath(): string;
|
|
4
8
|
/**
|
|
@@ -11,9 +15,10 @@ export declare function getTracingHooksDirectory(): string;
|
|
|
11
15
|
/** The central instrumentation config, to pass as the loader's `instrumentations` option. */
|
|
12
16
|
export declare function getSentryInstrumentations(): InstrumentationConfig[];
|
|
13
17
|
/**
|
|
14
|
-
* The code-transform webpack plugin, pre-fed the instrumentation config.
|
|
15
|
-
*
|
|
16
|
-
*
|
|
18
|
+
* The code-transform webpack plugin, pre-fed the instrumentation config.
|
|
19
|
+
*
|
|
20
|
+
* Instrumented packages marked as `externals` never pass through the code
|
|
21
|
+
* transform, so a compilation warning is emitted for them.
|
|
17
22
|
*/
|
|
18
|
-
export declare function sentryOrchestrionWebpackPlugin():
|
|
23
|
+
export declare function sentryOrchestrionWebpackPlugin(options?: PluginOptions): ReturnType<typeof codeTransformerWebpack>;
|
|
19
24
|
//# sourceMappingURL=webpack.d.ts.map
|
|
@@ -22,6 +22,17 @@ export declare const CHANNELS: {
|
|
|
22
22
|
readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
|
|
23
23
|
readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
|
|
24
24
|
readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
|
|
25
|
+
readonly TEDIOUS_CONNECT: "orchestrion:tedious:connect";
|
|
26
|
+
readonly TEDIOUS_EXEC_SQL: "orchestrion:tedious:execSql";
|
|
27
|
+
readonly TEDIOUS_EXEC_SQL_BATCH: "orchestrion:tedious:execSqlBatch";
|
|
28
|
+
readonly TEDIOUS_CALL_PROCEDURE: "orchestrion:tedious:callProcedure";
|
|
29
|
+
readonly TEDIOUS_EXEC_BULK_LOAD: "orchestrion:tedious:execBulkLoad";
|
|
30
|
+
readonly TEDIOUS_PREPARE: "orchestrion:tedious:prepare";
|
|
31
|
+
readonly TEDIOUS_EXECUTE: "orchestrion:tedious:execute";
|
|
32
|
+
readonly REMIX_REQUEST_HANDLER: "orchestrion:@remix-run/server-runtime:requestHandler";
|
|
33
|
+
readonly REMIX_MATCH_SERVER_ROUTES: "orchestrion:@remix-run/server-runtime:matchServerRoutes";
|
|
34
|
+
readonly REMIX_CALL_ROUTE_LOADER: "orchestrion:@remix-run/server-runtime:callRouteLoader";
|
|
35
|
+
readonly REMIX_CALL_ROUTE_ACTION: "orchestrion:@remix-run/server-runtime:callRouteAction";
|
|
25
36
|
readonly REDIS_COMMAND: "orchestrion:redis:command";
|
|
26
37
|
readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
|
|
27
38
|
readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
|
|
@@ -37,9 +48,7 @@ export declare const CHANNELS: {
|
|
|
37
48
|
readonly PG_CONNECT: "orchestrion:pg:connect";
|
|
38
49
|
readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
|
|
39
50
|
readonly OPENAI_CHAT: "orchestrion:openai:chat";
|
|
40
|
-
readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
|
|
41
51
|
readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
|
|
42
|
-
readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
|
|
43
52
|
readonly NESTJS_APP_CREATION: "orchestrion:@nestjs/core:nestFactoryCreate";
|
|
44
53
|
readonly NESTJS_ROUTER_CONTEXT: "orchestrion:@nestjs/core:routerExecutionContextCreate";
|
|
45
54
|
readonly NESTJS_INJECTABLE: "orchestrion:@nestjs/common:injectableDecorator";
|
|
@@ -52,7 +61,27 @@ export declare const CHANNELS: {
|
|
|
52
61
|
readonly MYSQL_QUERY: "orchestrion:mysql:query";
|
|
53
62
|
readonly MYSQL2_QUERY: "orchestrion:mysql2:query";
|
|
54
63
|
readonly MYSQL2_EXECUTE: "orchestrion:mysql2:execute";
|
|
64
|
+
readonly MONGOOSE_QUERY_EXEC: "orchestrion:mongoose:query_exec";
|
|
65
|
+
readonly MONGOOSE_AGGREGATE_EXEC: "orchestrion:mongoose:aggregate_exec";
|
|
66
|
+
readonly MONGOOSE_MODEL_SAVE: "orchestrion:mongoose:model_save";
|
|
67
|
+
readonly MONGOOSE_MODEL_INSERT_MANY: "orchestrion:mongoose:model_insert_many";
|
|
68
|
+
readonly MONGOOSE_MODEL_BULK_WRITE: "orchestrion:mongoose:model_bulk_write";
|
|
69
|
+
readonly MONGOOSE_MODEL_REMOVE: "orchestrion:mongoose:model_remove";
|
|
70
|
+
readonly MONGOOSE_MODEL_AGGREGATE: "orchestrion:mongoose:model_aggregate";
|
|
71
|
+
readonly MONGODB_COMMAND: "orchestrion:mongodb:command";
|
|
72
|
+
readonly MONGODB_CHECKOUT: "orchestrion:mongodb:checkout";
|
|
73
|
+
readonly MONGODB_V3_INSERT: "orchestrion:mongodb:v3_insert";
|
|
74
|
+
readonly MONGODB_V3_UPDATE: "orchestrion:mongodb:v3_update";
|
|
75
|
+
readonly MONGODB_V3_REMOVE: "orchestrion:mongodb:v3_remove";
|
|
76
|
+
readonly MONGODB_V3_COMMAND: "orchestrion:mongodb:v3_command";
|
|
77
|
+
readonly MONGODB_V3_QUERY: "orchestrion:mongodb:v3_query";
|
|
78
|
+
readonly MONGODB_V3_GET_MORE: "orchestrion:mongodb:v3_get_more";
|
|
55
79
|
readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
|
|
80
|
+
readonly LANGGRAPH_STATE_GRAPH_COMPILE: "orchestrion:@langchain/langgraph:stateGraphCompile";
|
|
81
|
+
readonly LANGGRAPH_CREATE_REACT_AGENT: "orchestrion:@langchain/langgraph:createReactAgent";
|
|
82
|
+
readonly LANGCHAIN_CHAT_MODEL_INVOKE: "orchestrion:@langchain/core:chatModelInvoke";
|
|
83
|
+
readonly LANGCHAIN_CHAT_MODEL_STREAM: "orchestrion:@langchain/core:chatModelStream";
|
|
84
|
+
readonly KOA_USE: "orchestrion:koa:use";
|
|
56
85
|
readonly KNEX_QUERY: "orchestrion:knex:query";
|
|
57
86
|
readonly KNEX_QUERY_BUILDER: "orchestrion:knex:queryBuilder";
|
|
58
87
|
readonly KNEX_SCHEMA_BUILDER: "orchestrion:knex:schemaBuilder";
|
|
@@ -70,18 +99,34 @@ export declare const CHANNELS: {
|
|
|
70
99
|
readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
|
|
71
100
|
readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
|
|
72
101
|
readonly GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire";
|
|
102
|
+
readonly FIREBASE_FIRESTORE_ADD_DOC: "orchestrion:@firebase/firestore:add-doc";
|
|
103
|
+
readonly FIREBASE_FIRESTORE_GET_DOCS: "orchestrion:@firebase/firestore:get-docs";
|
|
104
|
+
readonly FIREBASE_FIRESTORE_SET_DOC: "orchestrion:@firebase/firestore:set-doc";
|
|
105
|
+
readonly FIREBASE_FIRESTORE_DELETE_DOC: "orchestrion:@firebase/firestore:delete-doc";
|
|
106
|
+
readonly FIREBASE_FUNCTIONS_HTTP_REQUEST: "orchestrion:firebase-functions:http-request";
|
|
107
|
+
readonly FIREBASE_FUNCTIONS_HTTP_CALL: "orchestrion:firebase-functions:http-call";
|
|
108
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_CREATED: "orchestrion:firebase-functions:firestore-created";
|
|
109
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_UPDATED: "orchestrion:firebase-functions:firestore-updated";
|
|
110
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_DELETED: "orchestrion:firebase-functions:firestore-deleted";
|
|
111
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_WRITTEN: "orchestrion:firebase-functions:firestore-written";
|
|
112
|
+
readonly FIREBASE_FUNCTIONS_SCHEDULER: "orchestrion:firebase-functions:scheduler";
|
|
113
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_FINALIZED: "orchestrion:firebase-functions:storage-finalized";
|
|
114
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_ARCHIVED: "orchestrion:firebase-functions:storage-archived";
|
|
115
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_DELETED: "orchestrion:firebase-functions:storage-deleted";
|
|
116
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_METADATA_UPDATED: "orchestrion:firebase-functions:storage-metadata-updated";
|
|
73
117
|
readonly EXPRESS_HANDLE: "orchestrion:express:handle";
|
|
74
118
|
readonly ROUTER_HANDLE: "orchestrion:router:handle";
|
|
75
|
-
readonly
|
|
76
|
-
readonly
|
|
77
|
-
readonly ROUTER_ROUTE: "orchestrion:router:route";
|
|
78
|
-
readonly ROUTER_USE: "orchestrion:router:use";
|
|
119
|
+
readonly EXPRESS_REGISTER: "orchestrion:express:register";
|
|
120
|
+
readonly ROUTER_REGISTER: "orchestrion:router:register";
|
|
79
121
|
readonly DATALOADER_CONSTRUCT: "orchestrion:dataloader:construct";
|
|
80
122
|
readonly DATALOADER_LOAD: "orchestrion:dataloader:load";
|
|
81
123
|
readonly DATALOADER_LOAD_MANY: "orchestrion:dataloader:loadMany";
|
|
82
124
|
readonly DATALOADER_PRIME: "orchestrion:dataloader:prime";
|
|
83
125
|
readonly DATALOADER_CLEAR: "orchestrion:dataloader:clear";
|
|
84
126
|
readonly DATALOADER_CLEAR_ALL: "orchestrion:dataloader:clearAll";
|
|
127
|
+
readonly AWS_SMITHY_CORE_SEND: "orchestrion:@smithy/core:send";
|
|
128
|
+
readonly AWS_SMITHY_CLIENT_SEND: "orchestrion:@smithy/smithy-client:send";
|
|
129
|
+
readonly AWS_SDK_SMITHY_CLIENT_SEND: "orchestrion:@aws-sdk/smithy-client:send";
|
|
85
130
|
readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
|
|
86
131
|
readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
|
|
87
132
|
readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const amqplibConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -63,4 +64,5 @@ export declare const amqplibChannels: {
|
|
|
63
64
|
readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
|
|
64
65
|
readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
|
|
65
66
|
};
|
|
67
|
+
export declare const amqplibSubscribeInjection: InstrumentationConfig[];
|
|
66
68
|
//# sourceMappingURL=amqplib.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const anthropicAiConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -28,4 +29,5 @@ export declare const anthropicAiChannels: {
|
|
|
28
29
|
readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
|
|
29
30
|
readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
|
|
30
31
|
};
|
|
32
|
+
export declare const anthropicAiSubscribeInjection: InstrumentationConfig[];
|
|
31
33
|
//# sourceMappingURL=anthropic-ai.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
+
export declare const awsSdkConfig: {
|
|
3
|
+
channelName: string;
|
|
4
|
+
module: {
|
|
5
|
+
name: string;
|
|
6
|
+
versionRange: string;
|
|
7
|
+
filePath: string;
|
|
8
|
+
};
|
|
9
|
+
functionQuery: {
|
|
10
|
+
className: string;
|
|
11
|
+
methodName: string;
|
|
12
|
+
kind: "Async";
|
|
13
|
+
};
|
|
14
|
+
}[];
|
|
15
|
+
export declare const awsSdkChannels: {
|
|
16
|
+
readonly AWS_SMITHY_CORE_SEND: "orchestrion:@smithy/core:send";
|
|
17
|
+
readonly AWS_SMITHY_CLIENT_SEND: "orchestrion:@smithy/smithy-client:send";
|
|
18
|
+
readonly AWS_SDK_SMITHY_CLIENT_SEND: "orchestrion:@aws-sdk/smithy-client:send";
|
|
19
|
+
};
|
|
20
|
+
export declare const awsSdkSubscribeInjection: InstrumentationConfig[];
|
|
21
|
+
//# sourceMappingURL=aws-sdk.d.ts.map
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Build-time metadata mapping each instrumented package (orchestrion
|
|
3
|
+
* `module.name`) to the channel-subscriber integration that consumes the
|
|
4
|
+
* channels injected into it — by the `exportName` it is published under from
|
|
5
|
+
* `@sentry/server-utils/orchestrion`.
|
|
6
|
+
*
|
|
7
|
+
* Kept in a separate, factory-free module on purpose: the subscribe-injection
|
|
8
|
+
* transform (reachable from every orchestrion bundler plugin) reads this to
|
|
9
|
+
* generate the tiny snippet it injects into each instrumented file, and must
|
|
10
|
+
* not drag any subscriber code — or its `@sentry/core` span machinery — into
|
|
11
|
+
* the plugin's own build to do so.
|
|
12
|
+
*
|
|
13
|
+
* `exportName` must be a named export of `@sentry/server-utils/orchestrion`.
|
|
14
|
+
* `modules` must match `module.name` values in `SENTRY_INSTRUMENTATIONS` — e.g.
|
|
15
|
+
* `postgresChannelIntegration` covers both `pg` and `pg-pool`, and
|
|
16
|
+
* `redisChannelIntegration` both `redis` and `@redis/client`.
|
|
17
|
+
*
|
|
18
|
+
* `redis`, `ioredis` and `dataloader` are included even though they're not in
|
|
19
|
+
* the node SDK's `channelIntegrations` (they only partially replace an OTel
|
|
20
|
+
* integration there): in a bundler-only runtime like Cloudflare Workers there
|
|
21
|
+
* is no OTel integration to coordinate with, so subscribing whenever the
|
|
22
|
+
* package is bundled is unconditionally correct.
|
|
23
|
+
*/
|
|
24
|
+
export declare const CHANNEL_INTEGRATION_DEFINITIONS: readonly [
|
|
25
|
+
{
|
|
26
|
+
readonly exportName: "postgresChannelIntegration";
|
|
27
|
+
readonly modules: readonly [
|
|
28
|
+
"pg",
|
|
29
|
+
"pg-pool"
|
|
30
|
+
];
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
readonly exportName: "postgresJsChannelIntegration";
|
|
34
|
+
readonly modules: readonly [
|
|
35
|
+
"postgres"
|
|
36
|
+
];
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
readonly exportName: "mysqlChannelIntegration";
|
|
40
|
+
readonly modules: readonly [
|
|
41
|
+
"mysql"
|
|
42
|
+
];
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
readonly exportName: "mysql2ChannelIntegration";
|
|
46
|
+
readonly modules: readonly [
|
|
47
|
+
"mysql2"
|
|
48
|
+
];
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
readonly exportName: "genericPoolChannelIntegration";
|
|
52
|
+
readonly modules: readonly [
|
|
53
|
+
"generic-pool"
|
|
54
|
+
];
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
readonly exportName: "lruMemoizerChannelIntegration";
|
|
58
|
+
readonly modules: readonly [
|
|
59
|
+
"lru-memoizer"
|
|
60
|
+
];
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
readonly exportName: "openaiChannelIntegration";
|
|
64
|
+
readonly modules: readonly [
|
|
65
|
+
"openai"
|
|
66
|
+
];
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
readonly exportName: "anthropicChannelIntegration";
|
|
70
|
+
readonly modules: readonly [
|
|
71
|
+
"@anthropic-ai/sdk"
|
|
72
|
+
];
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
readonly exportName: "googleGenAIChannelIntegration";
|
|
76
|
+
readonly modules: readonly [
|
|
77
|
+
"@google/genai"
|
|
78
|
+
];
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
readonly exportName: "vercelAiChannelIntegration";
|
|
82
|
+
readonly modules: readonly [
|
|
83
|
+
"ai"
|
|
84
|
+
];
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
readonly exportName: "amqplibChannelIntegration";
|
|
88
|
+
readonly modules: readonly [
|
|
89
|
+
"amqplib"
|
|
90
|
+
];
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
readonly exportName: "hapiChannelIntegration";
|
|
94
|
+
readonly modules: readonly [
|
|
95
|
+
"@hapi/hapi"
|
|
96
|
+
];
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
readonly exportName: "expressChannelIntegration";
|
|
100
|
+
readonly modules: readonly [
|
|
101
|
+
"express",
|
|
102
|
+
"router"
|
|
103
|
+
];
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
readonly exportName: "graphqlChannelIntegration";
|
|
107
|
+
readonly modules: readonly [
|
|
108
|
+
"graphql"
|
|
109
|
+
];
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
readonly exportName: "kafkajsChannelIntegration";
|
|
113
|
+
readonly modules: readonly [
|
|
114
|
+
"kafkajs"
|
|
115
|
+
];
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
readonly exportName: "redisChannelIntegration";
|
|
119
|
+
readonly modules: readonly [
|
|
120
|
+
"redis",
|
|
121
|
+
"@redis/client"
|
|
122
|
+
];
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
readonly exportName: "ioredisChannelIntegration";
|
|
126
|
+
readonly modules: readonly [
|
|
127
|
+
"ioredis"
|
|
128
|
+
];
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
readonly exportName: "dataloaderChannelIntegration";
|
|
132
|
+
readonly modules: readonly [
|
|
133
|
+
"dataloader"
|
|
134
|
+
];
|
|
135
|
+
}
|
|
136
|
+
];
|
|
137
|
+
/** Look up the subscriber export name for an instrumented package, if any. */
|
|
138
|
+
export declare function subscriberExportForModule(moduleName: string): string | undefined;
|
|
139
|
+
//# sourceMappingURL=channel-integration-definitions.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const dataloaderConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -43,4 +44,5 @@ export declare const dataloaderChannels: {
|
|
|
43
44
|
readonly DATALOADER_CLEAR: "orchestrion:dataloader:clear";
|
|
44
45
|
readonly DATALOADER_CLEAR_ALL: "orchestrion:dataloader:clearAll";
|
|
45
46
|
};
|
|
47
|
+
export declare const dataloaderSubscribeInjection: InstrumentationConfig[];
|
|
46
48
|
//# sourceMappingURL=dataloader.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const expressConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -24,9 +25,8 @@ export declare const expressConfig: ({
|
|
|
24
25
|
export declare const expressChannels: {
|
|
25
26
|
readonly EXPRESS_HANDLE: "orchestrion:express:handle";
|
|
26
27
|
readonly ROUTER_HANDLE: "orchestrion:router:handle";
|
|
27
|
-
readonly
|
|
28
|
-
readonly
|
|
29
|
-
readonly ROUTER_ROUTE: "orchestrion:router:route";
|
|
30
|
-
readonly ROUTER_USE: "orchestrion:router:use";
|
|
28
|
+
readonly EXPRESS_REGISTER: "orchestrion:express:register";
|
|
29
|
+
readonly ROUTER_REGISTER: "orchestrion:router:register";
|
|
31
30
|
};
|
|
31
|
+
export declare const expressSubscribeInjection: InstrumentationConfig[];
|
|
32
32
|
//# sourceMappingURL=express.d.ts.map
|
|
@@ -1,4 +1,43 @@
|
|
|
1
|
-
import { InstrumentationConfig } from '
|
|
2
|
-
export declare const firebaseConfig:
|
|
3
|
-
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
2
|
+
export declare const firebaseConfig: ({
|
|
3
|
+
channelName: "add-doc" | "get-docs" | "set-doc" | "delete-doc";
|
|
4
|
+
module: {
|
|
5
|
+
name: string;
|
|
6
|
+
versionRange: string;
|
|
7
|
+
filePath: RegExp;
|
|
8
|
+
};
|
|
9
|
+
functionQuery: {
|
|
10
|
+
functionName: "addDoc" | "getDocs" | "setDoc" | "deleteDoc";
|
|
11
|
+
kind: "Auto";
|
|
12
|
+
};
|
|
13
|
+
} | {
|
|
14
|
+
channelName: "http-request" | "http-call" | "firestore-created" | "firestore-updated" | "firestore-deleted" | "firestore-written" | "scheduler" | "storage-finalized" | "storage-archived" | "storage-deleted" | "storage-metadata-updated";
|
|
15
|
+
module: {
|
|
16
|
+
name: string;
|
|
17
|
+
versionRange: string;
|
|
18
|
+
filePath: "lib/v2/providers/https.js" | "lib/v2/providers/firestore.js" | "lib/v2/providers/scheduler.js" | "lib/v2/providers/storage.js";
|
|
19
|
+
};
|
|
20
|
+
functionQuery: {
|
|
21
|
+
functionName: "onRequest" | "onCall" | "onDocumentCreated" | "onDocumentCreatedWithAuthContext" | "onDocumentUpdated" | "onDocumentUpdatedWithAuthContext" | "onDocumentDeleted" | "onDocumentDeletedWithAuthContext" | "onDocumentWritten" | "onDocumentWrittenWithAuthContext" | "onSchedule" | "onObjectFinalized" | "onObjectArchived" | "onObjectDeleted" | "onObjectMetadataUpdated";
|
|
22
|
+
kind: "Sync";
|
|
23
|
+
};
|
|
24
|
+
})[];
|
|
25
|
+
export declare const firebaseChannels: {
|
|
26
|
+
readonly FIREBASE_FIRESTORE_ADD_DOC: "orchestrion:@firebase/firestore:add-doc";
|
|
27
|
+
readonly FIREBASE_FIRESTORE_GET_DOCS: "orchestrion:@firebase/firestore:get-docs";
|
|
28
|
+
readonly FIREBASE_FIRESTORE_SET_DOC: "orchestrion:@firebase/firestore:set-doc";
|
|
29
|
+
readonly FIREBASE_FIRESTORE_DELETE_DOC: "orchestrion:@firebase/firestore:delete-doc";
|
|
30
|
+
readonly FIREBASE_FUNCTIONS_HTTP_REQUEST: "orchestrion:firebase-functions:http-request";
|
|
31
|
+
readonly FIREBASE_FUNCTIONS_HTTP_CALL: "orchestrion:firebase-functions:http-call";
|
|
32
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_CREATED: "orchestrion:firebase-functions:firestore-created";
|
|
33
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_UPDATED: "orchestrion:firebase-functions:firestore-updated";
|
|
34
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_DELETED: "orchestrion:firebase-functions:firestore-deleted";
|
|
35
|
+
readonly FIREBASE_FUNCTIONS_FIRESTORE_WRITTEN: "orchestrion:firebase-functions:firestore-written";
|
|
36
|
+
readonly FIREBASE_FUNCTIONS_SCHEDULER: "orchestrion:firebase-functions:scheduler";
|
|
37
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_FINALIZED: "orchestrion:firebase-functions:storage-finalized";
|
|
38
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_ARCHIVED: "orchestrion:firebase-functions:storage-archived";
|
|
39
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_DELETED: "orchestrion:firebase-functions:storage-deleted";
|
|
40
|
+
readonly FIREBASE_FUNCTIONS_STORAGE_METADATA_UPDATED: "orchestrion:firebase-functions:storage-metadata-updated";
|
|
41
|
+
};
|
|
42
|
+
export declare const firebaseSubscribeInjection: InstrumentationConfig[];
|
|
4
43
|
//# sourceMappingURL=firebase.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const genericPoolConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -28,4 +29,5 @@ export declare const genericPoolConfig: ({
|
|
|
28
29
|
export declare const genericPoolChannels: {
|
|
29
30
|
readonly GENERIC_POOL_ACQUIRE: "orchestrion:generic-pool:acquire";
|
|
30
31
|
};
|
|
32
|
+
export declare const genericPoolSubscribeInjection: InstrumentationConfig[];
|
|
31
33
|
//# sourceMappingURL=generic-pool.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const googleGenAiConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -27,4 +28,5 @@ export declare const googleGenAiChannels: {
|
|
|
27
28
|
readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
|
|
28
29
|
readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
|
|
29
30
|
};
|
|
31
|
+
export declare const googleGenAiSubscribeInjection: InstrumentationConfig[];
|
|
30
32
|
//# sourceMappingURL=google-genai.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const graphqlConfig: ({
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -26,4 +27,5 @@ export declare const graphqlChannels: {
|
|
|
26
27
|
readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
|
|
27
28
|
readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
|
|
28
29
|
};
|
|
30
|
+
export declare const graphqlSubscribeInjection: InstrumentationConfig[];
|
|
29
31
|
//# sourceMappingURL=graphql.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const hapiConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -14,4 +15,5 @@ export declare const hapiChannels: {
|
|
|
14
15
|
readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
|
|
15
16
|
readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
|
|
16
17
|
};
|
|
18
|
+
export declare const hapiSubscribeInjection: InstrumentationConfig[];
|
|
17
19
|
//# sourceMappingURL=hapi.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InstrumentationConfig } from '
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
2
2
|
/**
|
|
3
3
|
* The orchestrion code-transform configs. Every instrumentable library is here
|
|
4
4
|
* so the transform is all-or-nothing: whenever orchestrion is enabled, all of
|
|
@@ -7,6 +7,18 @@ import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
|
7
7
|
* transformed is centralized here.
|
|
8
8
|
*/
|
|
9
9
|
export declare const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[];
|
|
10
|
+
/**
|
|
11
|
+
* The `Program`-matching injection configs that make each instrumented file
|
|
12
|
+
* self-register its channel subscriber at load (used by bundler-only SDKs like
|
|
13
|
+
* `@sentry/cloudflare`).
|
|
14
|
+
*
|
|
15
|
+
* Deliberately separate from `SENTRY_INSTRUMENTATIONS`: these reference a custom
|
|
16
|
+
* transform that only the opted-in bundler plugin registers, so feeding them to
|
|
17
|
+
* the runtime `--import` hook (which can't register it) would make the
|
|
18
|
+
* code-transformer drop the whole file. Each library owns its own
|
|
19
|
+
* `*SubscribeInjection` (derived from its channel configs), collected here.
|
|
20
|
+
*/
|
|
21
|
+
export declare const SUBSCRIBE_INJECTIONS: InstrumentationConfig[];
|
|
10
22
|
/**
|
|
11
23
|
* The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`
|
|
12
24
|
* merged with any caller-provided `instrumentations` (e.g. `['mysql']`).
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { InstrumentationConfig } from '
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
2
2
|
export declare const ioredisConfig: InstrumentationConfig[];
|
|
3
3
|
export declare const ioredisChannels: {
|
|
4
4
|
readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
|
|
5
5
|
readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
|
|
6
6
|
};
|
|
7
|
+
export declare const ioredisSubscribeInjection: InstrumentationConfig[];
|
|
7
8
|
//# sourceMappingURL=ioredis.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
1
2
|
export declare const kafkajsConfig: {
|
|
2
3
|
channelName: string;
|
|
3
4
|
module: {
|
|
@@ -14,4 +15,5 @@ export declare const kafkajsChannels: {
|
|
|
14
15
|
readonly KAFKAJS_SEND_BATCH: "orchestrion:kafkajs:send_batch";
|
|
15
16
|
readonly KAFKAJS_CONSUMER_RUN: "orchestrion:kafkajs:consumer_run";
|
|
16
17
|
};
|
|
18
|
+
export declare const kafkajsSubscribeInjection: InstrumentationConfig[];
|
|
17
19
|
//# sourceMappingURL=kafkajs.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InstrumentationConfig } from '
|
|
1
|
+
import { InstrumentationConfig } from '..';
|
|
2
2
|
export declare const knexConfig: InstrumentationConfig[];
|
|
3
3
|
export declare const knexChannels: {
|
|
4
4
|
readonly KNEX_QUERY: "orchestrion:knex:query";
|
|
@@ -6,4 +6,5 @@ export declare const knexChannels: {
|
|
|
6
6
|
readonly KNEX_SCHEMA_BUILDER: "orchestrion:knex:schemaBuilder";
|
|
7
7
|
readonly KNEX_RAW: "orchestrion:knex:raw";
|
|
8
8
|
};
|
|
9
|
+
export declare const knexSubscribeInjection: InstrumentationConfig[];
|
|
9
10
|
//# sourceMappingURL=knex.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
+
export declare const koaConfig: {
|
|
3
|
+
channelName: string;
|
|
4
|
+
module: {
|
|
5
|
+
name: string;
|
|
6
|
+
versionRange: string;
|
|
7
|
+
filePath: string;
|
|
8
|
+
};
|
|
9
|
+
functionQuery: {
|
|
10
|
+
className: string;
|
|
11
|
+
methodName: string;
|
|
12
|
+
kind: "Sync";
|
|
13
|
+
};
|
|
14
|
+
}[];
|
|
15
|
+
export declare const koaChannels: {
|
|
16
|
+
readonly KOA_USE: "orchestrion:koa:use";
|
|
17
|
+
};
|
|
18
|
+
export declare const koaSubscribeInjection: InstrumentationConfig[];
|
|
19
|
+
//# sourceMappingURL=koa.d.ts.map
|