@sentry/server-utils 10.65.0 → 10.67.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/graphql/graphql-dc-subscriber.js +2 -4
- package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -1
- package/build/cjs/graphql/utils.js +7 -1
- package/build/cjs/graphql/utils.js.map +1 -1
- package/build/cjs/index.js +18 -8
- 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 +95 -0
- package/build/cjs/integrations/tracing-channel/dataloader.js.map +1 -0
- 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/generic-pool.js +34 -0
- package/build/cjs/integrations/tracing-channel/generic-pool.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/graphql/spans.js +2 -2
- package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/ioredis.js +29 -26
- package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js +71 -0
- package/build/cjs/integrations/tracing-channel/kafkajs/consumer.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/kafkajs/index.js +70 -0
- package/build/cjs/integrations/tracing-channel/kafkajs/index.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js +22 -0
- package/build/cjs/integrations/tracing-channel/kafkajs/semconv.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/kafkajs/spans.js +119 -0
- package/build/cjs/integrations/tracing-channel/kafkajs/spans.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/knex.js +188 -0
- package/build/cjs/integrations/tracing-channel/knex.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/mysql2.js +83 -0
- package/build/cjs/integrations/tracing-channel/mysql2.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 +15 -0
- package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -0
- package/build/cjs/orchestrion/bundler/options.js +24 -0
- package/build/cjs/orchestrion/bundler/options.js.map +1 -0
- package/build/cjs/orchestrion/bundler/rollup.js +15 -0
- package/build/cjs/orchestrion/bundler/rollup.js.map +1 -0
- package/build/cjs/orchestrion/bundler/vite.js +8 -21
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack.js +36 -0
- package/build/cjs/orchestrion/bundler/webpack.js.map +1 -0
- package/build/cjs/orchestrion/channels.js +54 -20
- package/build/cjs/orchestrion/channels.js.map +1 -1
- package/build/cjs/orchestrion/config/amqplib.js.map +1 -1
- package/build/cjs/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/cjs/orchestrion/config/aws-sdk.js +28 -0
- package/build/cjs/orchestrion/config/aws-sdk.js.map +1 -0
- package/build/cjs/orchestrion/config/dataloader.js +53 -0
- package/build/cjs/orchestrion/config/dataloader.js.map +1 -0
- package/build/cjs/orchestrion/config/express.js +9 -8
- package/build/cjs/orchestrion/config/express.js.map +1 -1
- package/build/cjs/orchestrion/config/firebase.js +8 -0
- package/build/cjs/orchestrion/config/firebase.js.map +1 -0
- package/build/cjs/orchestrion/config/generic-pool.js +21 -0
- package/build/cjs/orchestrion/config/generic-pool.js.map +1 -0
- package/build/cjs/orchestrion/config/google-genai.js.map +1 -1
- package/build/cjs/orchestrion/config/graphql.js.map +1 -1
- package/build/cjs/orchestrion/config/hapi.js.map +1 -1
- package/build/cjs/orchestrion/config/index.js +64 -23
- package/build/cjs/orchestrion/config/index.js.map +1 -1
- package/build/cjs/orchestrion/config/ioredis.js.map +1 -1
- package/build/cjs/orchestrion/config/kafkajs.js +30 -0
- package/build/cjs/orchestrion/config/kafkajs.js.map +1 -0
- package/build/cjs/orchestrion/config/knex.js +43 -0
- package/build/cjs/orchestrion/config/knex.js.map +1 -0
- package/build/cjs/orchestrion/config/koa.js +16 -0
- package/build/cjs/orchestrion/config/koa.js.map +1 -0
- package/build/cjs/orchestrion/config/langchain.js +52 -0
- package/build/cjs/orchestrion/config/langchain.js.map +1 -0
- package/build/cjs/orchestrion/config/langgraph.js +28 -0
- package/build/cjs/orchestrion/config/langgraph.js.map +1 -0
- package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/cjs/orchestrion/config/mongodb.js +67 -0
- package/build/cjs/orchestrion/config/mongodb.js.map +1 -0
- package/build/cjs/orchestrion/config/mongoose.js +107 -0
- package/build/cjs/orchestrion/config/mongoose.js.map +1 -0
- package/build/cjs/orchestrion/config/mysql.js.map +1 -1
- package/build/cjs/orchestrion/config/mysql2.js +32 -0
- package/build/cjs/orchestrion/config/mysql2.js.map +1 -0
- package/build/cjs/orchestrion/config/nestjs.js +122 -0
- package/build/cjs/orchestrion/config/nestjs.js.map +1 -0
- package/build/cjs/orchestrion/config/openai.js +5 -5
- package/build/cjs/orchestrion/config/openai.js.map +1 -1
- package/build/cjs/orchestrion/config/pg.js.map +1 -1
- package/build/cjs/orchestrion/config/postgres.js.map +1 -1
- package/build/cjs/orchestrion/config/prisma.js +8 -0
- package/build/cjs/orchestrion/config/prisma.js.map +1 -0
- package/build/cjs/orchestrion/config/react-router.js +8 -0
- package/build/cjs/orchestrion/config/react-router.js.map +1 -0
- package/build/cjs/orchestrion/config/redis.js.map +1 -1
- package/build/cjs/orchestrion/config/remix.js +54 -0
- package/build/cjs/orchestrion/config/remix.js.map +1 -0
- package/build/cjs/orchestrion/config/tedious.js +24 -0
- package/build/cjs/orchestrion/config/tedious.js.map +1 -0
- package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/cjs/orchestrion/detect.js +12 -11
- package/build/cjs/orchestrion/detect.js.map +1 -1
- package/build/cjs/orchestrion/index.js +44 -6
- package/build/cjs/orchestrion/index.js.map +1 -1
- package/build/cjs/orchestrion/runtime/register.js +45 -21
- package/build/cjs/orchestrion/runtime/register.js.map +1 -1
- package/build/cjs/prisma/global.js +14 -0
- package/build/cjs/prisma/global.js.map +1 -0
- package/build/cjs/prisma/index.js +27 -0
- package/build/cjs/prisma/index.js.map +1 -0
- package/build/cjs/prisma/tracing-helper.js +211 -0
- package/build/cjs/prisma/tracing-helper.js.map +1 -0
- 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/util.js +0 -11
- package/build/cjs/vercel-ai/util.js.map +1 -1
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +9 -9
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.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/graphql/graphql-dc-subscriber.js +3 -5
- package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -1
- package/build/esm/graphql/utils.js +8 -2
- package/build/esm/graphql/utils.js.map +1 -1
- package/build/esm/index.js +3 -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 +93 -0
- package/build/esm/integrations/tracing-channel/dataloader.js.map +1 -0
- 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/generic-pool.js +32 -0
- package/build/esm/integrations/tracing-channel/generic-pool.js.map +1 -0
- package/build/esm/integrations/tracing-channel/graphql/spans.js +3 -3
- package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -1
- package/build/esm/integrations/tracing-channel/ioredis.js +29 -27
- package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -1
- package/build/esm/integrations/tracing-channel/kafkajs/consumer.js +67 -0
- package/build/esm/integrations/tracing-channel/kafkajs/consumer.js.map +1 -0
- package/build/esm/integrations/tracing-channel/kafkajs/index.js +68 -0
- package/build/esm/integrations/tracing-channel/kafkajs/index.js.map +1 -0
- package/build/esm/integrations/tracing-channel/kafkajs/semconv.js +12 -0
- package/build/esm/integrations/tracing-channel/kafkajs/semconv.js.map +1 -0
- package/build/esm/integrations/tracing-channel/kafkajs/spans.js +112 -0
- package/build/esm/integrations/tracing-channel/kafkajs/spans.js.map +1 -0
- package/build/esm/integrations/tracing-channel/knex.js +186 -0
- package/build/esm/integrations/tracing-channel/knex.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/mysql2.js +81 -0
- package/build/esm/integrations/tracing-channel/mysql2.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 +9 -0
- package/build/esm/orchestrion/bundler/esbuild.js.map +1 -0
- package/build/esm/orchestrion/bundler/options.js +22 -0
- package/build/esm/orchestrion/bundler/options.js.map +1 -0
- package/build/esm/orchestrion/bundler/rollup.js +9 -0
- package/build/esm/orchestrion/bundler/rollup.js.map +1 -0
- package/build/esm/orchestrion/bundler/vite.js +5 -22
- package/build/esm/orchestrion/bundler/vite.js.map +1 -1
- package/build/esm/orchestrion/bundler/webpack.js +27 -0
- package/build/esm/orchestrion/bundler/webpack.js.map +1 -0
- package/build/esm/orchestrion/channels.js +54 -20
- package/build/esm/orchestrion/channels.js.map +1 -1
- package/build/esm/orchestrion/config/amqplib.js.map +1 -1
- package/build/esm/orchestrion/config/anthropic-ai.js.map +1 -1
- package/build/esm/orchestrion/config/aws-sdk.js +25 -0
- package/build/esm/orchestrion/config/aws-sdk.js.map +1 -0
- package/build/esm/orchestrion/config/dataloader.js +50 -0
- package/build/esm/orchestrion/config/dataloader.js.map +1 -0
- package/build/esm/orchestrion/config/express.js +9 -8
- package/build/esm/orchestrion/config/express.js.map +1 -1
- package/build/esm/orchestrion/config/firebase.js +5 -0
- package/build/esm/orchestrion/config/firebase.js.map +1 -0
- package/build/esm/orchestrion/config/generic-pool.js +18 -0
- package/build/esm/orchestrion/config/generic-pool.js.map +1 -0
- package/build/esm/orchestrion/config/google-genai.js.map +1 -1
- package/build/esm/orchestrion/config/graphql.js.map +1 -1
- package/build/esm/orchestrion/config/hapi.js.map +1 -1
- package/build/esm/orchestrion/config/index.js +64 -24
- package/build/esm/orchestrion/config/index.js.map +1 -1
- package/build/esm/orchestrion/config/ioredis.js.map +1 -1
- package/build/esm/orchestrion/config/kafkajs.js +27 -0
- package/build/esm/orchestrion/config/kafkajs.js.map +1 -0
- package/build/esm/orchestrion/config/knex.js +40 -0
- package/build/esm/orchestrion/config/knex.js.map +1 -0
- package/build/esm/orchestrion/config/koa.js +13 -0
- package/build/esm/orchestrion/config/koa.js.map +1 -0
- package/build/esm/orchestrion/config/langchain.js +48 -0
- package/build/esm/orchestrion/config/langchain.js.map +1 -0
- package/build/esm/orchestrion/config/langgraph.js +25 -0
- package/build/esm/orchestrion/config/langgraph.js.map +1 -0
- package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -1
- package/build/esm/orchestrion/config/mongodb.js +64 -0
- package/build/esm/orchestrion/config/mongodb.js.map +1 -0
- package/build/esm/orchestrion/config/mongoose.js +103 -0
- package/build/esm/orchestrion/config/mongoose.js.map +1 -0
- package/build/esm/orchestrion/config/mysql.js.map +1 -1
- package/build/esm/orchestrion/config/mysql2.js +29 -0
- package/build/esm/orchestrion/config/mysql2.js.map +1 -0
- package/build/esm/orchestrion/config/nestjs.js +119 -0
- package/build/esm/orchestrion/config/nestjs.js.map +1 -0
- package/build/esm/orchestrion/config/openai.js +5 -5
- package/build/esm/orchestrion/config/openai.js.map +1 -1
- package/build/esm/orchestrion/config/pg.js.map +1 -1
- package/build/esm/orchestrion/config/postgres.js.map +1 -1
- package/build/esm/orchestrion/config/prisma.js +5 -0
- package/build/esm/orchestrion/config/prisma.js.map +1 -0
- package/build/esm/orchestrion/config/react-router.js +5 -0
- package/build/esm/orchestrion/config/react-router.js.map +1 -0
- package/build/esm/orchestrion/config/redis.js.map +1 -1
- package/build/esm/orchestrion/config/remix.js +51 -0
- package/build/esm/orchestrion/config/remix.js.map +1 -0
- package/build/esm/orchestrion/config/tedious.js +21 -0
- package/build/esm/orchestrion/config/tedious.js.map +1 -0
- package/build/esm/orchestrion/config/vercel-ai.js.map +1 -1
- package/build/esm/orchestrion/detect.js +13 -12
- package/build/esm/orchestrion/detect.js.map +1 -1
- package/build/esm/orchestrion/index.js +26 -2
- package/build/esm/orchestrion/index.js.map +1 -1
- package/build/esm/orchestrion/runtime/register.js +47 -23
- package/build/esm/orchestrion/runtime/register.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/prisma/global.js +12 -0
- package/build/esm/prisma/global.js.map +1 -0
- package/build/esm/prisma/index.js +24 -0
- package/build/esm/prisma/index.js.map +1 -0
- package/build/esm/prisma/tracing-helper.js +209 -0
- package/build/esm/prisma/tracing-helper.js.map +1 -0
- 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/util.js +1 -11
- package/build/esm/vercel-ai/util.js.map +1 -1
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +11 -11
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.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/graphql/utils.d.ts +2 -6
- package/build/types/graphql/utils.d.ts.map +1 -1
- package/build/types/index.d.ts +7 -1
- 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 +11 -0
- package/build/types/integrations/tracing-channel/dataloader.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/generic-pool.d.ts +10 -0
- package/build/types/integrations/tracing-channel/generic-pool.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/ioredis.d.ts +20 -0
- package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts +8 -0
- package/build/types/integrations/tracing-channel/kafkajs/consumer.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/kafkajs/index.d.ts +17 -0
- package/build/types/integrations/tracing-channel/kafkajs/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts +10 -0
- package/build/types/integrations/tracing-channel/kafkajs/semconv.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts +38 -0
- package/build/types/integrations/tracing-channel/kafkajs/spans.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/kafkajs/types.d.ts +40 -0
- package/build/types/integrations/tracing-channel/kafkajs/types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/knex.d.ts +11 -0
- package/build/types/integrations/tracing-channel/knex.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/mysql2.d.ts +15 -0
- package/build/types/integrations/tracing-channel/mysql2.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/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 +21 -0
- package/build/types/orchestrion/bundler/esbuild.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/options.d.ts +29 -0
- package/build/types/orchestrion/bundler/options.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/rollup.d.ts +17 -0
- package/build/types/orchestrion/bundler/rollup.d.ts.map +1 -0
- package/build/types/orchestrion/bundler/vite.d.ts +4 -17
- package/build/types/orchestrion/bundler/vite.d.ts.map +1 -1
- package/build/types/orchestrion/bundler/webpack.d.ts +19 -0
- package/build/types/orchestrion/bundler/webpack.d.ts.map +1 -0
- package/build/types/orchestrion/channels.d.ts +94 -37
- package/build/types/orchestrion/channels.d.ts.map +1 -1
- package/build/types/orchestrion/config/aws-sdk.d.ts +19 -0
- package/build/types/orchestrion/config/aws-sdk.d.ts.map +1 -0
- package/build/types/orchestrion/config/dataloader.d.ts +46 -0
- package/build/types/orchestrion/config/dataloader.d.ts.map +1 -0
- package/build/types/orchestrion/config/express.d.ts +2 -4
- package/build/types/orchestrion/config/express.d.ts.map +1 -1
- package/build/types/orchestrion/config/firebase.d.ts +4 -0
- package/build/types/orchestrion/config/firebase.d.ts.map +1 -0
- package/build/types/orchestrion/config/generic-pool.d.ts +31 -0
- package/build/types/orchestrion/config/generic-pool.d.ts.map +1 -0
- package/build/types/orchestrion/config/index.d.ts +19 -6
- package/build/types/orchestrion/config/index.d.ts.map +1 -1
- package/build/types/orchestrion/config/ioredis.d.ts +1 -1
- package/build/types/orchestrion/config/ioredis.d.ts.map +1 -1
- package/build/types/orchestrion/config/kafkajs.d.ts +17 -0
- package/build/types/orchestrion/config/kafkajs.d.ts.map +1 -0
- package/build/types/orchestrion/config/knex.d.ts +9 -0
- package/build/types/orchestrion/config/knex.d.ts.map +1 -0
- package/build/types/orchestrion/config/koa.d.ts +17 -0
- package/build/types/orchestrion/config/koa.d.ts.map +1 -0
- package/build/types/orchestrion/config/langchain.d.ts +18 -0
- package/build/types/orchestrion/config/langchain.d.ts.map +1 -0
- package/build/types/orchestrion/config/langgraph.d.ts +21 -0
- package/build/types/orchestrion/config/langgraph.d.ts.map +1 -0
- package/build/types/orchestrion/config/mongodb.d.ts +59 -0
- package/build/types/orchestrion/config/mongodb.d.ts.map +1 -0
- package/build/types/orchestrion/config/mongoose.d.ts +40 -0
- package/build/types/orchestrion/config/mongoose.d.ts.map +1 -0
- package/build/types/orchestrion/config/mysql2.d.ts +18 -0
- package/build/types/orchestrion/config/mysql2.d.ts.map +1 -0
- package/build/types/orchestrion/config/nestjs.d.ts +24 -0
- package/build/types/orchestrion/config/nestjs.d.ts.map +1 -0
- package/build/types/orchestrion/config/openai.d.ts +0 -2
- package/build/types/orchestrion/config/openai.d.ts.map +1 -1
- package/build/types/orchestrion/config/postgres.d.ts +1 -1
- package/build/types/orchestrion/config/postgres.d.ts.map +1 -1
- package/build/types/orchestrion/config/prisma.d.ts +4 -0
- package/build/types/orchestrion/config/prisma.d.ts.map +1 -0
- package/build/types/orchestrion/config/react-router.d.ts +4 -0
- package/build/types/orchestrion/config/react-router.d.ts.map +1 -0
- package/build/types/orchestrion/config/remix.d.ts +9 -0
- package/build/types/orchestrion/config/remix.d.ts.map +1 -0
- package/build/types/orchestrion/config/tedious.d.ts +12 -0
- package/build/types/orchestrion/config/tedious.d.ts.map +1 -0
- package/build/types/orchestrion/config/vercel-ai.d.ts +1 -1
- package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -1
- package/build/types/orchestrion/detect.d.ts +3 -10
- package/build/types/orchestrion/detect.d.ts.map +1 -1
- package/build/types/orchestrion/index.d.ts +56 -1
- package/build/types/orchestrion/index.d.ts.map +1 -1
- package/build/types/orchestrion/runtime/register.d.ts +11 -9
- package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
- package/build/types/prisma/global.d.ts +5 -0
- package/build/types/prisma/global.d.ts.map +1 -0
- package/build/types/prisma/index.d.ts +45 -0
- package/build/types/prisma/index.d.ts.map +1 -0
- package/build/types/prisma/tracing-helper.d.ts +46 -0
- package/build/types/prisma/tracing-helper.d.ts.map +1 -0
- package/build/types/prisma/types.d.ts +37 -0
- package/build/types/prisma/types.d.ts.map +1 -0
- package/build/types/vercel-ai/util.d.ts +0 -2
- package/build/types/vercel-ai/util.d.ts.map +1 -1
- package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
- package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -1
- package/build/types-ts3.8/graphql/utils.d.ts +2 -6
- package/build/types-ts3.8/index.d.ts +7 -1
- 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/dataloader.d.ts +11 -0
- package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +20 -0
- package/build/types-ts3.8/integrations/tracing-channel/kafkajs/consumer.d.ts +8 -0
- package/build/types-ts3.8/integrations/tracing-channel/kafkajs/index.d.ts +17 -0
- package/build/types-ts3.8/integrations/tracing-channel/kafkajs/semconv.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/kafkajs/spans.d.ts +38 -0
- package/build/types-ts3.8/integrations/tracing-channel/kafkajs/types.d.ts +40 -0
- package/build/types-ts3.8/integrations/tracing-channel/knex.d.ts +11 -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/mysql2.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/tedious.d.ts +11 -0
- 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 +21 -0
- package/build/types-ts3.8/orchestrion/bundler/options.d.ts +29 -0
- package/build/types-ts3.8/orchestrion/bundler/rollup.d.ts +17 -0
- package/build/types-ts3.8/orchestrion/bundler/vite.d.ts +4 -17
- package/build/types-ts3.8/orchestrion/bundler/webpack.d.ts +19 -0
- package/build/types-ts3.8/orchestrion/channels.d.ts +94 -37
- package/build/types-ts3.8/orchestrion/config/aws-sdk.d.ts +19 -0
- package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +46 -0
- package/build/types-ts3.8/orchestrion/config/express.d.ts +2 -4
- package/build/types-ts3.8/orchestrion/config/firebase.d.ts +4 -0
- package/build/types-ts3.8/orchestrion/config/generic-pool.d.ts +31 -0
- package/build/types-ts3.8/orchestrion/config/index.d.ts +19 -6
- package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +1 -1
- package/build/types-ts3.8/orchestrion/config/kafkajs.d.ts +17 -0
- package/build/types-ts3.8/orchestrion/config/knex.d.ts +9 -0
- package/build/types-ts3.8/orchestrion/config/koa.d.ts +17 -0
- package/build/types-ts3.8/orchestrion/config/langchain.d.ts +18 -0
- package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +21 -0
- package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +59 -0
- package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +40 -0
- package/build/types-ts3.8/orchestrion/config/mysql2.d.ts +18 -0
- package/build/types-ts3.8/orchestrion/config/nestjs.d.ts +24 -0
- package/build/types-ts3.8/orchestrion/config/openai.d.ts +0 -2
- package/build/types-ts3.8/orchestrion/config/postgres.d.ts +1 -1
- package/build/types-ts3.8/orchestrion/config/prisma.d.ts +4 -0
- package/build/types-ts3.8/orchestrion/config/react-router.d.ts +4 -0
- package/build/types-ts3.8/orchestrion/config/remix.d.ts +9 -0
- package/build/types-ts3.8/orchestrion/config/tedious.d.ts +12 -0
- package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -1
- package/build/types-ts3.8/orchestrion/detect.d.ts +3 -10
- package/build/types-ts3.8/orchestrion/index.d.ts +56 -1
- package/build/types-ts3.8/orchestrion/runtime/register.d.ts +11 -9
- package/build/types-ts3.8/prisma/global.d.ts +5 -0
- package/build/types-ts3.8/prisma/index.d.ts +45 -0
- package/build/types-ts3.8/prisma/tracing-helper.d.ts +52 -0
- package/build/types-ts3.8/prisma/types.d.ts +40 -0
- package/build/types-ts3.8/vercel-ai/util.d.ts +0 -2
- package/package.json +40 -8
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare const mongooseConfig: ({
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
filePath: string;
|
|
5
|
+
name: "mongoose";
|
|
6
|
+
versionRange: ">=5.9.7 <9.7.0";
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
expressionName: string;
|
|
10
|
+
kind: "Auto";
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
channelName: string;
|
|
14
|
+
module: {
|
|
15
|
+
filePath: string;
|
|
16
|
+
name: "mongoose";
|
|
17
|
+
versionRange: ">=5.9.7 <9.7.0";
|
|
18
|
+
};
|
|
19
|
+
functionQuery: {
|
|
20
|
+
expressionName: string;
|
|
21
|
+
kind: "Sync";
|
|
22
|
+
};
|
|
23
|
+
})[];
|
|
24
|
+
export declare const mongooseChannels: {
|
|
25
|
+
readonly MONGOOSE_QUERY_EXEC: "orchestrion:mongoose:query_exec";
|
|
26
|
+
readonly MONGOOSE_AGGREGATE_EXEC: "orchestrion:mongoose:aggregate_exec";
|
|
27
|
+
readonly MONGOOSE_MODEL_SAVE: "orchestrion:mongoose:model_save";
|
|
28
|
+
readonly MONGOOSE_MODEL_INSERT_MANY: "orchestrion:mongoose:model_insert_many";
|
|
29
|
+
readonly MONGOOSE_MODEL_BULK_WRITE: "orchestrion:mongoose:model_bulk_write";
|
|
30
|
+
readonly MONGOOSE_MODEL_REMOVE: "orchestrion:mongoose:model_remove";
|
|
31
|
+
readonly MONGOOSE_MODEL_AGGREGATE: "orchestrion:mongoose:model_aggregate";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Fully-qualified names of the context-capture channels, derived from the
|
|
35
|
+
* same method list the transform config uses so the two can't drift. The
|
|
36
|
+
* subscriber subscribes to all of them uniformly to stash the build-time
|
|
37
|
+
* parent span (see `mongooseChannels` for the span-creating channels).
|
|
38
|
+
*/
|
|
39
|
+
export declare const MONGOOSE_CONTEXT_CAPTURE_CHANNELS: string[];
|
|
40
|
+
//# sourceMappingURL=mongoose.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mongoose.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/mongoose.ts"],"names":[],"mappings":"AAqCA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;IAoEQ,CAAC;AAEpC,eAAO,MAAM,gBAAgB;;;;;;;;CAQnB,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC,EAAE,MAAM,EAErD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const mysql2Config: {
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
className: string;
|
|
10
|
+
methodName: string;
|
|
11
|
+
kind: "Callback";
|
|
12
|
+
};
|
|
13
|
+
}[];
|
|
14
|
+
export declare const mysql2Channels: {
|
|
15
|
+
readonly MYSQL2_QUERY: "orchestrion:mysql2:query";
|
|
16
|
+
readonly MYSQL2_EXECUTE: "orchestrion:mysql2:execute";
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=mysql2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mysql2.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/mysql2.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,YAAY;;;;;;;;;;;;GAqBU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;CAGjB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { InstrumentationConfig } from '..';
|
|
2
|
+
/**
|
|
3
|
+
* NestJS is different from the other instrumentations here. It's a standalone
|
|
4
|
+
* metaframework SDK (`@sentry/nestjs`), so its channel LISTENER lives in that
|
|
5
|
+
* package rather than in `server-utils`. Only the code-transform config (and
|
|
6
|
+
* the channel names below) live here, so `@nestjs/*` is transformed whenever
|
|
7
|
+
* orchestrion is enabled, same as every other library.
|
|
8
|
+
*
|
|
9
|
+
* `@sentry/nestjs` imports {@link nestjsChannels} to subscribe, and picks the
|
|
10
|
+
* channel-vs-OTel path based on the global injection flag.
|
|
11
|
+
*/
|
|
12
|
+
export declare const nestjsConfig: InstrumentationConfig[];
|
|
13
|
+
export declare const nestjsChannels: {
|
|
14
|
+
readonly NESTJS_APP_CREATION: "orchestrion:@nestjs/core:nestFactoryCreate";
|
|
15
|
+
readonly NESTJS_ROUTER_CONTEXT: "orchestrion:@nestjs/core:routerExecutionContextCreate";
|
|
16
|
+
readonly NESTJS_INJECTABLE: "orchestrion:@nestjs/common:injectableDecorator";
|
|
17
|
+
readonly NESTJS_CATCH: "orchestrion:@nestjs/common:catchDecorator";
|
|
18
|
+
readonly NESTJS_SCHEDULE_CRON: "orchestrion:@nestjs/schedule:cronDecorator";
|
|
19
|
+
readonly NESTJS_SCHEDULE_INTERVAL: "orchestrion:@nestjs/schedule:intervalDecorator";
|
|
20
|
+
readonly NESTJS_SCHEDULE_TIMEOUT: "orchestrion:@nestjs/schedule:timeoutDecorator";
|
|
21
|
+
readonly NESTJS_ONEVENT: "orchestrion:@nestjs/event-emitter:onEventDecorator";
|
|
22
|
+
readonly NESTJS_PROCESSOR: "orchestrion:@nestjs/bullmq:processorDecorator";
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=nestjs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nestjs.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/nestjs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAmBhD;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,yBAqGU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;;;;;;;CAUjB,CAAC"}
|
|
@@ -13,8 +13,6 @@ export declare const openaiConfig: {
|
|
|
13
13
|
}[];
|
|
14
14
|
export declare const openaiChannels: {
|
|
15
15
|
readonly OPENAI_CHAT: "orchestrion:openai:chat";
|
|
16
|
-
readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
|
|
17
16
|
readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
|
|
18
|
-
readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
|
|
19
17
|
};
|
|
20
18
|
//# sourceMappingURL=openai.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/openai.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;GA2BU,CAAC;AAEpC,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/openai.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;GA2BU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;CAKjB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InstrumentationConfig } from '
|
|
1
|
+
import type { InstrumentationConfig } from '..';
|
|
2
2
|
export declare const postgresJsConfig: InstrumentationConfig[];
|
|
3
3
|
export declare const postgresJsChannels: {
|
|
4
4
|
readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AA+ChD,eAAO,MAAM,gBAAgB,yBAA8D,CAAC;AAE5F,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prisma.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/prisma.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,YAAY,EAAE,qBAAqB,EAAO,CAAC;AAExD,eAAO,MAAM,cAAc,IAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-router.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/react-router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAGhD,eAAO,MAAM,iBAAiB,EAAE,qBAAqB,EAAO,CAAC;AAE7D,eAAO,MAAM,mBAAmB,IAAc,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InstrumentationConfig } from '..';
|
|
2
|
+
export declare const remixConfig: InstrumentationConfig[];
|
|
3
|
+
export declare const remixChannels: {
|
|
4
|
+
readonly REMIX_REQUEST_HANDLER: "orchestrion:@remix-run/server-runtime:requestHandler";
|
|
5
|
+
readonly REMIX_MATCH_SERVER_ROUTES: "orchestrion:@remix-run/server-runtime:matchServerRoutes";
|
|
6
|
+
readonly REMIX_CALL_ROUTE_LOADER: "orchestrion:@remix-run/server-runtime:callRouteLoader";
|
|
7
|
+
readonly REMIX_CALL_ROUTE_ACTION: "orchestrion:@remix-run/server-runtime:callRouteAction";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=remix.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remix.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/remix.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAmDhD,eAAO,MAAM,WAAW,yBAA2D,CAAC;AAEpF,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { InstrumentationConfig } from '..';
|
|
2
|
+
export declare const tediousConfig: InstrumentationConfig[];
|
|
3
|
+
export declare const tediousChannels: {
|
|
4
|
+
readonly TEDIOUS_CONNECT: "orchestrion:tedious:connect";
|
|
5
|
+
readonly TEDIOUS_EXEC_SQL: "orchestrion:tedious:execSql";
|
|
6
|
+
readonly TEDIOUS_EXEC_SQL_BATCH: "orchestrion:tedious:execSqlBatch";
|
|
7
|
+
readonly TEDIOUS_CALL_PROCEDURE: "orchestrion:tedious:callProcedure";
|
|
8
|
+
readonly TEDIOUS_EXEC_BULK_LOAD: "orchestrion:tedious:execBulkLoad";
|
|
9
|
+
readonly TEDIOUS_PREPARE: "orchestrion:tedious:prepare";
|
|
10
|
+
readonly TEDIOUS_EXECUTE: "orchestrion:tedious:execute";
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=tedious.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tedious.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/tedious.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAgBhD,eAAO,MAAM,aAAa,EAAE,qBAAqB,EAI9C,CAAC;AAEJ,eAAO,MAAM,eAAe;;;;;;;;CAQlB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InstrumentationConfig } from '
|
|
1
|
+
import type { InstrumentationConfig } from '..';
|
|
2
2
|
export declare const vercelAiConfig: InstrumentationConfig[];
|
|
3
3
|
export declare const vercelAiChannels: {
|
|
4
4
|
readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vercel-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/vercel-ai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"vercel-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/vercel-ai.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAEhD,eAAO,MAAM,cAAc,yBAsBQ,CAAC;AAEpC,eAAO,MAAM,gBAAgB;;;;;;;;CAcnB,CAAC"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
declare global {
|
|
2
|
-
var __SENTRY_ORCHESTRION__: {
|
|
3
|
-
runtime?: boolean;
|
|
4
|
-
bundler?: boolean;
|
|
5
|
-
} | undefined;
|
|
6
|
-
}
|
|
7
1
|
/**
|
|
8
2
|
* Whether orchestrion has injected the diagnostics channels into this process,
|
|
9
3
|
* either by the runtime `--import` hook / init-time registration (`runtime`)
|
|
@@ -17,7 +11,9 @@ export declare function isOrchestrionInjected(): boolean;
|
|
|
17
11
|
/**
|
|
18
12
|
* Verifies that the diagnostics channels have been injected either by the
|
|
19
13
|
* runtime `--import` hook (or init-time registration), a bundler plugin, or
|
|
20
|
-
* both, and warns if not.
|
|
14
|
+
* both, and warns if not. When at least one injector is active, logs for each
|
|
15
|
+
* mechanism whether it hooked (a defined array, even empty, means it did) and
|
|
16
|
+
* which libraries it injected.
|
|
21
17
|
*
|
|
22
18
|
* Both injectors being active at once is fine: they operate on disjoint module
|
|
23
19
|
* sets (a module is either loaded through Node's loader and transformed by the
|
|
@@ -25,9 +21,6 @@ export declare function isOrchestrionInjected(): boolean;
|
|
|
25
21
|
* a single module can't be double-wrapped. A hybrid setup, with some deps
|
|
26
22
|
* external and runtime-instrumented, others bundled and plugin-instrumented,
|
|
27
23
|
* is fine.
|
|
28
|
-
*
|
|
29
|
-
* Note: intentionally does NOT warn in production, only in debug builds,
|
|
30
|
-
* because production warnings are reserved for truly critical issues.
|
|
31
24
|
*/
|
|
32
25
|
export declare function detectOrchestrionSetup(): void;
|
|
33
26
|
//# sourceMappingURL=detect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/detect.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"detect.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/detect.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,IAAI,OAAO,CAE/C;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,sBAAsB,IAAI,IAAI,CAsB7C"}
|
|
@@ -1,22 +1,38 @@
|
|
|
1
1
|
import { amqplibChannelIntegration } from '../integrations/tracing-channel/amqplib';
|
|
2
2
|
import { anthropicChannelIntegration } from '../integrations/tracing-channel/anthropic';
|
|
3
|
+
import { awsChannelIntegration } from '../integrations/tracing-channel/aws-sdk';
|
|
4
|
+
import { dataloaderChannelIntegration } from '../integrations/tracing-channel/dataloader';
|
|
5
|
+
import { genericPoolChannelIntegration } from '../integrations/tracing-channel/generic-pool';
|
|
3
6
|
import { googleGenAIChannelIntegration } from '../integrations/tracing-channel/google-genai';
|
|
4
7
|
import { graphqlChannelIntegration } from '../integrations/tracing-channel/graphql';
|
|
5
8
|
import { hapiChannelIntegration } from '../integrations/tracing-channel/hapi';
|
|
9
|
+
import { koaChannelIntegration } from '../integrations/tracing-channel/koa';
|
|
6
10
|
import { ioredisChannelIntegration } from '../integrations/tracing-channel/ioredis';
|
|
11
|
+
import { kafkajsChannelIntegration } from '../integrations/tracing-channel/kafkajs';
|
|
12
|
+
import { knexChannelIntegration } from '../integrations/tracing-channel/knex';
|
|
13
|
+
import { langChainChannelIntegration } from '../integrations/tracing-channel/langchain';
|
|
14
|
+
import { langGraphChannelIntegration } from '../integrations/tracing-channel/langgraph';
|
|
7
15
|
import { lruMemoizerChannelIntegration } from '../integrations/tracing-channel/lru-memoizer';
|
|
16
|
+
import { mongodbChannelIntegration } from '../integrations/tracing-channel/mongodb';
|
|
17
|
+
import { mongooseChannelIntegration } from '../integrations/tracing-channel/mongoose';
|
|
8
18
|
import { mysqlChannelIntegration } from '../integrations/tracing-channel/mysql';
|
|
19
|
+
import { mysql2ChannelIntegration } from '../integrations/tracing-channel/mysql2';
|
|
9
20
|
import { openaiChannelIntegration } from '../integrations/tracing-channel/openai';
|
|
10
21
|
import { postgresChannelIntegration } from '../integrations/tracing-channel/postgres';
|
|
11
22
|
import { postgresJsChannelIntegration } from '../integrations/tracing-channel/postgres-js';
|
|
23
|
+
import { tediousChannelIntegration } from '../integrations/tracing-channel/tedious';
|
|
12
24
|
import { vercelAiChannelIntegration } from '../integrations/tracing-channel/vercel-ai';
|
|
13
25
|
import { expressChannelIntegration } from '../integrations/tracing-channel/express';
|
|
14
26
|
export { detectOrchestrionSetup, isOrchestrionInjected } from './detect';
|
|
15
|
-
export {
|
|
27
|
+
export { nestjsChannels } from './config/nestjs';
|
|
28
|
+
export { remixChannels } from './config/remix';
|
|
29
|
+
export { amqplibChannelIntegration, anthropicChannelIntegration, awsChannelIntegration, dataloaderChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, koaChannelIntegration, ioredisChannelIntegration, kafkajsChannelIntegration, knexChannelIntegration, langChainChannelIntegration, langGraphChannelIntegration, lruMemoizerChannelIntegration, mongodbChannelIntegration, mongooseChannelIntegration, mysqlChannelIntegration, mysql2ChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, tediousChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, };
|
|
30
|
+
export type { KoaChannelIntegrationOptions } from '../integrations/tracing-channel/koa';
|
|
16
31
|
export type { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../integrations/tracing-channel/ioredis';
|
|
17
32
|
export type { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';
|
|
18
33
|
export { redisChannelIntegration } from '../integrations/tracing-channel/redis';
|
|
19
34
|
export type { RedisChannelIntegrationOptions, RedisResponseHook } from '../integrations/tracing-channel/redis';
|
|
35
|
+
export type { InstrumentationConfig, CustomTransform } from '@apm-js-collab/code-transformer-bundler-plugins/core';
|
|
20
36
|
export type * from '../integrations/tracing-channel/graphql/graphql-types';
|
|
21
37
|
/**
|
|
22
38
|
* The canonical set of orchestrion diagnostics-channel integrations, keyed by their public
|
|
@@ -30,6 +46,15 @@ export type * from '../integrations/tracing-channel/graphql/graphql-types';
|
|
|
30
46
|
* NOTE: `ioredisChannelIntegration` and `redisChannelIntegration` are intentionally NOT here. They
|
|
31
47
|
* only partially replace the composite OTel `Redis` integration and need the node SDK's redis cache
|
|
32
48
|
* `responseHook` (which can't live in `server-utils`), so `@sentry/node` wires them up separately.
|
|
49
|
+
*
|
|
50
|
+
* Framework SDKs that own their own channel listener (e.g. `@sentry/nestjs`'s `Nest`) are NOT here
|
|
51
|
+
* either: their transform config is still in `SENTRY_INSTRUMENTATIONS`, but the listener lives in
|
|
52
|
+
* their package and picks the channel-vs-OTel path itself at `setupOnce`, so it needs no central swap.
|
|
53
|
+
*
|
|
54
|
+
* NOTE: `dataloaderChannelIntegration` is also NOT here. Everything in this map is auto-appended to
|
|
55
|
+
* the default integrations, but the OTel `Dataloader` integration is opt-in (never a default). Like
|
|
56
|
+
* `@sentry/nestjs`'s `Nest`, its `@sentry/node` factory picks the channel-vs-OTel path itself at
|
|
57
|
+
* `setupOnce` (via `isOrchestrionInjected()`), so there's nothing for the central swap to do.
|
|
33
58
|
*/
|
|
34
59
|
export declare const channelIntegrations: {
|
|
35
60
|
readonly postgresIntegration: (options?: {
|
|
@@ -40,9 +65,21 @@ export declare const channelIntegrations: {
|
|
|
40
65
|
readonly postgresJsIntegration: (options?: import(".").PostgresJsChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
41
66
|
name: "PostgresJs";
|
|
42
67
|
};
|
|
68
|
+
readonly mongoIntegration: () => import("@sentry/core").Integration & {
|
|
69
|
+
name: "Mongo";
|
|
70
|
+
};
|
|
43
71
|
readonly mysqlIntegration: () => import("@sentry/core").Integration & {
|
|
44
72
|
name: "Mysql";
|
|
45
73
|
};
|
|
74
|
+
readonly mysql2Integration: () => import("@sentry/core").Integration & {
|
|
75
|
+
name: "Mysql2";
|
|
76
|
+
};
|
|
77
|
+
readonly genericPoolIntegration: () => import("@sentry/core").Integration & {
|
|
78
|
+
name: "GenericPool";
|
|
79
|
+
};
|
|
80
|
+
readonly mongooseIntegration: () => import("@sentry/core").Integration & {
|
|
81
|
+
name: "Mongoose";
|
|
82
|
+
};
|
|
46
83
|
readonly lruMemoizerIntegration: () => import("@sentry/core").Integration & {
|
|
47
84
|
name: "LruMemoizer";
|
|
48
85
|
};
|
|
@@ -55,6 +92,12 @@ export declare const channelIntegrations: {
|
|
|
55
92
|
readonly googleGenAIIntegration: (options?: import("@sentry/core").GoogleGenAIOptions | undefined) => import("@sentry/core").Integration & {
|
|
56
93
|
name: "Google_GenAI";
|
|
57
94
|
};
|
|
95
|
+
readonly langChainIntegration: (options?: import("@sentry/core").LangChainOptions | undefined) => import("@sentry/core").Integration & {
|
|
96
|
+
name: "LangChain";
|
|
97
|
+
};
|
|
98
|
+
readonly langGraphIntegration: (options?: import("@sentry/core").LangGraphOptions | undefined) => import("@sentry/core").Integration & {
|
|
99
|
+
name: "LangGraph";
|
|
100
|
+
};
|
|
58
101
|
readonly vercelAiIntegration: (options?: {
|
|
59
102
|
recordInputs?: boolean;
|
|
60
103
|
recordOutputs?: boolean;
|
|
@@ -68,6 +111,9 @@ export declare const channelIntegrations: {
|
|
|
68
111
|
readonly hapiIntegration: () => import("@sentry/core").Integration & {
|
|
69
112
|
name: "Hapi";
|
|
70
113
|
};
|
|
114
|
+
readonly koaIntegration: (options?: import(".").KoaChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
115
|
+
name: "Koa";
|
|
116
|
+
};
|
|
71
117
|
readonly expressIntegration: (options?: import("../integrations/tracing-channel/express/types").ExpressIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
72
118
|
name: "Express";
|
|
73
119
|
};
|
|
@@ -77,5 +123,14 @@ export declare const channelIntegrations: {
|
|
|
77
123
|
name: "Graphql";
|
|
78
124
|
setupOnce: () => void | undefined;
|
|
79
125
|
};
|
|
126
|
+
readonly kafkajsIntegration: () => import("@sentry/core").Integration & {
|
|
127
|
+
name: "Kafka";
|
|
128
|
+
};
|
|
129
|
+
readonly tediousIntegration: () => import("@sentry/core").Integration & {
|
|
130
|
+
name: "Tedious";
|
|
131
|
+
};
|
|
132
|
+
readonly awsIntegration: () => import("@sentry/core").Integration & {
|
|
133
|
+
name: "Aws";
|
|
134
|
+
};
|
|
80
135
|
};
|
|
81
136
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EACL,yBAAyB,EAE1B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC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AAM,qCAAqC,CAAC;AACxF,YAAY,EAAE,gCAAgC,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACrH,YAAY,EAAE,mCAAmC,EAAE,MAAM,6CAA6C,CAAC;AACvG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,YAAY,EAAE,8BAA8B,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC/G,YAAY,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,sDAAsD,CAAC;AAInH,mBAAmB,uDAAuD,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBtB,CAAC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
export interface RegisterDiagnosticsChannelInjectionOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Absolute directory of the `@apm-js-collab/tracing-hooks` package (forward slashes).
|
|
4
|
+
*
|
|
5
|
+
* Needed when SDK code is bundled into an app's server build: the default bare-specifier
|
|
6
|
+
* require then resolves from the emitted chunk, which fails under isolated installs (pnpm).
|
|
7
|
+
* Framework SDKs (e.g. `@sentry/nextjs`) resolve the package at build time and pass its
|
|
8
|
+
* location here; it is loaded through an opaque `createRequire` that bundlers can't trace.
|
|
9
|
+
*/
|
|
10
|
+
tracingHooksDir?: string;
|
|
6
11
|
}
|
|
7
12
|
/**
|
|
8
13
|
* Synchronously register the diagnostics-channel injection module hooks.
|
|
@@ -15,9 +20,6 @@ declare global {
|
|
|
15
20
|
*
|
|
16
21
|
* Libraries imported *after* this call publish the `tracingChannel` events that
|
|
17
22
|
* the channel-based integrations subscribe to.
|
|
18
|
-
*
|
|
19
|
-
* Idempotent via `globalThis.__SENTRY_ORCHESTRION__` — a no-op if the runtime
|
|
20
|
-
* `--import` hook or a bundler plugin already injected the channels.
|
|
21
23
|
*/
|
|
22
|
-
export declare function registerDiagnosticsChannelInjection(): void;
|
|
24
|
+
export declare function registerDiagnosticsChannelInjection(options?: RegisterDiagnosticsChannelInjectionOptions): void;
|
|
23
25
|
//# sourceMappingURL=register.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/runtime/register.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"register.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/runtime/register.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,0CAA0C;IACzD;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAgBD;;;;;;;;;;;GAWG;AACH,wBAAgB,mCAAmC,CAAC,OAAO,CAAC,EAAE,0CAA0C,GAAG,IAAI,CAiJ9G"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { TracingHelper } from './types';
|
|
2
|
+
export declare function getGlobalTracingHelper(): TracingHelper | undefined;
|
|
3
|
+
export declare function setGlobalTracingHelper(helper: TracingHelper): void;
|
|
4
|
+
export declare function clearGlobalTracingHelper(): void;
|
|
5
|
+
//# sourceMappingURL=global.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../../src/prisma/global.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAoC,aAAa,EAAE,MAAM,SAAS,CAAC;AAe/E,wBAAgB,sBAAsB,IAAI,aAAa,GAAG,SAAS,CAUlE;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,CAKlE;AAED,wBAAgB,wBAAwB,IAAI,IAAI,CAG/C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export interface PrismaInstrumentationConfig {
|
|
2
|
+
/**
|
|
3
|
+
* Span types that should not be traced. Matched against the full span name (e.g. `prisma:client:operation`),
|
|
4
|
+
* either exactly (string) or by pattern (RegExp).
|
|
5
|
+
*/
|
|
6
|
+
ignoreSpanTypes?: (string | RegExp)[];
|
|
7
|
+
}
|
|
8
|
+
export interface PrismaOptions {
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated This is no longer used, v5 works out of the box.
|
|
11
|
+
*/
|
|
12
|
+
prismaInstrumentation?: unknown;
|
|
13
|
+
/**
|
|
14
|
+
* Configuration for the Prisma tracing helper.
|
|
15
|
+
*/
|
|
16
|
+
instrumentationConfig?: PrismaInstrumentationConfig;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Sets up the global Prisma tracing helper that Prisma looks up on `globalThis` to emit tracing data.
|
|
20
|
+
*
|
|
21
|
+
* Prisma reads `globalThis.PRISMA_INSTRUMENTATION` (and its versioned variant) to find a "TracingHelper"
|
|
22
|
+
* which it uses internally to create spans, so it can produce tracing data without depending on
|
|
23
|
+
* OpenTelemetry. The helper we install here mints spans through Sentry's span APIs. A single helper
|
|
24
|
+
* serves both Prisma v5 (which calls `createEngineSpan`) and v6/v7 (which call `dispatchEngineSpans`),
|
|
25
|
+
* so it doesn't blow up on version mismatches.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instrumentPrisma(options?: PrismaOptions): void;
|
|
28
|
+
/**
|
|
29
|
+
* Adds Sentry tracing instrumentation for the [prisma](https://www.npmjs.com/package/prisma) library.
|
|
30
|
+
* For more information, see the [`prismaIntegration` documentation](https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/prisma/).
|
|
31
|
+
*
|
|
32
|
+
* NOTE: This integration works out of the box with Prisma v6, and v7.
|
|
33
|
+
* On Prisma versions prior to v6, add `previewFeatures = ["tracing"]` to the client generator block of your Prisma schema:
|
|
34
|
+
*
|
|
35
|
+
* ```
|
|
36
|
+
* generator client {
|
|
37
|
+
* provider = "prisma-client-js"
|
|
38
|
+
* previewFeatures = ["tracing"]
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare const prismaIntegration: (options?: PrismaOptions | undefined) => import("@sentry/core").Integration & {
|
|
43
|
+
name: "Prisma";
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/prisma/index.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CACvC;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC;;OAEG;IACH,qBAAqB,CAAC,EAAE,2BAA2B,CAAC;CACrD;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,CAM9D;AAWD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iBAAiB;;CAAwC,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Span } from '@sentry/core';
|
|
2
|
+
import type { EngineSpan, ExtendedSpanOptions, SpanCallback, TracingHelper } from './types';
|
|
3
|
+
type Options = {
|
|
4
|
+
ignoreSpanTypes: (string | RegExp)[];
|
|
5
|
+
};
|
|
6
|
+
type V5EngineSpanEvent = {
|
|
7
|
+
span: boolean;
|
|
8
|
+
spans: V5EngineSpan[];
|
|
9
|
+
};
|
|
10
|
+
type V5EngineSpanKind = 'client' | 'internal';
|
|
11
|
+
type V5EngineSpan = {
|
|
12
|
+
span: boolean;
|
|
13
|
+
name: string;
|
|
14
|
+
trace_id: string;
|
|
15
|
+
span_id: string;
|
|
16
|
+
parent_span_id: string;
|
|
17
|
+
start_time: [number, number];
|
|
18
|
+
end_time: [number, number];
|
|
19
|
+
attributes?: Record<string, string>;
|
|
20
|
+
links?: {
|
|
21
|
+
trace_id: string;
|
|
22
|
+
span_id: string;
|
|
23
|
+
}[];
|
|
24
|
+
kind: V5EngineSpanKind;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* This satisifes the TracingHelper interface for Prisma v5 and v6/v7.
|
|
28
|
+
*/
|
|
29
|
+
export declare class ActiveTracingHelper implements TracingHelper {
|
|
30
|
+
private ignoreSpanTypes;
|
|
31
|
+
constructor({ ignoreSpanTypes }: Options);
|
|
32
|
+
isEnabled(): boolean;
|
|
33
|
+
getTraceParent(span?: Span): string;
|
|
34
|
+
dispatchEngineSpans(spans: EngineSpan[]): void;
|
|
35
|
+
/**
|
|
36
|
+
* Prisma v5 broke the tracing helper interface with the v6 major, replacing `createEngineSpan` with
|
|
37
|
+
* `dispatchEngineSpans`. We implement the v6/v7 interface (`dispatchEngineSpans`) but also keep this
|
|
38
|
+
* v5-only method so the same helper doesn't blow up in Prisma 5 users' faces, minting v5 engine spans
|
|
39
|
+
* through Sentry's span APIs instead of crashing.
|
|
40
|
+
*/
|
|
41
|
+
createEngineSpan(engineSpanEvent: V5EngineSpanEvent): void;
|
|
42
|
+
getActiveContext(): Span | undefined;
|
|
43
|
+
runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
46
|
+
//# sourceMappingURL=tracing-helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tracing-helper.d.ts","sourceRoot":"","sources":["../../../src/prisma/tracing-helper.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AAWzD,OAAO,KAAK,EAAE,UAAU,EAAE,mBAAmB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAiB5F,KAAK,OAAO,GAAG;IACb,eAAe,EAAE,CAAC,MAAM,GAAG,MAAM,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ributes, SpanKindValue, SpanLink, SpanTimeInput } from '@sentry/core';
|
|
2
|
+
export type SpanCallback<R> = (span?: Span, parentSpan?: Span) => R;
|
|
3
|
+
export interface ExtendedSpanOptions {
|
|
4
|
+
/** The name of the span */
|
|
5
|
+
name: string;
|
|
6
|
+
internal?: boolean;
|
|
7
|
+
/** Whether it propagates context (?=true) */
|
|
8
|
+
active?: boolean;
|
|
9
|
+
attributes?: SpanAttributes;
|
|
10
|
+
kind?: SpanKindValue;
|
|
11
|
+
links?: SpanLink[];
|
|
12
|
+
startTime?: SpanTimeInput;
|
|
13
|
+
}
|
|
14
|
+
export type EngineSpanId = string;
|
|
15
|
+
export type HrTime = [number, number];
|
|
16
|
+
export type EngineSpanKind = 'client' | 'internal';
|
|
17
|
+
export type EngineSpan = {
|
|
18
|
+
id: EngineSpanId;
|
|
19
|
+
parentId: string | null;
|
|
20
|
+
name: string;
|
|
21
|
+
startTime: HrTime;
|
|
22
|
+
endTime: HrTime;
|
|
23
|
+
kind: EngineSpanKind;
|
|
24
|
+
attributes?: Record<string, unknown>;
|
|
25
|
+
links?: EngineSpanId[];
|
|
26
|
+
};
|
|
27
|
+
export interface TracingHelper {
|
|
28
|
+
isEnabled(): boolean;
|
|
29
|
+
getTraceParent(span?: Span): string;
|
|
30
|
+
dispatchEngineSpans(spans: EngineSpan[]): void;
|
|
31
|
+
getActiveContext(): Span | undefined;
|
|
32
|
+
runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;
|
|
33
|
+
}
|
|
34
|
+
export interface PrismaInstrumentationGlobalValue {
|
|
35
|
+
helper?: TracingHelper;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/prisma/types.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,aAAa,EAAE,QAAQ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AAC,EAAE,aAAa,EAAE,MAAM,GAAG,mBAAmB,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;CAC9F;AAED,MAAM,WAAW,gCAAgC;IAC/C,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB"}
|
|
@@ -5,8 +5,6 @@ export declare function asString(value: unknown): string | undefined;
|
|
|
5
5
|
export declare function asNumber(value: unknown): number | undefined;
|
|
6
6
|
/** Add two optional numbers, treating a missing operand as `0` but returning `undefined` when both are absent. */
|
|
7
7
|
export declare function sum(a: number | undefined, b: number | undefined): number | undefined;
|
|
8
|
-
/** Stringify a value, passing strings through and falling back to a placeholder on circular/unserializable input. */
|
|
9
|
-
export declare function safeStringify(value: unknown): string;
|
|
10
8
|
/** The aggregate handed back once a streamed model call finishes, in the shape `enrichSpanOnEnd` expects. */
|
|
11
9
|
export interface StreamedModelCallResult {
|
|
12
10
|
text?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/util.ts"],"names":[],"mappings":"AAAA,iHAAiH;AAIjH,4DAA4D;AAC5D,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAE3D;AAED,qFAAqF;AACrF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAE3D;AAED,kHAAkH;AAClH,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAEpF;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/util.ts"],"names":[],"mappings":"AAAA,iHAAiH;AAIjH,4DAA4D;AAC5D,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAE3D;AAED,qFAAqF;AACrF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAE3D;AAED,kHAAkH;AAClH,wBAAgB,GAAG,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAEpF;AAoCD,6GAA6G;AAC7G,MAAM,WAAW,uBAAuB;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1C,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,8GAA8G;AAC9G,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,cAAc,CAAC,OAAO,CAAC,CAMjF;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,cAAc,CAAC,OAAO,CAAC,EAC/B,OAAO,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,EAClD,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,GAChC,cAAc,CAAC,OAAO,CAAC,CAkDzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vercel-ai-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/vercel-ai-dc-subscriber.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"vercel-ai-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/vercel-ai-dc-subscriber.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,IAAI,EAAkB,MAAM,c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BAAgB,qBAAqB,CACnC,IAAI,EAAE,sBAAsB,EAC5B,cAAc,EAAE,sBAAsB,GACrC,IAAI,GAAG,SAAS,CAuDlB;AA6ED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,sBAAsB,EAC5B,cAAc,EAAE,sBAAsB,GACrC,IAAI,CAsFN;AAuED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CA0B/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vercel-ai-orchestrion-subscriber.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/vercel-ai-orchestrion-subscriber.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vercel-ai-orchestrion-subscriber.d.ts","sourceRoot":"","sources":["../../../src/vercel-ai/vercel-ai-orchestrion-subscriber.ts"],"names":[],"mappings":"AAaA,OAAO,EAQL,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EACnC,MAAM,2BAA2B,CAAC;AA8GnC;;;;;;;;GAQG;AACH,wBAAgB,oCAAoC,CAClD,cAAc,EAAE,6BAA6B,EAC7C,OAAO,GAAE,sBAA2B,GACnC,IAAI,CA8DN"}
|
|
@@ -29,12 +29,8 @@ export declare function getOperationSpanName(operationType: string | undefined,
|
|
|
29
29
|
/** Whether a graphql execution result carries GraphQL errors (returned on `result.errors`). */
|
|
30
30
|
export declare function hasResultErrors(result: unknown): boolean;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* the original source text is preserved verbatim except that string/number literal spans are
|
|
34
|
-
* replaced (`"foo"` -> `"*"`, `42` -> `*`). graphql does not sanitize its channel payload, so this
|
|
35
|
-
* prevents raw inline values (potential PII) from leaving the process. Variable values are never
|
|
36
|
-
* included. Returns `undefined` (rather than throwing) on anything it cannot serialize.
|
|
32
|
+
* Returns the redacted document if `dataCollection.graphQL.document` is enabled, `undefined` otherwise.
|
|
37
33
|
*/
|
|
38
|
-
export declare function
|
|
34
|
+
export declare function collectGraphqlDocument(document: GraphqlDocumentNode | undefined): string | undefined;
|
|
39
35
|
export {};
|
|
40
36
|
//# sourceMappingURL=utils.d.ts.map
|