@sentry/server-utils 10.63.0 → 10.65.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 +125 -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 +86 -0
- package/build/cjs/graphql/utils.js.map +1 -0
- package/build/cjs/index.js +12 -9
- 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/anthropic.js +101 -0
- package/build/cjs/integrations/tracing-channel/anthropic.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/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/hapi-types.js +30 -0
- package/build/cjs/integrations/tracing-channel/hapi-types.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/hapi-utils.js +177 -0
- package/build/cjs/integrations/tracing-channel/hapi-utils.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/hapi.js +52 -0
- package/build/cjs/integrations/tracing-channel/hapi.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/ioredis.js +96 -0
- package/build/cjs/integrations/tracing-channel/ioredis.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/mysql.js +2 -1
- package/build/cjs/integrations/tracing-channel/mysql.js.map +1 -1
- package/build/cjs/integrations/tracing-channel/openai.js +83 -0
- package/build/cjs/integrations/tracing-channel/openai.js.map +1 -0
- 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 +170 -0
- package/build/cjs/integrations/tracing-channel/postgres.js.map +1 -0
- 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 +25 -0
- package/build/cjs/integrations/tracing-channel/vercel-ai.js.map +1 -0
- package/build/cjs/mongoose/index.js +23 -0
- package/build/cjs/mongoose/index.js.map +1 -0
- package/build/cjs/mongoose/mongoose-dc-subscriber.js +97 -0
- package/build/cjs/mongoose/mongoose-dc-subscriber.js.map +1 -0
- 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/vite.js +3 -3
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/channels.js +29 -2
- 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/anthropic-ai.js +43 -0
- package/build/cjs/orchestrion/config/anthropic-ai.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/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/hapi.js +26 -0
- package/build/cjs/orchestrion/config/hapi.js.map +1 -0
- package/build/cjs/orchestrion/config/index.js +48 -0
- package/build/cjs/orchestrion/config/index.js.map +1 -0
- package/build/cjs/orchestrion/config/ioredis.js +35 -0
- package/build/cjs/orchestrion/config/ioredis.js.map +1 -0
- package/build/cjs/orchestrion/config/lru-memoizer.js +17 -0
- package/build/cjs/orchestrion/config/lru-memoizer.js.map +1 -0
- package/build/cjs/orchestrion/config/mysql.js +16 -0
- package/build/cjs/orchestrion/config/mysql.js.map +1 -0
- package/build/cjs/orchestrion/config/openai.js +40 -0
- package/build/cjs/orchestrion/config/openai.js.map +1 -0
- package/build/cjs/orchestrion/config/pg.js +51 -0
- package/build/cjs/orchestrion/config/pg.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/redis.js +76 -0
- package/build/cjs/orchestrion/config/redis.js.map +1 -0
- package/build/cjs/orchestrion/config/vercel-ai.js +48 -0
- package/build/cjs/orchestrion/config/vercel-ai.js.map +1 -0
- package/build/cjs/orchestrion/detect.js +6 -1
- package/build/cjs/orchestrion/detect.js.map +1 -1
- package/build/cjs/orchestrion/index.js +44 -5
- package/build/cjs/orchestrion/index.js.map +1 -1
- package/build/cjs/orchestrion/runtime/register.js +10 -7
- package/build/cjs/orchestrion/runtime/register.js.map +1 -1
- 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/redis/redis-statement-serializer.js +34 -0
- package/build/cjs/redis/redis-statement-serializer.js.map +1 -0
- package/build/cjs/tracing-channel.js +8 -7
- package/build/cjs/tracing-channel.js.map +1 -1
- package/build/cjs/vercel-ai/util.js +123 -0
- package/build/cjs/vercel-ai/util.js.map +1 -0
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +147 -76
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js +386 -0
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-subscriber.js.map +1 -0
- package/build/esm/graphql/graphql-dc-subscriber.js +118 -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 +81 -0
- package/build/esm/graphql/utils.js.map +1 -0
- package/build/esm/index.js +5 -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 +99 -0
- package/build/esm/integrations/tracing-channel/anthropic.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/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/hapi-types.js +25 -0
- package/build/esm/integrations/tracing-channel/hapi-types.js.map +1 -0
- package/build/esm/integrations/tracing-channel/hapi-utils.js +172 -0
- package/build/esm/integrations/tracing-channel/hapi-utils.js.map +1 -0
- package/build/esm/integrations/tracing-channel/hapi.js +50 -0
- package/build/esm/integrations/tracing-channel/hapi.js.map +1 -0
- package/build/esm/integrations/tracing-channel/ioredis.js +94 -0
- package/build/esm/integrations/tracing-channel/ioredis.js.map +1 -0
- package/build/esm/integrations/tracing-channel/mysql.js +3 -2
- package/build/esm/integrations/tracing-channel/mysql.js.map +1 -1
- package/build/esm/integrations/tracing-channel/openai.js +81 -0
- package/build/esm/integrations/tracing-channel/openai.js.map +1 -0
- 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 +168 -0
- package/build/esm/integrations/tracing-channel/postgres.js.map +1 -0
- 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 +23 -0
- package/build/esm/integrations/tracing-channel/vercel-ai.js.map +1 -0
- package/build/esm/mongoose/index.js +21 -0
- package/build/esm/mongoose/index.js.map +1 -0
- package/build/esm/mongoose/mongoose-dc-subscriber.js +89 -0
- package/build/esm/mongoose/mongoose-dc-subscriber.js.map +1 -0
- 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/vite.js +1 -1
- package/build/esm/orchestrion/channels.js +29 -2
- 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/anthropic-ai.js +40 -0
- package/build/esm/orchestrion/config/anthropic-ai.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/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/hapi.js +23 -0
- package/build/esm/orchestrion/config/hapi.js.map +1 -0
- package/build/esm/orchestrion/config/index.js +44 -0
- package/build/esm/orchestrion/config/index.js.map +1 -0
- package/build/esm/orchestrion/config/ioredis.js +32 -0
- package/build/esm/orchestrion/config/ioredis.js.map +1 -0
- package/build/esm/orchestrion/config/lru-memoizer.js +14 -0
- package/build/esm/orchestrion/config/lru-memoizer.js.map +1 -0
- package/build/esm/orchestrion/config/mysql.js +13 -0
- package/build/esm/orchestrion/config/mysql.js.map +1 -0
- package/build/esm/orchestrion/config/openai.js +37 -0
- package/build/esm/orchestrion/config/openai.js.map +1 -0
- package/build/esm/orchestrion/config/pg.js +48 -0
- package/build/esm/orchestrion/config/pg.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/redis.js +73 -0
- package/build/esm/orchestrion/config/redis.js.map +1 -0
- package/build/esm/orchestrion/config/vercel-ai.js +45 -0
- package/build/esm/orchestrion/config/vercel-ai.js.map +1 -0
- package/build/esm/orchestrion/detect.js +6 -2
- package/build/esm/orchestrion/detect.js.map +1 -1
- package/build/esm/orchestrion/index.js +33 -3
- package/build/esm/orchestrion/index.js.map +1 -1
- package/build/esm/orchestrion/runtime/register.js +8 -4
- package/build/esm/orchestrion/runtime/register.js.map +1 -1
- package/build/esm/package.json +1 -1
- 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/redis/redis-statement-serializer.js +32 -0
- package/build/esm/redis/redis-statement-serializer.js.map +1 -0
- package/build/esm/tracing-channel.js +9 -8
- package/build/esm/tracing-channel.js.map +1 -1
- package/build/esm/vercel-ai/util.js +116 -0
- package/build/esm/vercel-ai/util.js.map +1 -0
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +122 -54
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/esm/vercel-ai/vercel-ai-orchestrion-subscriber.js +384 -0
- 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 +40 -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/anthropic.d.ts +10 -0
- package/build/types/integrations/tracing-channel/anthropic.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/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/hapi-types.d.ts +53 -0
- package/build/types/integrations/tracing-channel/hapi-types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/hapi-utils.d.ts +25 -0
- package/build/types/integrations/tracing-channel/hapi-utils.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/hapi.d.ts +9 -0
- package/build/types/integrations/tracing-channel/hapi.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/ioredis.d.ts +17 -0
- package/build/types/integrations/tracing-channel/ioredis.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/mysql.d.ts.map +1 -1
- package/build/types/integrations/tracing-channel/openai.d.ts +10 -0
- package/build/types/integrations/tracing-channel/openai.d.ts.map +1 -0
- 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 +15 -0
- package/build/types/integrations/tracing-channel/postgres.d.ts.map +1 -0
- 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 +13 -0
- package/build/types/integrations/tracing-channel/vercel-ai.d.ts.map +1 -0
- package/build/types/mongoose/index.d.ts +11 -0
- package/build/types/mongoose/index.d.ts.map +1 -0
- package/build/types/mongoose/mongoose-dc-subscriber.d.ts +63 -0
- package/build/types/mongoose/mongoose-dc-subscriber.d.ts.map +1 -0
- 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/channels.d.ts +55 -1
- 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/anthropic-ai.d.ts +31 -0
- package/build/types/orchestrion/config/anthropic-ai.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/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/hapi.d.ts +17 -0
- package/build/types/orchestrion/config/hapi.d.ts.map +1 -0
- package/build/types/orchestrion/{config.d.ts → config/index.d.ts} +1 -12
- package/build/types/orchestrion/config/index.d.ts.map +1 -0
- package/build/types/orchestrion/config/ioredis.d.ts +7 -0
- package/build/types/orchestrion/config/ioredis.d.ts.map +1 -0
- package/build/types/orchestrion/config/lru-memoizer.d.ts +16 -0
- package/build/types/orchestrion/config/lru-memoizer.d.ts.map +1 -0
- package/build/types/orchestrion/config/mysql.d.ts +16 -0
- package/build/types/orchestrion/config/mysql.d.ts.map +1 -0
- package/build/types/orchestrion/config/openai.d.ts +20 -0
- package/build/types/orchestrion/config/openai.d.ts.map +1 -0
- package/build/types/orchestrion/config/pg.d.ts +33 -0
- package/build/types/orchestrion/config/pg.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/redis.d.ts +37 -0
- package/build/types/orchestrion/config/redis.d.ts.map +1 -0
- package/build/types/orchestrion/config/vercel-ai.d.ts +12 -0
- package/build/types/orchestrion/config/vercel-ai.d.ts.map +1 -0
- package/build/types/orchestrion/detect.d.ts +10 -0
- package/build/types/orchestrion/detect.d.ts.map +1 -1
- package/build/types/orchestrion/index.d.ts +80 -3
- package/build/types/orchestrion/index.d.ts.map +1 -1
- package/build/types/orchestrion/runtime/register.d.ts.map +1 -1
- 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/redis/redis-statement-serializer.d.ts +6 -0
- package/build/types/redis/redis-statement-serializer.d.ts.map +1 -0
- 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 +32 -0
- package/build/types/vercel-ai/util.d.ts.map +1 -0
- package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +15 -5
- 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 +12 -0
- 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 +40 -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/anthropic.d.ts +10 -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/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/hapi-types.d.ts +65 -0
- package/build/types-ts3.8/integrations/tracing-channel/hapi-utils.d.ts +25 -0
- package/build/types-ts3.8/integrations/tracing-channel/hapi.d.ts +9 -0
- package/build/types-ts3.8/integrations/tracing-channel/ioredis.d.ts +17 -0
- package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/postgres-js.d.ts +26 -0
- package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +15 -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 +13 -0
- package/build/types-ts3.8/mongoose/index.d.ts +11 -0
- package/build/types-ts3.8/mongoose/mongoose-dc-subscriber.d.ts +63 -0
- 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/channels.d.ts +55 -1
- package/build/types-ts3.8/orchestrion/config/amqplib.d.ts +66 -0
- package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +31 -0
- package/build/types-ts3.8/orchestrion/config/express.d.ts +32 -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/hapi.d.ts +17 -0
- package/build/types-ts3.8/orchestrion/{config.d.ts → config/index.d.ts} +1 -12
- package/build/types-ts3.8/orchestrion/config/ioredis.d.ts +7 -0
- package/build/types-ts3.8/orchestrion/config/lru-memoizer.d.ts +16 -0
- package/build/types-ts3.8/orchestrion/config/mysql.d.ts +16 -0
- package/build/types-ts3.8/orchestrion/config/openai.d.ts +20 -0
- package/build/types-ts3.8/orchestrion/config/pg.d.ts +33 -0
- package/build/types-ts3.8/orchestrion/config/postgres.d.ts +9 -0
- package/build/types-ts3.8/orchestrion/config/redis.d.ts +37 -0
- package/build/types-ts3.8/orchestrion/config/vercel-ai.d.ts +12 -0
- package/build/types-ts3.8/orchestrion/detect.d.ts +10 -0
- package/build/types-ts3.8/orchestrion/index.d.ts +82 -3
- 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/redis/redis-statement-serializer.d.ts +6 -0
- package/build/types-ts3.8/tracing-channel.d.ts +5 -0
- package/build/types-ts3.8/vercel-ai/util.d.ts +32 -0
- package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +15 -5
- package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-subscriber.d.ts +12 -0
- package/package.json +9 -9
- package/build/cjs/orchestrion/config.js +0 -44
- package/build/cjs/orchestrion/config.js.map +0 -1
- package/build/esm/orchestrion/config.js +0 -40
- package/build/esm/orchestrion/config.js.map +0 -1
- package/build/types/orchestrion/config.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/openai.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,aAAa,EAA4B,MAAM,cAAc,CAAC;AA8I3F;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;CAA+C,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PostgresConnectionContext, Span } from '@sentry/core';
|
|
2
|
+
export interface PostgresJsChannelIntegrationOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Only create spans when there's already an active parent span. Defaults to
|
|
5
|
+
* `true`, matching the OTel `postgresJsIntegration`.
|
|
6
|
+
*/
|
|
7
|
+
requireParentSpan?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Hook to modify the query span before the query runs. Receives the span, the
|
|
10
|
+
* sanitized SQL, and (when resolvable) the connection context.
|
|
11
|
+
*/
|
|
12
|
+
requestHook?: (span: Span, sanitizedSqlQuery: string, postgresConnectionContext?: PostgresConnectionContext) => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* EXPERIMENTAL — orchestrion-driven postgres.js (`postgres` v3.x) integration.
|
|
16
|
+
*
|
|
17
|
+
* Subscribes to the `orchestrion:postgres:handle` / `:connection` / `:execute` /
|
|
18
|
+
* `:connect` diagnostics channels injected into postgres.js' `Query.prototype.handle`
|
|
19
|
+
* and `Connection`/`execute`/`connect` (in `src/*` and `cjs/src/*`) and creates db
|
|
20
|
+
* spans matching the OTel `postgresJsIntegration`. Requires the orchestrion runtime
|
|
21
|
+
* hook or bundler plugin.
|
|
22
|
+
*/
|
|
23
|
+
export declare const postgresJsChannelIntegration: (options?: PostgresJsChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
24
|
+
name: "PostgresJs";
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=postgres-js.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgres-js.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/postgres-js.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAiB,yBAAyB,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AA4CnF,MAAM,WAAW,mCAAmC;IAClD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,yBAAyB,CAAC,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACtH;AA6QD;;;;;;;;GAQG;AACH,eAAO,MAAM,4BAA4B;;CAAmD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EXPERIMENTAL: orchestrion-driven `pg` (node-postgres) integration.
|
|
3
|
+
*
|
|
4
|
+
* Subscribes to the `orchestrion:pg:query`/`:connect` and
|
|
5
|
+
* `orchestrion:pg-pool:connect` diagnostics_channels that the orchestrion code
|
|
6
|
+
* transform injects into `pg`'s `Client.prototype.query`/`connect`
|
|
7
|
+
* and `pg-pool`'s `Pool.prototype.connect`. Requires the orchestrion runtime
|
|
8
|
+
* hook or bundler plugin to be active.
|
|
9
|
+
*/
|
|
10
|
+
export declare const postgresChannelIntegration: (options?: {
|
|
11
|
+
ignoreConnectSpans?: boolean;
|
|
12
|
+
} | undefined) => import("@sentry/core").Integration & {
|
|
13
|
+
name: "Postgres";
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=postgres.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/postgres.ts"],"names":[],"mappings":"AAmRA;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B;yBA3M+B,OAAO;;;CA2MW,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Span } from '@sentry/core';
|
|
2
|
+
/** Mirrors `@opentelemetry/instrumentation-redis`' response hook. Not called for failed commands. */
|
|
3
|
+
export type RedisResponseHook = (span: Span, command: string, args: Array<string | Buffer>, result: unknown) => void;
|
|
4
|
+
export interface RedisChannelIntegrationOptions {
|
|
5
|
+
responseHook?: RedisResponseHook;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* EXPERIMENTAL — orchestrion-driven redis integration for `redis` v2-v3 and
|
|
9
|
+
* node-redis v4/v5 `<5.12.0` (`@redis/client`). Covers single commands, `connect`,
|
|
10
|
+
* and multi/pipeline batches, fully replacing `@opentelemetry/instrumentation-redis`.
|
|
11
|
+
* Requires the orchestrion runtime hook or bundler plugin.
|
|
12
|
+
*/
|
|
13
|
+
export declare const redisChannelIntegration: (options?: RedisChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
14
|
+
name: "RedisChannel";
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=redis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redis.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/redis.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAiB,IAAI,EAAkB,MAAM,cAAc,CAAC;AA+BxE,qGAAqG;AACrG,MAAM,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;AAErH,MAAM,WAAW,8BAA8B;IAC7C,YAAY,CAAC,EAAE,iBAAiB,CAAC;CAClC;AAsSD;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;CAA8C,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-instrument the `ai` SDK. Supported are:
|
|
3
|
+
* - v7 via native `ai:telemetry` tracing channel
|
|
4
|
+
* - v4, v5 & v6 via orchestrion `orchestrion:ai:*` channels
|
|
5
|
+
*/
|
|
6
|
+
export declare const vercelAiChannelIntegration: (options?: {
|
|
7
|
+
recordInputs?: boolean;
|
|
8
|
+
recordOutputs?: boolean;
|
|
9
|
+
enableTruncation?: boolean;
|
|
10
|
+
} | undefined) => import("@sentry/core").Integration & {
|
|
11
|
+
name: "VercelAI";
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=vercel-ai.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vercel-ai.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/vercel-ai.ts"],"names":[],"mappings":"AAkCA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;;;CAAiD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-instrument the [mongoose](https://www.npmjs.com/package/mongoose) library via its native
|
|
3
|
+
* `node:diagnostics_channel` tracing channels (mongoose >= 9.7).
|
|
4
|
+
*
|
|
5
|
+
* On older mongoose versions the channels are never published to, so this integration is inert and
|
|
6
|
+
* the IITM-based patcher (gated to `< 9.7.0`) handles instrumentation instead.
|
|
7
|
+
*/
|
|
8
|
+
export declare const mongooseIntegration: () => import("@sentry/core").Integration & {
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mongoose/index.ts"],"names":[],"mappings":"AAsBA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;;CAA0C,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { TracingChannel } from 'node:diagnostics_channel';
|
|
2
|
+
export declare const MONGOOSE_DC_CHANNEL_QUERY = "mongoose:query";
|
|
3
|
+
export declare const MONGOOSE_DC_CHANNEL_AGGREGATE = "mongoose:aggregate";
|
|
4
|
+
export declare const MONGOOSE_DC_CHANNEL_MODEL_SAVE = "mongoose:model:save";
|
|
5
|
+
export declare const MONGOOSE_DC_CHANNEL_MODEL_INSERT_MANY = "mongoose:model:insertMany";
|
|
6
|
+
export declare const MONGOOSE_DC_CHANNEL_MODEL_BULK_WRITE = "mongoose:model:bulkWrite";
|
|
7
|
+
export declare const MONGOOSE_DC_CHANNEL_CURSOR_NEXT = "mongoose:cursor:next";
|
|
8
|
+
/**
|
|
9
|
+
* Shape of the context object mongoose >= 9.7.0 publishes on its tracing
|
|
10
|
+
* channels (mongoose's `TracingContext`, see `types/tracing.d.ts`).
|
|
11
|
+
*
|
|
12
|
+
* Node's `tracePromise` mutates this same object with `result`/`error` once the
|
|
13
|
+
* operation settles, which `bindTracingChannelToSpan` reads in its lifecycle
|
|
14
|
+
* handlers — hence both are declared optional here.
|
|
15
|
+
*
|
|
16
|
+
* Unlike redis/ioredis, mongoose does NOT pre-sanitize the payload, so `args`
|
|
17
|
+
* carries the raw user query. We redact it before emitting `db.query.text`.
|
|
18
|
+
*/
|
|
19
|
+
export interface MongooseTracingData {
|
|
20
|
+
operation: string;
|
|
21
|
+
/** Absent for connection-level `aggregate()` calls, which have no model/collection. */
|
|
22
|
+
collection?: string;
|
|
23
|
+
database?: string;
|
|
24
|
+
serverAddress?: string;
|
|
25
|
+
serverPort?: number;
|
|
26
|
+
/** Cursor channels only: the cursor's fetch batch size and tailable flag. */
|
|
27
|
+
batchSize?: number;
|
|
28
|
+
tailable?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Operation-specific arguments. `filter` (queries/cursors) and `pipeline`
|
|
31
|
+
* (aggregations) carry the query shape; `docs`/`ops` carry batch payloads.
|
|
32
|
+
*/
|
|
33
|
+
args?: {
|
|
34
|
+
filter?: unknown;
|
|
35
|
+
pipeline?: unknown;
|
|
36
|
+
docs?: unknown;
|
|
37
|
+
ops?: unknown;
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
result?: unknown;
|
|
41
|
+
error?: Error;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Platform-provided factory that creates a native tracing channel for the given name. The
|
|
45
|
+
* subscriber binds the span and its lifecycle onto the channel via `bindTracingChannelToSpan`,
|
|
46
|
+
* which propagates the active span through the runtime's async context.
|
|
47
|
+
*
|
|
48
|
+
* Node passes `node:diagnostics_channel`'s `tracingChannel` directly.
|
|
49
|
+
*/
|
|
50
|
+
export type MongooseTracingChannelFactory = <T extends object>(name: string) => TracingChannel<T, T>;
|
|
51
|
+
/**
|
|
52
|
+
* Subscribe Sentry span handlers to mongoose's diagnostics-channel events
|
|
53
|
+
* (`mongoose:query`, `:aggregate`, `:model:save`, `:model:insertMany`,
|
|
54
|
+
* `:model:bulkWrite`, `:cursor:next`), published by mongoose >= 9.7.0.
|
|
55
|
+
*
|
|
56
|
+
* On older mongoose versions the channels are never published to, so the
|
|
57
|
+
* subscribers are inert — there is no double-instrumentation against the
|
|
58
|
+
* IITM-based vendored patcher, which is gated to `< 9.7.0`.
|
|
59
|
+
*
|
|
60
|
+
* Idempotent: subsequent calls are a no-op.
|
|
61
|
+
*/
|
|
62
|
+
export declare function subscribeMongooseDiagnosticChannels(tracingChannel: MongooseTracingChannelFactory): void;
|
|
63
|
+
//# sourceMappingURL=mongoose-dc-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mongoose-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../src/mongoose/mongoose-dc-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAyB/D,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,6BAA6B,uBAAuB,CAAC;AAClE,eAAO,MAAM,8BAA8B,wBAAwB,CAAC;AACpE,eAAO,MAAM,qCAAqC,8BAA8B,CAAC;AACjF,eAAO,MAAM,oCAAoC,6BAA6B,CAAC;AAC/E,eAAO,MAAM,+BAA+B,yBAAyB,CAAC;AAStE;;;;;;;;;;GAUG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,uFAAuF;IACvF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE;QACL,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,IAAI,CAAC,EAAE,OAAO,CAAC;QACf,GAAG,CAAC,EAAE,OAAO,CAAC;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAIrG;;;;;;;;;;GAUG;AACH,wBAAgB,mCAAmC,CAAC,cAAc,EAAE,6BAA6B,GAAG,IAAI,CAkBvG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-instrument the [mysql2](https://www.npmjs.com/package/mysql2) library via its native
|
|
3
|
+
* `node:diagnostics_channel` tracing channels (mysql2 >= 3.20.0).
|
|
4
|
+
*
|
|
5
|
+
* On older mysql2 versions the channels are never published to, so this integration is inert and
|
|
6
|
+
* the vendored OTel instrumentation (gated to `< 3.20.0`) handles instrumentation instead.
|
|
7
|
+
*/
|
|
8
|
+
export declare const mysql2Integration: () => import("@sentry/core").Integration & {
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mysql2/index.ts"],"names":[],"mappings":"AAsBA;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;CAAwC,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { TracingChannel } from 'node:diagnostics_channel';
|
|
2
|
+
export declare const MYSQL2_DC_CHANNEL_QUERY = "mysql2:query";
|
|
3
|
+
export declare const MYSQL2_DC_CHANNEL_EXECUTE = "mysql2:execute";
|
|
4
|
+
export declare const MYSQL2_DC_CHANNEL_CONNECT = "mysql2:connect";
|
|
5
|
+
export declare const MYSQL2_DC_CHANNEL_POOL_CONNECT = "mysql2:pool:connect";
|
|
6
|
+
/**
|
|
7
|
+
* Shape of the context object mysql2 >= 3.20.0 publishes on its query/execute
|
|
8
|
+
* tracing channels (see mysql2 `lib/base/connection.js`).
|
|
9
|
+
*
|
|
10
|
+
* Node's `traceCallback`/`tracePromise` mutate this same object with
|
|
11
|
+
* `result`/`error` once the operation settles, which `bindTracingChannelToSpan`
|
|
12
|
+
* reads in its lifecycle handlers — hence both are declared optional here.
|
|
13
|
+
*
|
|
14
|
+
* `query` is the SQL statement. On the `query` channel mysql2 has already
|
|
15
|
+
* inlined `values` into it (`Connection.format`), so it carries raw user data;
|
|
16
|
+
* on the `execute` channel it keeps `?` placeholders. Either way we sanitize it
|
|
17
|
+
* before emitting `db.query.text` and never attach `values`.
|
|
18
|
+
*/
|
|
19
|
+
export interface MySQL2QueryData {
|
|
20
|
+
query?: string;
|
|
21
|
+
values?: unknown;
|
|
22
|
+
database?: string;
|
|
23
|
+
serverAddress?: string;
|
|
24
|
+
/** Absent for unix-socket connections, where `serverAddress` is the socket path. */
|
|
25
|
+
serverPort?: number;
|
|
26
|
+
result?: unknown;
|
|
27
|
+
error?: Error;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Shape of the context object mysql2 >= 3.20.0 publishes on its
|
|
31
|
+
* `connect`/`pool:connect` channels.
|
|
32
|
+
*/
|
|
33
|
+
export interface MySQL2ConnectData {
|
|
34
|
+
database?: string;
|
|
35
|
+
serverAddress?: string;
|
|
36
|
+
serverPort?: number;
|
|
37
|
+
user?: string;
|
|
38
|
+
result?: unknown;
|
|
39
|
+
error?: Error;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Platform-provided factory that creates a native tracing channel for the given name. The
|
|
43
|
+
* subscriber binds the span and its lifecycle onto the channel via `bindTracingChannelToSpan`,
|
|
44
|
+
* which propagates the active span through the runtime's async context.
|
|
45
|
+
*
|
|
46
|
+
* Node passes `node:diagnostics_channel`'s `tracingChannel` directly.
|
|
47
|
+
*/
|
|
48
|
+
export type MySQL2TracingChannelFactory = <T extends object>(name: string) => TracingChannel<T, T>;
|
|
49
|
+
/**
|
|
50
|
+
* Subscribe Sentry span handlers to mysql2's diagnostics-channel events
|
|
51
|
+
* (`mysql2:query`, `:execute`, `:connect`, `:pool:connect`), published by
|
|
52
|
+
* mysql2 >= 3.20.0.
|
|
53
|
+
*
|
|
54
|
+
* On older mysql2 versions the channels are never published to, so the
|
|
55
|
+
* subscribers are inert — there is no double-instrumentation against the
|
|
56
|
+
* vendored OTel patcher, which is gated to `< 3.20.0`.
|
|
57
|
+
*/
|
|
58
|
+
export declare function subscribeMysql2DiagnosticChannels(tracingChannel: MySQL2TracingChannelFactory): void;
|
|
59
|
+
//# sourceMappingURL=mysql2-dc-subscriber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mysql2-dc-subscriber.d.ts","sourceRoot":"","sources":["../../../src/mysql2/mysql2-dc-subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAoB/D,eAAO,MAAM,uBAAuB,iBAAiB,CAAC;AACtD,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,yBAAyB,mBAAmB,CAAC;AAC1D,eAAO,MAAM,8BAA8B,wBAAwB,CAAC;AAQpE;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED;;;;;;GAMG;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEnG;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAAC,cAAc,EAAE,2BAA2B,GAAG,IAAI,CAKnG"}
|
|
@@ -12,8 +12,62 @@
|
|
|
12
12
|
* they don't drift apart and silently stop firing.
|
|
13
13
|
*/
|
|
14
14
|
export declare const CHANNELS: {
|
|
15
|
-
readonly
|
|
15
|
+
readonly GRAPHQL_PARSE: "orchestrion:graphql:parse";
|
|
16
|
+
readonly GRAPHQL_VALIDATE: "orchestrion:graphql:validate";
|
|
17
|
+
readonly GRAPHQL_EXECUTE: "orchestrion:graphql:execute";
|
|
18
|
+
readonly EXPRESS_HANDLE: "orchestrion:express:handle";
|
|
19
|
+
readonly ROUTER_HANDLE: "orchestrion:router:handle";
|
|
20
|
+
readonly EXPRESS_ROUTE: "orchestrion:express:route";
|
|
21
|
+
readonly EXPRESS_USE: "orchestrion:express:use";
|
|
22
|
+
readonly ROUTER_ROUTE: "orchestrion:router:route";
|
|
23
|
+
readonly ROUTER_USE: "orchestrion:router:use";
|
|
24
|
+
readonly REDIS_COMMAND: "orchestrion:redis:command";
|
|
25
|
+
readonly NODE_REDIS_COMMAND: "orchestrion:@redis/client:command";
|
|
26
|
+
readonly NODE_REDIS_EXECUTOR: "orchestrion:@redis/client:executor";
|
|
27
|
+
readonly NODE_REDIS_CONNECT: "orchestrion:@redis/client:connect";
|
|
28
|
+
readonly NODE_REDIS_MULTI: "orchestrion:@redis/client:multi";
|
|
29
|
+
readonly NODE_REDIS_PIPELINE: "orchestrion:@redis/client:pipeline";
|
|
30
|
+
readonly NODE_REDIS_BATCH: "orchestrion:@redis/client:batch";
|
|
31
|
+
readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
|
|
32
|
+
readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
|
|
33
|
+
readonly AMQPLIB_PUBLISH: "orchestrion:amqplib:publish";
|
|
34
|
+
readonly AMQPLIB_CONFIRM_PUBLISH: "orchestrion:amqplib:confirmPublish";
|
|
35
|
+
readonly AMQPLIB_CONSUME: "orchestrion:amqplib:consume";
|
|
36
|
+
readonly AMQPLIB_DISPATCH: "orchestrion:amqplib:dispatch";
|
|
37
|
+
readonly AMQPLIB_ACK: "orchestrion:amqplib:ack";
|
|
38
|
+
readonly AMQPLIB_NACK: "orchestrion:amqplib:nack";
|
|
39
|
+
readonly AMQPLIB_REJECT: "orchestrion:amqplib:reject";
|
|
40
|
+
readonly AMQPLIB_ACK_ALL: "orchestrion:amqplib:ackAll";
|
|
41
|
+
readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
|
|
42
|
+
readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
|
|
43
|
+
readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
|
|
44
|
+
readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
|
|
45
|
+
readonly VERCEL_AI_GENERATE_OBJECT: "orchestrion:ai:generateObject";
|
|
46
|
+
readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
|
|
47
|
+
readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
|
|
48
|
+
readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
|
|
49
|
+
readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
|
|
50
|
+
readonly GOOGLE_GENAI_GENERATE_CONTENT: "orchestrion:@google/genai:generate-content";
|
|
51
|
+
readonly GOOGLE_GENAI_EMBED_CONTENT: "orchestrion:@google/genai:embed-content";
|
|
52
|
+
readonly GOOGLE_GENAI_CHAT: "orchestrion:@google/genai:chat";
|
|
53
|
+
readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
|
|
54
|
+
readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
|
|
55
|
+
readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
|
|
56
|
+
readonly OPENAI_CHAT: "orchestrion:openai:chat";
|
|
57
|
+
readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
|
|
58
|
+
readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
|
|
59
|
+
readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
|
|
60
|
+
readonly POSTGRESJS_HANDLE: "orchestrion:postgres:handle";
|
|
61
|
+
readonly POSTGRESJS_CONNECTION: "orchestrion:postgres:connection";
|
|
62
|
+
readonly POSTGRESJS_EXECUTE: "orchestrion:postgres:execute";
|
|
63
|
+
readonly POSTGRESJS_CONNECT: "orchestrion:postgres:connect";
|
|
64
|
+
readonly PG_QUERY: "orchestrion:pg:query";
|
|
65
|
+
readonly PG_CONNECT: "orchestrion:pg:connect";
|
|
66
|
+
readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
|
|
67
|
+
readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
|
|
68
|
+
readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
|
|
16
69
|
readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
|
|
70
|
+
readonly MYSQL_QUERY: "orchestrion:mysql:query";
|
|
17
71
|
};
|
|
18
72
|
export type ChannelName = (typeof CHANNELS)[keyof typeof CHANNELS];
|
|
19
73
|
//# sourceMappingURL=channels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/orchestrion/channels.ts"],"names":[],"mappings":"AAeA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeX,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
export declare const amqplibConfig: ({
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
filePath: string;
|
|
5
|
+
name: "amqplib";
|
|
6
|
+
versionRange: ">=0.5.5 <2";
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
className: string;
|
|
10
|
+
methodName: string;
|
|
11
|
+
kind: "Sync";
|
|
12
|
+
functionName?: undefined;
|
|
13
|
+
};
|
|
14
|
+
} | {
|
|
15
|
+
channelName: string;
|
|
16
|
+
module: {
|
|
17
|
+
filePath: string;
|
|
18
|
+
name: "amqplib";
|
|
19
|
+
versionRange: ">=0.5.5 <2";
|
|
20
|
+
};
|
|
21
|
+
functionQuery: {
|
|
22
|
+
className: string;
|
|
23
|
+
methodName: string;
|
|
24
|
+
kind: "Callback";
|
|
25
|
+
functionName?: undefined;
|
|
26
|
+
};
|
|
27
|
+
} | {
|
|
28
|
+
channelName: string;
|
|
29
|
+
module: {
|
|
30
|
+
filePath: string;
|
|
31
|
+
name: "amqplib";
|
|
32
|
+
versionRange: ">=0.5.5 <2";
|
|
33
|
+
};
|
|
34
|
+
functionQuery: {
|
|
35
|
+
className: string;
|
|
36
|
+
methodName: string;
|
|
37
|
+
kind: "Async";
|
|
38
|
+
functionName?: undefined;
|
|
39
|
+
};
|
|
40
|
+
} | {
|
|
41
|
+
channelName: string;
|
|
42
|
+
module: {
|
|
43
|
+
filePath: string;
|
|
44
|
+
name: "amqplib";
|
|
45
|
+
versionRange: ">=0.5.5 <2";
|
|
46
|
+
};
|
|
47
|
+
functionQuery: {
|
|
48
|
+
functionName: string;
|
|
49
|
+
kind: "Callback";
|
|
50
|
+
className?: undefined;
|
|
51
|
+
methodName?: undefined;
|
|
52
|
+
};
|
|
53
|
+
})[];
|
|
54
|
+
export declare const amqplibChannels: {
|
|
55
|
+
readonly AMQPLIB_PUBLISH: "orchestrion:amqplib:publish";
|
|
56
|
+
readonly AMQPLIB_CONFIRM_PUBLISH: "orchestrion:amqplib:confirmPublish";
|
|
57
|
+
readonly AMQPLIB_CONSUME: "orchestrion:amqplib:consume";
|
|
58
|
+
readonly AMQPLIB_DISPATCH: "orchestrion:amqplib:dispatch";
|
|
59
|
+
readonly AMQPLIB_ACK: "orchestrion:amqplib:ack";
|
|
60
|
+
readonly AMQPLIB_NACK: "orchestrion:amqplib:nack";
|
|
61
|
+
readonly AMQPLIB_REJECT: "orchestrion:amqplib:reject";
|
|
62
|
+
readonly AMQPLIB_ACK_ALL: "orchestrion:amqplib:ackAll";
|
|
63
|
+
readonly AMQPLIB_NACK_ALL: "orchestrion:amqplib:nackAll";
|
|
64
|
+
readonly AMQPLIB_CONNECT: "orchestrion:amqplib:connect";
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=amqplib.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"amqplib.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/amqplib.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6DS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;;;;;;;CAWlB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const anthropicAiConfig: ({
|
|
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: "Auto";
|
|
12
|
+
};
|
|
13
|
+
} | {
|
|
14
|
+
channelName: string;
|
|
15
|
+
module: {
|
|
16
|
+
name: string;
|
|
17
|
+
versionRange: string;
|
|
18
|
+
filePath: string;
|
|
19
|
+
};
|
|
20
|
+
functionQuery: {
|
|
21
|
+
className: string;
|
|
22
|
+
methodName: string;
|
|
23
|
+
kind: "Sync";
|
|
24
|
+
};
|
|
25
|
+
})[];
|
|
26
|
+
export declare const anthropicAiChannels: {
|
|
27
|
+
readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
|
|
28
|
+
readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
|
|
29
|
+
readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=anthropic-ai.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anthropic-ai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/anthropic-ai.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;IA+BK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const expressConfig: ({
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
expressionName: string;
|
|
10
|
+
kind: "Callback";
|
|
11
|
+
};
|
|
12
|
+
} | {
|
|
13
|
+
channelName: string;
|
|
14
|
+
module: {
|
|
15
|
+
name: string;
|
|
16
|
+
versionRange: string;
|
|
17
|
+
filePath: string;
|
|
18
|
+
};
|
|
19
|
+
functionQuery: {
|
|
20
|
+
expressionName: string;
|
|
21
|
+
kind: "Sync";
|
|
22
|
+
};
|
|
23
|
+
})[];
|
|
24
|
+
export declare const expressChannels: {
|
|
25
|
+
readonly EXPRESS_HANDLE: "orchestrion:express:handle";
|
|
26
|
+
readonly ROUTER_HANDLE: "orchestrion:router:handle";
|
|
27
|
+
readonly EXPRESS_ROUTE: "orchestrion:express:route";
|
|
28
|
+
readonly EXPRESS_USE: "orchestrion:express:use";
|
|
29
|
+
readonly ROUTER_ROUTE: "orchestrion:router:route";
|
|
30
|
+
readonly ROUTER_USE: "orchestrion:router:use";
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=express.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/express.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;IAsDS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;;;;;CAclB,CAAC"}
|
|
@@ -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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const hapiConfig: {
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
methodName: string;
|
|
10
|
+
kind: "Sync";
|
|
11
|
+
};
|
|
12
|
+
}[];
|
|
13
|
+
export declare const hapiChannels: {
|
|
14
|
+
readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
|
|
15
|
+
readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=hapi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hapi.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/hapi.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;GAeY,CAAC;AAEpC,eAAO,MAAM,YAAY;;;CAGf,CAAC"}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
-
/**
|
|
3
|
-
* The central list of channel injections orchestrion should perform.
|
|
4
|
-
*
|
|
5
|
-
* This module has NO side effects — it's the only thing both the runtime hook
|
|
6
|
-
* (`runtime/import-hook.mjs`) and the bundler plugins (`bundler/vite.ts`, …)
|
|
7
|
-
* import from. Adding a new instrumented method is one entry here plus one
|
|
8
|
-
* subscriber in `integrations/<lib>/tracing-channel.ts`.
|
|
9
|
-
*
|
|
10
|
-
* `channelName` here is the unprefixed suffix; the actual diagnostics_channel
|
|
11
|
-
* name is `orchestrion:${module.name}:${channelName}` (see `channels.ts`).
|
|
12
|
-
*/
|
|
13
2
|
export declare const SENTRY_INSTRUMENTATIONS: InstrumentationConfig[];
|
|
14
3
|
/**
|
|
15
4
|
* The unique set of package names instrumented by `SENTRY_INSTRUMENTATIONS`
|
|
@@ -32,4 +21,4 @@ export declare const INSTRUMENTED_MODULE_NAMES: string[];
|
|
|
32
21
|
* `INSTRUMENTED_MODULE_NAMES` directly rather than this helper.)
|
|
33
22
|
*/
|
|
34
23
|
export declare function withoutInstrumentedExternals(external: readonly string[] | undefined): string[] | undefined;
|
|
35
|
-
//# sourceMappingURL=
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +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;AAiB7E,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EAe1D,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAA0D,CAAC;AAEzG;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GAAG,MAAM,EAAE,GAAG,SAAS,CAO1G"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
+
export declare const ioredisConfig: InstrumentationConfig[];
|
|
3
|
+
export declare const ioredisChannels: {
|
|
4
|
+
readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
|
|
5
|
+
readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=ioredis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ioredis.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/ioredis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAE7E,eAAO,MAAM,aAAa,yBAwBS,CAAC;AAEpC,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const lruMemoizerConfig: {
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
functionName: string;
|
|
10
|
+
kind: "Callback";
|
|
11
|
+
};
|
|
12
|
+
}[];
|
|
13
|
+
export declare const lruMemoizerChannels: {
|
|
14
|
+
readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=lru-memoizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lru-memoizer.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/lru-memoizer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB;;;;;;;;;;;GAOK,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;CAEtB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const mysqlConfig: {
|
|
2
|
+
channelName: string;
|
|
3
|
+
module: {
|
|
4
|
+
name: string;
|
|
5
|
+
versionRange: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
};
|
|
8
|
+
functionQuery: {
|
|
9
|
+
expressionName: string;
|
|
10
|
+
kind: "Auto";
|
|
11
|
+
};
|
|
12
|
+
}[];
|
|
13
|
+
export declare const mysqlChannels: {
|
|
14
|
+
readonly MYSQL_QUERY: "orchestrion:mysql:query";
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=mysql.d.ts.map
|