@sentry/server-utils 10.64.0 → 10.66.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 +123 -0
- package/build/cjs/graphql/graphql-dc-subscriber.js.map +1 -0
- package/build/cjs/graphql/index.js +23 -0
- package/build/cjs/graphql/index.js.map +1 -0
- package/build/cjs/graphql/utils.js +92 -0
- package/build/cjs/graphql/utils.js.map +1 -0
- package/build/cjs/index.js +13 -11
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/amqplib.js +420 -0
- package/build/cjs/integrations/tracing-channel/amqplib.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/index.js +24 -0
- package/build/cjs/integrations/tracing-channel/express/index.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/express/instrumentation.js +173 -0
- package/build/cjs/integrations/tracing-channel/express/instrumentation.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/express/route.js +76 -0
- package/build/cjs/integrations/tracing-channel/express/route.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +1 -1
- package/build/cjs/integrations/tracing-channel/fastify/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/google-genai.js +96 -0
- package/build/cjs/integrations/tracing-channel/google-genai.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/graphql/constants.js +26 -0
- package/build/cjs/integrations/tracing-channel/graphql/constants.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/graphql/index.js +66 -0
- package/build/cjs/integrations/tracing-channel/graphql/index.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/graphql/resolvers.js +168 -0
- package/build/cjs/integrations/tracing-channel/graphql/resolvers.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/graphql/spans.js +102 -0
- package/build/cjs/integrations/tracing-channel/graphql/spans.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/ioredis.js +35 -32
- 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/mysql.js +1 -1
- package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
- 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.map +1 -1
- package/build/cjs/integrations/tracing-channel/postgres-js.js +191 -0
- package/build/cjs/integrations/tracing-channel/postgres-js.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/postgres.js +5 -5
- package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/redis.js +227 -0
- package/build/cjs/integrations/tracing-channel/redis.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/vercel-ai.js +2 -2
- package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -1
- package/build/cjs/mongoose/mongoose-dc-subscriber.js +1 -1
- package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -1
- package/build/cjs/mysql2/index.js +23 -0
- package/build/cjs/mysql2/index.js.map +1 -0
- package/build/cjs/mysql2/mysql2-dc-subscriber.js +68 -0
- package/build/cjs/mysql2/mysql2-dc-subscriber.js.map +1 -0
- package/build/cjs/orchestrion/bundler/esbuild.js +11 -0
- package/build/cjs/orchestrion/bundler/esbuild.js.map +1 -0
- package/build/cjs/orchestrion/bundler/options.js +15 -0
- package/build/cjs/orchestrion/bundler/options.js.map +1 -0
- package/build/cjs/orchestrion/bundler/rollup.js +11 -0
- package/build/cjs/orchestrion/bundler/rollup.js.map +1 -0
- package/build/cjs/orchestrion/bundler/vite.js +4 -21
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/bundler/webpack.js +32 -0
- package/build/cjs/orchestrion/bundler/webpack.js.map +1 -0
- package/build/cjs/orchestrion/channels.js +53 -11
- package/build/cjs/orchestrion/channels.js.map +1 -1
- package/build/cjs/orchestrion/config/amqplib.js +81 -0
- package/build/cjs/orchestrion/config/amqplib.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 +76 -0
- package/build/cjs/orchestrion/config/express.js.map +1 -0
- 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 +38 -0
- package/build/cjs/orchestrion/config/google-genai.js.map +1 -0
- package/build/cjs/orchestrion/config/graphql.js +28 -0
- package/build/cjs/orchestrion/config/graphql.js.map +1 -0
- package/build/cjs/orchestrion/config/index.js +59 -14
- package/build/cjs/orchestrion/config/index.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/langchain.js +8 -0
- package/build/cjs/orchestrion/config/langchain.js.map +1 -0
- package/build/cjs/orchestrion/config/langgraph.js +8 -0
- package/build/cjs/orchestrion/config/langgraph.js.map +1 -0
- package/build/cjs/orchestrion/config/mongodb.js +8 -0
- package/build/cjs/orchestrion/config/mongodb.js.map +1 -0
- package/build/cjs/orchestrion/config/mongoose.js +8 -0
- package/build/cjs/orchestrion/config/mongoose.js.map +1 -0
- 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/postgres.js +50 -0
- package/build/cjs/orchestrion/config/postgres.js.map +1 -0
- 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 +76 -0
- package/build/cjs/orchestrion/config/redis.js.map +1 -0
- package/build/cjs/orchestrion/config/remix.js +8 -0
- package/build/cjs/orchestrion/config/remix.js.map +1 -0
- package/build/cjs/orchestrion/config/tedious.js +8 -0
- package/build/cjs/orchestrion/config/tedious.js.map +1 -0
- package/build/cjs/orchestrion/config/vercel-ai.js +18 -14
- 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 +33 -1
- package/build/cjs/orchestrion/index.js.map +1 -1
- package/build/cjs/orchestrion/runtime/register.js +25 -14
- 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/index.js +23 -0
- package/build/cjs/redis/index.js.map +1 -0
- package/build/cjs/redis/redis-dc-subscriber.js +23 -35
- package/build/cjs/redis/redis-dc-subscriber.js.map +1 -1
- package/build/cjs/tracing-channel.js +7 -6
- package/build/cjs/tracing-channel.js.map +1 -1
- package/build/cjs/vercel-ai/util.js +112 -0
- package/build/cjs/vercel-ai/util.js.map +1 -0
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +138 -74
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/cjs/vercel-ai/{vercel-ai-orchestrion-v6-subscriber.js → vercel-ai-orchestrion-subscriber.js} +153 -23
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
- package/build/esm/graphql/graphql-dc-subscriber.js +116 -0
- package/build/esm/graphql/graphql-dc-subscriber.js.map +1 -0
- package/build/esm/graphql/index.js +21 -0
- package/build/esm/graphql/index.js.map +1 -0
- package/build/esm/graphql/utils.js +87 -0
- package/build/esm/graphql/utils.js.map +1 -0
- package/build/esm/index.js +4 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/integrations/tracing-channel/amqplib.js +418 -0
- package/build/esm/integrations/tracing-channel/amqplib.js.map +1 -0
- package/build/esm/integrations/tracing-channel/anthropic.js +1 -1
- 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/index.js +22 -0
- package/build/esm/integrations/tracing-channel/express/index.js.map +1 -0
- package/build/esm/integrations/tracing-channel/express/instrumentation.js +171 -0
- package/build/esm/integrations/tracing-channel/express/instrumentation.js.map +1 -0
- package/build/esm/integrations/tracing-channel/express/route.js +68 -0
- package/build/esm/integrations/tracing-channel/express/route.js.map +1 -0
- package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +2 -2
- package/build/esm/integrations/tracing-channel/fastify/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/google-genai.js +94 -0
- package/build/esm/integrations/tracing-channel/google-genai.js.map +1 -0
- package/build/esm/integrations/tracing-channel/graphql/constants.js +14 -0
- package/build/esm/integrations/tracing-channel/graphql/constants.js.map +1 -0
- package/build/esm/integrations/tracing-channel/graphql/index.js +63 -0
- package/build/esm/integrations/tracing-channel/graphql/index.js.map +1 -0
- package/build/esm/integrations/tracing-channel/graphql/resolvers.js +164 -0
- package/build/esm/integrations/tracing-channel/graphql/resolvers.js.map +1 -0
- package/build/esm/integrations/tracing-channel/graphql/spans.js +96 -0
- package/build/esm/integrations/tracing-channel/graphql/spans.js.map +1 -0
- package/build/esm/integrations/tracing-channel/ioredis.js +36 -34
- 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/mysql.js +2 -2
- package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
- 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 -1
- package/build/esm/integrations/tracing-channel/openai.js.map +1 -1
- package/build/esm/integrations/tracing-channel/postgres-js.js +189 -0
- package/build/esm/integrations/tracing-channel/postgres-js.js.map +1 -0
- package/build/esm/integrations/tracing-channel/postgres.js +6 -6
- package/build/esm/integrations/tracing-channel/postgres.js.map +1 -1
- package/build/esm/integrations/tracing-channel/redis.js +225 -0
- package/build/esm/integrations/tracing-channel/redis.js.map +1 -0
- package/build/esm/integrations/tracing-channel/vercel-ai.js +1 -1
- package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -1
- package/build/esm/mongoose/mongoose-dc-subscriber.js +2 -2
- package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -1
- package/build/esm/mysql2/index.js +21 -0
- package/build/esm/mysql2/index.js.map +1 -0
- package/build/esm/mysql2/mysql2-dc-subscriber.js +62 -0
- package/build/esm/mysql2/mysql2-dc-subscriber.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 +13 -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 +53 -11
- package/build/esm/orchestrion/channels.js.map +1 -1
- package/build/esm/orchestrion/config/amqplib.js +78 -0
- package/build/esm/orchestrion/config/amqplib.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 +73 -0
- package/build/esm/orchestrion/config/express.js.map +1 -0
- 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 +35 -0
- package/build/esm/orchestrion/config/google-genai.js.map +1 -0
- package/build/esm/orchestrion/config/graphql.js +25 -0
- package/build/esm/orchestrion/config/graphql.js.map +1 -0
- package/build/esm/orchestrion/config/index.js +59 -15
- package/build/esm/orchestrion/config/index.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/langchain.js +5 -0
- package/build/esm/orchestrion/config/langchain.js.map +1 -0
- package/build/esm/orchestrion/config/langgraph.js +5 -0
- package/build/esm/orchestrion/config/langgraph.js.map +1 -0
- package/build/esm/orchestrion/config/mongodb.js +5 -0
- package/build/esm/orchestrion/config/mongodb.js.map +1 -0
- package/build/esm/orchestrion/config/mongoose.js +5 -0
- package/build/esm/orchestrion/config/mongoose.js.map +1 -0
- 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/postgres.js +47 -0
- package/build/esm/orchestrion/config/postgres.js.map +1 -0
- 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 +73 -0
- package/build/esm/orchestrion/config/redis.js.map +1 -0
- package/build/esm/orchestrion/config/remix.js +5 -0
- package/build/esm/orchestrion/config/remix.js.map +1 -0
- package/build/esm/orchestrion/config/tedious.js +5 -0
- package/build/esm/orchestrion/config/tedious.js.map +1 -0
- package/build/esm/orchestrion/config/vercel-ai.js +18 -14
- 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 +23 -2
- package/build/esm/orchestrion/index.js.map +1 -1
- package/build/esm/orchestrion/runtime/register.js +27 -16
- 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/index.js +21 -0
- package/build/esm/redis/index.js.map +1 -0
- package/build/esm/redis/redis-dc-subscriber.js +24 -36
- package/build/esm/redis/redis-dc-subscriber.js.map +1 -1
- package/build/esm/tracing-channel.js +8 -7
- package/build/esm/tracing-channel.js.map +1 -1
- package/build/esm/vercel-ai/util.js +106 -0
- package/build/esm/vercel-ai/util.js.map +1 -0
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +121 -59
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/esm/vercel-ai/{vercel-ai-orchestrion-v6-subscriber.js → vercel-ai-orchestrion-subscriber.js} +153 -23
- package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
- package/build/types/graphql/graphql-dc-subscriber.d.ts +94 -0
- package/build/types/graphql/graphql-dc-subscriber.d.ts.map +1 -0
- package/build/types/graphql/index.d.ts +12 -0
- package/build/types/graphql/index.d.ts.map +1 -0
- package/build/types/graphql/utils.d.ts +36 -0
- package/build/types/graphql/utils.d.ts.map +1 -0
- package/build/types/index.d.ts +6 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/amqplib.d.ts +11 -0
- package/build/types/integrations/tracing-channel/amqplib.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/index.d.ts +18 -0
- package/build/types/integrations/tracing-channel/express/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/express/instrumentation.d.ts +4 -0
- package/build/types/integrations/tracing-channel/express/instrumentation.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/express/route.d.ts +28 -0
- package/build/types/integrations/tracing-channel/express/route.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/express/types.d.ts +64 -0
- package/build/types/integrations/tracing-channel/express/types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/fastify/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/google-genai.d.ts +12 -0
- package/build/types/integrations/tracing-channel/google-genai.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/graphql/constants.d.ts +12 -0
- package/build/types/integrations/tracing-channel/graphql/constants.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts +135 -0
- package/build/types/integrations/tracing-channel/graphql/graphql-types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/graphql/index.d.ts +28 -0
- package/build/types/integrations/tracing-channel/graphql/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts +13 -0
- package/build/types/integrations/tracing-channel/graphql/resolvers.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/graphql/spans.d.ts +17 -0
- package/build/types/integrations/tracing-channel/graphql/spans.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/graphql/types.d.ts +25 -0
- package/build/types/integrations/tracing-channel/graphql/types.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/mysql.d.ts.map +1 -1
- 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/postgres-js.d.ts +26 -0
- package/build/types/integrations/tracing-channel/postgres-js.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/postgres.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/redis.d.ts +16 -0
- package/build/types/integrations/tracing-channel/redis.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/vercel-ai.d.ts +1 -1
- package/build/types/mongoose/mongoose-dc-subscriber.d.ts.map +1 -1
- package/build/types/mysql2/index.d.ts +11 -0
- package/build/types/mysql2/index.d.ts.map +1 -0
- package/build/types/mysql2/mysql2-dc-subscriber.d.ts +59 -0
- package/build/types/mysql2/mysql2-dc-subscriber.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 +19 -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 +71 -10
- package/build/types/orchestrion/channels.d.ts.map +1 -1
- package/build/types/orchestrion/config/amqplib.d.ts +66 -0
- package/build/types/orchestrion/config/amqplib.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 +32 -0
- package/build/types/orchestrion/config/express.d.ts.map +1 -0
- 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/google-genai.d.ts +30 -0
- package/build/types/orchestrion/config/google-genai.d.ts.map +1 -0
- package/build/types/orchestrion/config/graphql.d.ts +29 -0
- package/build/types/orchestrion/config/graphql.d.ts.map +1 -0
- package/build/types/orchestrion/config/index.d.ts +18 -5
- package/build/types/orchestrion/config/index.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/langchain.d.ts +4 -0
- package/build/types/orchestrion/config/langchain.d.ts.map +1 -0
- package/build/types/orchestrion/config/langgraph.d.ts +4 -0
- package/build/types/orchestrion/config/langgraph.d.ts.map +1 -0
- package/build/types/orchestrion/config/mongodb.d.ts +4 -0
- package/build/types/orchestrion/config/mongodb.d.ts.map +1 -0
- package/build/types/orchestrion/config/mongoose.d.ts +4 -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/postgres.d.ts +9 -0
- package/build/types/orchestrion/config/postgres.d.ts.map +1 -0
- 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/redis.d.ts +37 -0
- package/build/types/orchestrion/config/redis.d.ts.map +1 -0
- package/build/types/orchestrion/config/remix.d.ts +4 -0
- package/build/types/orchestrion/config/remix.d.ts.map +1 -0
- package/build/types/orchestrion/config/tedious.d.ts +4 -0
- package/build/types/orchestrion/config/tedious.d.ts.map +1 -0
- package/build/types/orchestrion/config/vercel-ai.d.ts +1 -0
- 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 +55 -4
- 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/redis/index.d.ts +18 -0
- package/build/types/redis/index.d.ts.map +1 -0
- package/build/types/redis/redis-dc-subscriber.d.ts +0 -5
- package/build/types/redis/redis-dc-subscriber.d.ts.map +1 -1
- package/build/types/tracing-channel.d.ts +5 -0
- package/build/types/tracing-channel.d.ts.map +1 -1
- package/build/types/vercel-ai/util.d.ts +30 -0
- package/build/types/vercel-ai/util.d.ts.map +1 -0
- package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +6 -2
- package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts.map +1 -1
- package/build/types/vercel-ai/{vercel-ai-orchestrion-v6-subscriber.d.ts → vercel-ai-orchestrion-subscriber.d.ts} +1 -1
- package/build/types/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts.map +1 -0
- package/build/types-ts3.8/graphql/graphql-dc-subscriber.d.ts +94 -0
- package/build/types-ts3.8/graphql/index.d.ts +12 -0
- package/build/types-ts3.8/graphql/utils.d.ts +36 -0
- package/build/types-ts3.8/index.d.ts +6 -2
- package/build/types-ts3.8/integrations/tracing-channel/amqplib.d.ts +11 -0
- package/build/types-ts3.8/integrations/tracing-channel/dataloader.d.ts +11 -0
- package/build/types-ts3.8/integrations/tracing-channel/express/index.d.ts +18 -0
- package/build/types-ts3.8/integrations/tracing-channel/express/instrumentation.d.ts +4 -0
- package/build/types-ts3.8/integrations/tracing-channel/express/route.d.ts +28 -0
- package/build/types-ts3.8/integrations/tracing-channel/express/types.d.ts +64 -0
- package/build/types-ts3.8/integrations/tracing-channel/generic-pool.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/google-genai.d.ts +12 -0
- package/build/types-ts3.8/integrations/tracing-channel/graphql/constants.d.ts +12 -0
- package/build/types-ts3.8/integrations/tracing-channel/graphql/graphql-types.d.ts +135 -0
- package/build/types-ts3.8/integrations/tracing-channel/graphql/index.d.ts +30 -0
- package/build/types-ts3.8/integrations/tracing-channel/graphql/resolvers.d.ts +13 -0
- package/build/types-ts3.8/integrations/tracing-channel/graphql/spans.d.ts +17 -0
- package/build/types-ts3.8/integrations/tracing-channel/graphql/types.d.ts +25 -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/mysql2.d.ts +15 -0
- package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +26 -0
- package/build/types-ts3.8/integrations/tracing-channel/redis.d.ts +16 -0
- package/build/types-ts3.8/integrations/tracing-channel/vercel-ai.d.ts +1 -1
- package/build/types-ts3.8/mysql2/index.d.ts +11 -0
- package/build/types-ts3.8/mysql2/mysql2-dc-subscriber.d.ts +59 -0
- package/build/types-ts3.8/orchestrion/bundler/esbuild.d.ts +21 -0
- package/build/types-ts3.8/orchestrion/bundler/options.d.ts +19 -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 +71 -10
- package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +66 -0
- package/build/types-ts3.8/orchestrion/config/dataloader.d.ts +46 -0
- package/build/types-ts3.8/orchestrion/config/express.d.ts +32 -0
- 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/google-genai.d.ts +30 -0
- package/build/types-ts3.8/orchestrion/config/graphql.d.ts +29 -0
- package/build/types-ts3.8/orchestrion/config/index.d.ts +18 -5
- 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/langchain.d.ts +4 -0
- package/build/types-ts3.8/orchestrion/config/langgraph.d.ts +4 -0
- package/build/types-ts3.8/orchestrion/config/mongodb.d.ts +4 -0
- package/build/types-ts3.8/orchestrion/config/mongoose.d.ts +4 -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/postgres.d.ts +9 -0
- 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/redis.d.ts +37 -0
- package/build/types-ts3.8/orchestrion/config/remix.d.ts +4 -0
- package/build/types-ts3.8/orchestrion/config/tedious.d.ts +4 -0
- package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +1 -0
- package/build/types-ts3.8/orchestrion/detect.d.ts +3 -10
- package/build/types-ts3.8/orchestrion/index.d.ts +57 -4
- 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/redis/index.d.ts +18 -0
- package/build/types-ts3.8/redis/redis-dc-subscriber.d.ts +0 -5
- package/build/types-ts3.8/tracing-channel.d.ts +5 -0
- package/build/types-ts3.8/vercel-ai/util.d.ts +30 -0
- package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +6 -2
- package/build/types-ts3.8/vercel-ai/{vercel-ai-orchestrion-v6-subscriber.d.ts → vercel-ai-orchestrion-subscriber.d.ts} +1 -1
- package/package.json +41 -8
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-v6-subscriber.js.map +0 -1
- package/build/esm/vercel-ai/vercel-ai-orchestrion-v6-subscriber.js.map +0 -1
- package/build/types/vercel-ai/vercel-ai-orchestrion-v6-subscriber.d.ts.map +0 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const googleGenAiConfig: ({
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
expressionName: "generateContent" | "generateContentStream";
|
|
10
|
+
kind: "Auto";
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
channelName: string;
|
|
14
|
+
module: {
|
|
15
|
+
name: string;
|
|
16
|
+
versionRange: string;
|
|
17
|
+
filePath: string;
|
|
18
|
+
};
|
|
19
|
+
functionQuery: {
|
|
20
|
+
className: string;
|
|
21
|
+
methodName: string;
|
|
22
|
+
kind: "Auto";
|
|
23
|
+
};
|
|
24
|
+
})[];
|
|
25
|
+
export declare const googleGenAiChannels: {
|
|
26
|
+
readonly GOOGLE_GENAI_GENERATE_CONTENT: "orchestrion:@google/genai:generate-content";
|
|
27
|
+
readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
|
|
28
|
+
readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=google-genai.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-genai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/google-genai.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;IAyBK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const graphqlConfig: ({
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
functionName: string;
|
|
10
|
+
kind: "Sync";
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
channelName: string;
|
|
14
|
+
module: {
|
|
15
|
+
name: string;
|
|
16
|
+
versionRange: string;
|
|
17
|
+
filePath: string;
|
|
18
|
+
};
|
|
19
|
+
functionQuery: {
|
|
20
|
+
functionName: string;
|
|
21
|
+
kind: "Auto";
|
|
22
|
+
};
|
|
23
|
+
})[];
|
|
24
|
+
export declare const graphqlChannels: {
|
|
25
|
+
readonly GRAPHQL_PARSE: "orchestrion:graphql:parse";
|
|
26
|
+
readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
|
|
27
|
+
readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=graphql.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graphql.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/graphql.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAgBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;CAIlB,CAAC"}
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
+
/**
|
|
3
|
+
* The orchestrion code-transform configs. Every instrumentable library is here
|
|
4
|
+
* so the transform is all-or-nothing: whenever orchestrion is enabled, all of
|
|
5
|
+
* these are injected. The channel LISTENERS may live elsewhere (e.g. the NestJS
|
|
6
|
+
* one lives in `@sentry/nestjs`), but the config that decides what gets
|
|
7
|
+
* transformed is centralized here.
|
|
8
|
+
*/
|
|
2
9
|
export declare const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[];
|
|
3
10
|
/**
|
|
4
11
|
* The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`
|
|
5
|
-
* (e.g. `['mysql']`).
|
|
12
|
+
* merged with any caller-provided `instrumentations` (e.g. `['mysql']`).
|
|
6
13
|
*
|
|
7
14
|
* Bundler plugins MUST ensure these are actually bundled rather than
|
|
8
15
|
* externalized: an externalized dependency is resolved from `node_modules` at
|
|
9
16
|
* runtime and never passes through the code transform's `onLoad`, so its
|
|
10
|
-
* diagnostics_channel calls are silently never injected.
|
|
17
|
+
* diagnostics_channel calls are silently never injected. This includes a
|
|
18
|
+
* plugin's custom `instrumentations`, otherwise those extra packages can stay
|
|
19
|
+
* externalized and their transform never runs.
|
|
11
20
|
*/
|
|
21
|
+
export declare function instrumentedModuleNames(instrumentations?: InstrumentationConfig[]): string[];
|
|
22
|
+
/** The instrumented module names from the default Sentry config, with no custom additions. */
|
|
12
23
|
export declare const INSTRUMENTED_MODULE_NAMES: string[];
|
|
13
24
|
/**
|
|
14
25
|
* Returns `external` with any instrumented packages removed, so a bundler that
|
|
@@ -17,8 +28,10 @@ export declare const INSTRUMENTED_MODULE_NAMES: string[];
|
|
|
17
28
|
* (`'mysql/lib/...'`); wildcard/other patterns are left untouched. `undefined`
|
|
18
29
|
* is returned unchanged.
|
|
19
30
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
31
|
+
* Pass `moduleNames` from `instrumentedModuleNames(options.instrumentations)` so
|
|
32
|
+
* custom instrumentations are stripped too; it defaults to the Sentry config
|
|
33
|
+
* list. (Vite uses an `ssr.noExternal` allowlist instead, so it consumes
|
|
34
|
+
* `instrumentedModuleNames` directly rather than this helper.)
|
|
22
35
|
*/
|
|
23
|
-
export declare function withoutInstrumentedExternals(external: readonly string[] | undefined): string[] | undefined;
|
|
36
|
+
export declare function withoutInstrumentedExternals(external: readonly string[] | undefined, moduleNames?: string[]): string[] | undefined;
|
|
24
37
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAmC7E;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EA8B1D,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,gBAAgB,GAAE,qBAAqB,EAAO,GAAG,MAAM,EAAE,CAEhG;AAED,8FAA8F;AAC9F,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAA8B,CAAC;AAE7E;;;;;;;;;;;GAWG;AACH,wBAAgB,4BAA4B,CAC1C,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EACvC,WAAW,GAAE,MAAM,EAA8B,GAChD,MAAM,EAAE,GAAG,SAAS,CAKtB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const kafkajsConfig: {
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
expressionName: string;
|
|
10
|
+
kind: "Async";
|
|
11
|
+
};
|
|
12
|
+
}[];
|
|
13
|
+
export declare const kafkajsChannels: {
|
|
14
|
+
readonly KAFKAJS_SEND_BATCH: "orchestrion:kafkajs:send_batch";
|
|
15
|
+
readonly KAFKAJS_CONSUMER_RUN: "orchestrion:kafkajs:consumer_run";
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=kafkajs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kafkajs.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/kafkajs.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;GAmBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
+
export declare const knexConfig: InstrumentationConfig[];
|
|
3
|
+
export declare const knexChannels: {
|
|
4
|
+
readonly KNEX_QUERY: "orchestrion:knex:query";
|
|
5
|
+
readonly KNEX_QUERY_BUILDER: "orchestrion:knex:queryBuilder";
|
|
6
|
+
readonly KNEX_SCHEMA_BUILDER: "orchestrion:knex:schemaBuilder";
|
|
7
|
+
readonly KNEX_RAW: "orchestrion:knex:raw";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=knex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knex.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/knex.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAwC7E,eAAO,MAAM,UAAU,EAAE,qBAAqB,EAK7C,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;CAKf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"langchain.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/langchain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAG7E,eAAO,MAAM,eAAe,EAAE,qBAAqB,EAAO,CAAC;AAE3D,eAAO,MAAM,iBAAiB,IAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"langgraph.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/langgraph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAG7E,eAAO,MAAM,eAAe,EAAE,qBAAqB,EAAO,CAAC;AAE3D,eAAO,MAAM,iBAAiB,IAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mongodb.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/mongodb.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAG7E,eAAO,MAAM,aAAa,EAAE,qBAAqB,EAAO,CAAC;AAEzD,eAAO,MAAM,eAAe,IAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mongoose.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/mongoose.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAG7E,eAAO,MAAM,cAAc,EAAE,qBAAqB,EAAO,CAAC;AAE1D,eAAO,MAAM,gBAAgB,IAAc,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 '@apm-js-collab/code-transformer';
|
|
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,EAAgB,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAmB3F;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,yBAqGU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;;;;;;;CAUjB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
+
export declare const postgresJsConfig: InstrumentationConfig[];
|
|
3
|
+
export declare const postgresJsChannels: {
|
|
4
|
+
readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
|
|
5
|
+
readonly POSTGRESJS_CONNECTION: "orchestrion:postgres:connection";
|
|
6
|
+
readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
|
|
7
|
+
readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=postgres.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/postgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AA+C7E,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,iCAAiC,CAAC;AAG7E,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,iCAAiC,CAAC;AAG7E,eAAO,MAAM,iBAAiB,EAAE,qBAAqB,EAAO,CAAC;AAE7D,eAAO,MAAM,mBAAmB,IAAc,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const redisConfig: ({
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
expressionName: string;
|
|
10
|
+
kind: "Sync";
|
|
11
|
+
className?: undefined;
|
|
12
|
+
methodName?: undefined;
|
|
13
|
+
};
|
|
14
|
+
} | {
|
|
15
|
+
channelName: string;
|
|
16
|
+
module: {
|
|
17
|
+
name: string;
|
|
18
|
+
versionRange: string;
|
|
19
|
+
filePath: string;
|
|
20
|
+
};
|
|
21
|
+
functionQuery: {
|
|
22
|
+
className: string;
|
|
23
|
+
methodName: string;
|
|
24
|
+
kind: "Async";
|
|
25
|
+
expressionName?: undefined;
|
|
26
|
+
};
|
|
27
|
+
})[];
|
|
28
|
+
export declare const redisChannels: {
|
|
29
|
+
readonly REDIS_COMMAND: "orchestrion:redis:command";
|
|
30
|
+
readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
|
|
31
|
+
readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
|
|
32
|
+
readonly NODE_REDIS_CONNECT: "orchestrion:@redis/client:connect";
|
|
33
|
+
readonly NODE_REDIS_MULTI: "orchestrion:@redis/client:multi";
|
|
34
|
+
readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
|
|
35
|
+
readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=redis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/redis.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;IA4DW,CAAC;AAEpC,eAAO,MAAM,aAAa;;;;;;;;CAQhB,CAAC"}
|
|
@@ -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,iCAAiC,CAAC;AAG7E,eAAO,MAAM,WAAW,EAAE,qBAAqB,EAAO,CAAC;AAEvD,eAAO,MAAM,aAAa,IAAc,CAAC"}
|
|
@@ -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,iCAAiC,CAAC;AAG7E,eAAO,MAAM,aAAa,EAAE,qBAAqB,EAAO,CAAC;AAEzD,eAAO,MAAM,eAAe,IAAc,CAAC"}
|
|
@@ -3,6 +3,7 @@ export declare const vercelAiConfig: InstrumentationConfig[];
|
|
|
3
3
|
export declare const vercelAiChannels: {
|
|
4
4
|
readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
|
|
5
5
|
readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
|
|
6
|
+
readonly VERCEL_AI_GENERATE_OBJECT: "orchestrion:ai:generateObject";
|
|
6
7
|
readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
|
|
7
8
|
readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
|
|
8
9
|
readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
|
|
@@ -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,iCAAiC,CAAC;AAE7E,eAAO,MAAM,cAAc,
|
|
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,iCAAiC,CAAC;AAE7E,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,14 +1,29 @@
|
|
|
1
|
+
import { amqplibChannelIntegration } from '../integrations/tracing-channel/amqplib';
|
|
1
2
|
import { anthropicChannelIntegration } from '../integrations/tracing-channel/anthropic';
|
|
3
|
+
import { dataloaderChannelIntegration } from '../integrations/tracing-channel/dataloader';
|
|
4
|
+
import { genericPoolChannelIntegration } from '../integrations/tracing-channel/generic-pool';
|
|
5
|
+
import { googleGenAIChannelIntegration } from '../integrations/tracing-channel/google-genai';
|
|
6
|
+
import { graphqlChannelIntegration } from '../integrations/tracing-channel/graphql';
|
|
2
7
|
import { hapiChannelIntegration } from '../integrations/tracing-channel/hapi';
|
|
3
8
|
import { ioredisChannelIntegration } from '../integrations/tracing-channel/ioredis';
|
|
9
|
+
import { kafkajsChannelIntegration } from '../integrations/tracing-channel/kafkajs';
|
|
10
|
+
import { knexChannelIntegration } from '../integrations/tracing-channel/knex';
|
|
4
11
|
import { lruMemoizerChannelIntegration } from '../integrations/tracing-channel/lru-memoizer';
|
|
5
12
|
import { mysqlChannelIntegration } from '../integrations/tracing-channel/mysql';
|
|
13
|
+
import { mysql2ChannelIntegration } from '../integrations/tracing-channel/mysql2';
|
|
6
14
|
import { openaiChannelIntegration } from '../integrations/tracing-channel/openai';
|
|
7
15
|
import { postgresChannelIntegration } from '../integrations/tracing-channel/postgres';
|
|
16
|
+
import { postgresJsChannelIntegration } from '../integrations/tracing-channel/postgres-js';
|
|
8
17
|
import { vercelAiChannelIntegration } from '../integrations/tracing-channel/vercel-ai';
|
|
18
|
+
import { expressChannelIntegration } from '../integrations/tracing-channel/express';
|
|
9
19
|
export { detectOrchestrionSetup, isOrchestrionInjected } from './detect';
|
|
10
|
-
export {
|
|
20
|
+
export { nestjsChannels } from './config/nestjs';
|
|
21
|
+
export { amqplibChannelIntegration, anthropicChannelIntegration, dataloaderChannelIntegration, genericPoolChannelIntegration, googleGenAIChannelIntegration, graphqlChannelIntegration, hapiChannelIntegration, ioredisChannelIntegration, kafkajsChannelIntegration, knexChannelIntegration, lruMemoizerChannelIntegration, mysqlChannelIntegration, mysql2ChannelIntegration, openaiChannelIntegration, postgresChannelIntegration, postgresJsChannelIntegration, vercelAiChannelIntegration, expressChannelIntegration, };
|
|
11
22
|
export type { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../integrations/tracing-channel/ioredis';
|
|
23
|
+
export type { PostgresJsChannelIntegrationOptions } from '../integrations/tracing-channel/postgres-js';
|
|
24
|
+
export { redisChannelIntegration } from '../integrations/tracing-channel/redis';
|
|
25
|
+
export type { RedisChannelIntegrationOptions, RedisResponseHook } from '../integrations/tracing-channel/redis';
|
|
26
|
+
export type * from '../integrations/tracing-channel/graphql/graphql-types';
|
|
12
27
|
/**
|
|
13
28
|
* The canonical set of orchestrion diagnostics-channel integrations, keyed by their public
|
|
14
29
|
* (OTel-parity) factory name.
|
|
@@ -18,9 +33,18 @@ export type { IORedisChannelIntegrationOptions, IORedisResponseHook } from '../i
|
|
|
18
33
|
* `diagnosticsChannelInjectionIntegrations()` map — picks it up automatically, so there's no separate
|
|
19
34
|
* list to keep in sync.
|
|
20
35
|
*
|
|
21
|
-
* NOTE: `ioredisChannelIntegration`
|
|
22
|
-
* composite OTel `Redis` integration and
|
|
23
|
-
* can't live in `server-utils`), so `@sentry/node` wires
|
|
36
|
+
* NOTE: `ioredisChannelIntegration` and `redisChannelIntegration` are intentionally NOT here. They
|
|
37
|
+
* only partially replace the composite OTel `Redis` integration and need the node SDK's redis cache
|
|
38
|
+
* `responseHook` (which can't live in `server-utils`), so `@sentry/node` wires them up separately.
|
|
39
|
+
*
|
|
40
|
+
* Framework SDKs that own their own channel listener (e.g. `@sentry/nestjs`'s `Nest`) are NOT here
|
|
41
|
+
* either: their transform config is still in `SENTRY_INSTRUMENTATIONS`, but the listener lives in
|
|
42
|
+
* their package and picks the channel-vs-OTel path itself at `setupOnce`, so it needs no central swap.
|
|
43
|
+
*
|
|
44
|
+
* NOTE: `dataloaderChannelIntegration` is also NOT here. Everything in this map is auto-appended to
|
|
45
|
+
* the default integrations, but the OTel `Dataloader` integration is opt-in (never a default). Like
|
|
46
|
+
* `@sentry/nestjs`'s `Nest`, its `@sentry/node` factory picks the channel-vs-OTel path itself at
|
|
47
|
+
* `setupOnce` (via `isOrchestrionInjected()`), so there's nothing for the central swap to do.
|
|
24
48
|
*/
|
|
25
49
|
export declare const channelIntegrations: {
|
|
26
50
|
readonly postgresIntegration: (options?: {
|
|
@@ -28,9 +52,18 @@ export declare const channelIntegrations: {
|
|
|
28
52
|
} | undefined) => import("@sentry/core").Integration & {
|
|
29
53
|
name: "Postgres";
|
|
30
54
|
};
|
|
55
|
+
readonly postgresJsIntegration: (options?: import(".").PostgresJsChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
56
|
+
name: "PostgresJs";
|
|
57
|
+
};
|
|
31
58
|
readonly mysqlIntegration: () => import("@sentry/core").Integration & {
|
|
32
59
|
name: "Mysql";
|
|
33
60
|
};
|
|
61
|
+
readonly mysql2Integration: () => import("@sentry/core").Integration & {
|
|
62
|
+
name: "Mysql2";
|
|
63
|
+
};
|
|
64
|
+
readonly genericPoolIntegration: () => import("@sentry/core").Integration & {
|
|
65
|
+
name: "GenericPool";
|
|
66
|
+
};
|
|
34
67
|
readonly lruMemoizerIntegration: () => import("@sentry/core").Integration & {
|
|
35
68
|
name: "LruMemoizer";
|
|
36
69
|
};
|
|
@@ -40,6 +73,9 @@ export declare const channelIntegrations: {
|
|
|
40
73
|
readonly anthropicIntegration: (options?: import("@sentry/core").AnthropicAiOptions | undefined) => import("@sentry/core").Integration & {
|
|
41
74
|
name: "Anthropic_AI";
|
|
42
75
|
};
|
|
76
|
+
readonly googleGenAIIntegration: (options?: import("@sentry/core").GoogleGenAIOptions | undefined) => import("@sentry/core").Integration & {
|
|
77
|
+
name: "Google_GenAI";
|
|
78
|
+
};
|
|
43
79
|
readonly vercelAiIntegration: (options?: {
|
|
44
80
|
recordInputs?: boolean;
|
|
45
81
|
recordOutputs?: boolean;
|
|
@@ -47,8 +83,23 @@ export declare const channelIntegrations: {
|
|
|
47
83
|
} | undefined) => import("@sentry/core").Integration & {
|
|
48
84
|
name: "VercelAI";
|
|
49
85
|
};
|
|
86
|
+
readonly amqplibIntegration: () => import("@sentry/core").Integration & {
|
|
87
|
+
name: "Amqplib";
|
|
88
|
+
};
|
|
50
89
|
readonly hapiIntegration: () => import("@sentry/core").Integration & {
|
|
51
90
|
name: "Hapi";
|
|
52
91
|
};
|
|
92
|
+
readonly expressIntegration: (options?: import("../integrations/tracing-channel/express/types").ExpressIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
93
|
+
name: "Express";
|
|
94
|
+
};
|
|
95
|
+
readonly graphqlIntegration: (options?: import("../graphql/graphql-dc-subscriber").GraphqlDiagnosticChannelsOptions) => Omit<import("@sentry/core").Integration & {
|
|
96
|
+
name: "Graphql";
|
|
97
|
+
}, "name" | "setupOnce"> & {
|
|
98
|
+
name: "Graphql";
|
|
99
|
+
setupOnce: () => void | undefined;
|
|
100
|
+
};
|
|
101
|
+
readonly kafkajsIntegration: () => import("@sentry/core").Integration & {
|
|
102
|
+
name: "Kafka";
|
|
103
|
+
};
|
|
53
104
|
};
|
|
54
105
|
//# 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,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;
|
|
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,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,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,CAAC;AACpF,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGzE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,EAC7B,yBAAyB,EACzB,sBAAsB,EACtB,yBAAyB,EACzB,yBAAyB,EACzB,sBAAsB,EACtB,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,yBAAyB,GAC1B,CAAC;AACF,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;AAI/G,mBAAmB,uDAAuD,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBtB,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":"AAqBA,MAAM,WAAW,0CAA0C;IACzD;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAgBD;;;;;;;;;;;GAWG;AACH,wBAAgB,mCAAmC,CAAC,OAAO,CAAC,EAAE,0CAA0C,GAAG,IAAI,CA6G9G"}
|
|
@@ -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"}
|