@sentry/server-utils 10.62.0 → 10.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +10 -2
- package/build/cjs/index.js.map +1 -1
- 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/fastify/errors.js +42 -0
- package/build/cjs/integrations/tracing-channel/fastify/errors.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/fastify/index.js +34 -0
- package/build/cjs/integrations/tracing-channel/fastify/index.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js +279 -0
- package/build/cjs/integrations/tracing-channel/fastify/instrumentation.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/fastify/utils.js +11 -0
- package/build/cjs/integrations/tracing-channel/fastify/utils.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/lru-memoizer.js +31 -0
- package/build/cjs/integrations/tracing-channel/lru-memoizer.js.map +1 -0
- package/build/cjs/integrations/tracing-channel/mysql.js +46 -83
- 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 +170 -0
- package/build/cjs/integrations/tracing-channel/postgres.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/orchestrion/bundler/vite.js +3 -3
- package/build/cjs/orchestrion/bundler/vite.js.map +1 -1
- package/build/cjs/orchestrion/channels.js +17 -1
- package/build/cjs/orchestrion/channels.js.map +1 -1
- 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/hapi.js +26 -0
- package/build/cjs/orchestrion/config/hapi.js.map +1 -0
- package/build/cjs/orchestrion/config/index.js +35 -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/vercel-ai.js +44 -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 +27 -3
- 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/redis-statement-serializer.js +34 -0
- package/build/cjs/redis/redis-statement-serializer.js.map +1 -0
- package/build/cjs/tracing-channel.js +50 -11
- package/build/cjs/tracing-channel.js.map +1 -1
- package/build/cjs/vercel-ai/index.js +5 -3
- package/build/cjs/vercel-ai/index.js.map +1 -1
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js +11 -4
- package/build/cjs/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-v6-subscriber.js +256 -0
- package/build/cjs/vercel-ai/vercel-ai-orchestrion-v6-subscriber.js.map +1 -0
- package/build/esm/index.js +3 -0
- package/build/esm/index.js.map +1 -1
- 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/fastify/errors.js +39 -0
- package/build/esm/integrations/tracing-channel/fastify/errors.js.map +1 -0
- package/build/esm/integrations/tracing-channel/fastify/index.js +30 -0
- package/build/esm/integrations/tracing-channel/fastify/index.js.map +1 -0
- package/build/esm/integrations/tracing-channel/fastify/instrumentation.js +277 -0
- package/build/esm/integrations/tracing-channel/fastify/instrumentation.js.map +1 -0
- package/build/esm/integrations/tracing-channel/fastify/utils.js +8 -0
- package/build/esm/integrations/tracing-channel/fastify/utils.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/lru-memoizer.js +29 -0
- package/build/esm/integrations/tracing-channel/lru-memoizer.js.map +1 -0
- package/build/esm/integrations/tracing-channel/mysql.js +47 -84
- 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 +168 -0
- package/build/esm/integrations/tracing-channel/postgres.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/orchestrion/bundler/vite.js +1 -1
- package/build/esm/orchestrion/channels.js +17 -1
- package/build/esm/orchestrion/channels.js.map +1 -1
- 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/hapi.js +23 -0
- package/build/esm/orchestrion/config/hapi.js.map +1 -0
- package/build/esm/orchestrion/config/index.js +31 -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/vercel-ai.js +41 -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 +21 -2
- 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/redis-statement-serializer.js +32 -0
- package/build/esm/redis/redis-statement-serializer.js.map +1 -0
- package/build/esm/tracing-channel.js +51 -12
- package/build/esm/tracing-channel.js.map +1 -1
- package/build/esm/vercel-ai/index.js +6 -4
- package/build/esm/vercel-ai/index.js.map +1 -1
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js +14 -8
- package/build/esm/vercel-ai/vercel-ai-dc-subscriber.js.map +1 -1
- package/build/esm/vercel-ai/vercel-ai-orchestrion-v6-subscriber.js +254 -0
- package/build/esm/vercel-ai/vercel-ai-orchestrion-v6-subscriber.js.map +1 -0
- package/build/types/index.d.ts +3 -0
- package/build/types/index.d.ts.map +1 -1
- 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/fastify/errors.d.ts +12 -0
- package/build/types/integrations/tracing-channel/fastify/errors.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/fastify/index.d.ts +66 -0
- package/build/types/integrations/tracing-channel/fastify/index.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts +10 -0
- package/build/types/integrations/tracing-channel/fastify/instrumentation.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/fastify/types.d.ts +32 -0
- package/build/types/integrations/tracing-channel/fastify/types.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/fastify/utils.d.ts +9 -0
- package/build/types/integrations/tracing-channel/fastify/utils.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/lru-memoizer.d.ts +10 -0
- package/build/types/integrations/tracing-channel/lru-memoizer.d.ts.map +1 -0
- package/build/types/integrations/tracing-channel/mysql.d.ts +3 -1
- 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.d.ts +15 -0
- package/build/types/integrations/tracing-channel/postgres.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/orchestrion/channels.d.ts +21 -0
- package/build/types/orchestrion/channels.d.ts.map +1 -1
- 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/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/vercel-ai.d.ts +11 -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 +53 -2
- 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/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 +22 -0
- package/build/types/tracing-channel.d.ts.map +1 -1
- package/build/types/vercel-ai/index.d.ts +3 -1
- package/build/types/vercel-ai/index.d.ts.map +1 -1
- package/build/types/vercel-ai/vercel-ai-dc-subscriber.d.ts +10 -4
- 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 +12 -0
- package/build/types/vercel-ai/vercel-ai-orchestrion-v6-subscriber.d.ts.map +1 -0
- package/build/types-ts3.8/index.d.ts +4 -0
- package/build/types-ts3.8/integrations/tracing-channel/anthropic.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/fastify/errors.d.ts +12 -0
- package/build/types-ts3.8/integrations/tracing-channel/fastify/index.d.ts +66 -0
- package/build/types-ts3.8/integrations/tracing-channel/fastify/instrumentation.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/fastify/types.d.ts +32 -0
- package/build/types-ts3.8/integrations/tracing-channel/fastify/utils.d.ts +9 -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/lru-memoizer.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/mysql.d.ts +3 -1
- package/build/types-ts3.8/integrations/tracing-channel/openai.d.ts +10 -0
- package/build/types-ts3.8/integrations/tracing-channel/postgres.d.ts +15 -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/node-diagnostics-channel.d.ts +19 -0
- package/build/types-ts3.8/orchestrion/channels.d.ts +21 -0
- package/build/types-ts3.8/orchestrion/config/anthropic-ai.d.ts +31 -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/vercel-ai.d.ts +11 -0
- package/build/types-ts3.8/orchestrion/detect.d.ts +10 -0
- package/build/types-ts3.8/orchestrion/index.d.ts +53 -2
- package/build/types-ts3.8/redis/redis-statement-serializer.d.ts +6 -0
- package/build/types-ts3.8/tracing-channel.d.ts +22 -0
- package/build/types-ts3.8/vercel-ai/index.d.ts +3 -1
- package/build/types-ts3.8/vercel-ai/vercel-ai-dc-subscriber.d.ts +10 -4
- package/build/types-ts3.8/vercel-ai/vercel-ai-orchestrion-v6-subscriber.d.ts +12 -0
- package/package.json +10 -10
- package/build/cjs/orchestrion/config.js +0 -38
- package/build/cjs/orchestrion/config.js.map +0 -1
- package/build/esm/orchestrion/config.js +0 -34
- 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":"index.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/fastify/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAsB,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIhF,OAAO,EAAkC,kBAAkB,IAAI,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAErG;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,UAAU,yBAAyB;IACjC;;;;;;;;OAQG;IACH,iBAAiB,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC;CAC5F;AAsBD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;;CAE9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB;;CAAqB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,kBAAkB,4BAAsB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Set up the Fastify (>= 3.21.0 < 6) instrumentation by subscribing to the `fastify.initialization`
|
|
3
|
+
* diagnostics channel and registering the span-creating plugin on every Fastify instance.
|
|
4
|
+
*
|
|
5
|
+
* Idempotent and exposes an `id` so it can participate in the OpenTelemetry preload list.
|
|
6
|
+
*/
|
|
7
|
+
export declare const instrumentFastify: (() => void) & {
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=instrumentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"instrumentation.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/fastify/instrumentation.ts"],"names":[],"mappings":"AA+XA;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,SACE,IAAI;;CAmBnC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Integration } from '@sentry/core';
|
|
2
|
+
type HandlerOriginal = ((request: FastifyRequest, reply: FastifyReply, done: HookHandlerDoneFunction) => Promise<void>) | ((request: FastifyRequest, reply: FastifyReply, done: HookHandlerDoneFunction) => void);
|
|
3
|
+
type FastifyError = any;
|
|
4
|
+
type HookHandlerDoneFunction = <TError extends Error = FastifyError>(err?: TError) => void;
|
|
5
|
+
export interface FastifyInstance {
|
|
6
|
+
version: string;
|
|
7
|
+
register: (plugin: any) => FastifyInstance;
|
|
8
|
+
decorate: (key: string | symbol, value: unknown) => void;
|
|
9
|
+
decorateRequest: (key: string | symbol, value: unknown) => void;
|
|
10
|
+
setNotFoundHandler: (hooks: any, handler?: any) => void;
|
|
11
|
+
after: (listener?: (err: Error) => void) => FastifyInstance;
|
|
12
|
+
addHook(hook: string, handler: HandlerOriginal): FastifyInstance;
|
|
13
|
+
addHook(hook: 'onError', handler: (request: FastifyRequest, reply: FastifyReply, error: Error) => void): FastifyInstance;
|
|
14
|
+
addHook(hook: 'onRequest', handler: (request: FastifyRequest, reply: FastifyReply) => void): FastifyInstance;
|
|
15
|
+
}
|
|
16
|
+
export interface FastifyReply {
|
|
17
|
+
send: () => FastifyReply;
|
|
18
|
+
statusCode: number;
|
|
19
|
+
}
|
|
20
|
+
export interface FastifyRequest {
|
|
21
|
+
method?: string;
|
|
22
|
+
routeOptions?: {
|
|
23
|
+
url?: string;
|
|
24
|
+
};
|
|
25
|
+
routerPath?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface FastifyIntegration extends Integration {
|
|
28
|
+
getShouldHandleError: () => (error: Error, request: FastifyRequest, reply: FastifyReply) => boolean;
|
|
29
|
+
setShouldHandleError: (shouldHandleError: (error: Error, request: FastifyRequest, reply: FastifyReply) => boolean) => void;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/fastify/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,KAAK,eAAe,GAChB,CAAC,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,uBAAuB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC,GAChG,CAAC,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,uBAAuB,KAAK,IAAI,CAAC,CAAC;AAE5F,KAAK,YAAY,GAAG,GAAG,CAAC;AAExB,KAAK,uBAAuB,GAAG,CAAC,MAAM,SAAS,KAAK,GAAG,YAAY,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAE3F,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,eAAe,CAAC;IAC3C,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzD,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAChE,kBAAkB,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACxD,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,KAAK,eAAe,CAAC;IAC5D,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,eAAe,CAAC;IACjE,OAAO,CACL,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,GAC5E,eAAe,CAAC;IACnB,OAAO,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,KAAK,IAAI,GAAG,eAAe,CAAC;CAC9G;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,YAAY,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,YAAY,CAAC,EAAE;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kBAAmB,SAAQ,WAAW;IACrD,oBAAoB,EAAE,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,KAAK,OAAO,CAAC;IAEpG,oBAAoB,EAAE,CACpB,iBAAiB,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,KAAK,OAAO,KACvF,IAAI,CAAC;CACX"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FastifyReply, FastifyRequest } from './types';
|
|
2
|
+
export declare const INTEGRATION_NAME = "Fastify";
|
|
3
|
+
/**
|
|
4
|
+
* Default function to determine if an error should be sent to Sentry
|
|
5
|
+
*
|
|
6
|
+
* 3xx and 4xx errors are not sent by default.
|
|
7
|
+
*/
|
|
8
|
+
export declare function defaultShouldHandleError(_error: Error, _request: FastifyRequest, reply: FastifyReply): boolean;
|
|
9
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/integrations/tracing-channel/fastify/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE5D,eAAO,MAAM,gBAAgB,YAAY,CAAC;AAE1C;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAI9G"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare const LIFECYCLE_EXT_POINTS: readonly ["onPreAuth", "onCredentials", "onPostAuth", "onPreHandler", "onPostHandler", "onPreResponse", "onRequest"];
|
|
2
|
+
export type ServerRequestExtType = (typeof LIFECYCLE_EXT_POINTS)[number];
|
|
3
|
+
export type LifecycleMethod = (request: unknown, h: unknown, err?: Error) => unknown;
|
|
4
|
+
export interface ServerRouteOptions {
|
|
5
|
+
handler?: LifecycleMethod | unknown;
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}
|
|
8
|
+
export interface ServerRoute {
|
|
9
|
+
path: string;
|
|
10
|
+
method: string;
|
|
11
|
+
handler?: LifecycleMethod | unknown;
|
|
12
|
+
options?: ((server: unknown) => ServerRouteOptions) | ServerRouteOptions;
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
export interface ServerExtEventsObject {
|
|
16
|
+
type: string;
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
export interface ServerExtEventsRequestObject {
|
|
20
|
+
type: ServerRequestExtType;
|
|
21
|
+
method: LifecycleMethod;
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
export interface ServerExtOptions {
|
|
25
|
+
[key: string]: unknown;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* This symbol is used to mark a Hapi route handler or server extension handler as
|
|
29
|
+
* already patched, since it's possible to use these handlers multiple times
|
|
30
|
+
* i.e. when allowing multiple versions of one plugin, or when registering a plugin
|
|
31
|
+
* multiple times on different servers.
|
|
32
|
+
*/
|
|
33
|
+
export declare const handlerPatched: unique symbol;
|
|
34
|
+
export type PatchableServerRoute = ServerRoute & {
|
|
35
|
+
[handlerPatched]?: boolean;
|
|
36
|
+
};
|
|
37
|
+
export type PatchableExtMethod = LifecycleMethod & {
|
|
38
|
+
[handlerPatched]?: boolean;
|
|
39
|
+
};
|
|
40
|
+
export type ServerExtDirectInput = [ServerRequestExtType, LifecycleMethod, (ServerExtOptions | undefined)?];
|
|
41
|
+
export declare const HapiLayerType: {
|
|
42
|
+
readonly ROUTER: "router";
|
|
43
|
+
readonly PLUGIN: "plugin";
|
|
44
|
+
readonly EXT: "server.ext";
|
|
45
|
+
};
|
|
46
|
+
export declare const HapiLifecycleMethodNames: Set<string>;
|
|
47
|
+
export declare enum AttributeNames {
|
|
48
|
+
HAPI_TYPE = "hapi.type",
|
|
49
|
+
PLUGIN_NAME = "hapi.plugin.name",
|
|
50
|
+
EXT_TYPE = "server.ext.type"
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=hapi-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hapi-types.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/hapi-types.ts"],"names":[],"mappings":"AAUA,QAAA,MAAM,oBAAoB,sHAQhB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,CAAC,EAAE,KAAK,KAAK,OAAO,CAAC;AAErF,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,OAAO,KAAK,kBAAkB,CAAC,GAAG,kBAAkB,CAAC;IACzE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,IAAI,EAAE,oBAAoB,CAAC;IAC3B,MAAM,EAAE,eAAe,CAAC;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,MAAuC,CAAC;AAE5E,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAC/C,CAAC,cAAc,CAAC,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG;IACjD,CAAC,cAAc,CAAC,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,oBAAoB,EAAE,eAAe,EAAE,CAAC,gBAAgB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAE5G,eAAO,MAAM,aAAa;;;;CAIhB,CAAC;AAEX,eAAO,MAAM,wBAAwB,aAAwC,CAAC;AAE9E,oBAAY,cAAc;IACxB,SAAS,cAAc;IACvB,WAAW,qBAAqB;IAChC,QAAQ,oBAAoB;CAC7B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ServerRequestExtType, ServerRoute } from './hapi-types';
|
|
2
|
+
type SpanAttributes = Record<string, string | undefined>;
|
|
3
|
+
interface SpanMetadata {
|
|
4
|
+
attributes: SpanAttributes;
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
/** Build the span name and attributes for a Hapi route. */
|
|
8
|
+
export declare const getRouteMetadata: (route: ServerRoute, pluginName?: string) => SpanMetadata;
|
|
9
|
+
/** Build the span name and attributes for a Hapi server extension. */
|
|
10
|
+
export declare const getExtMetadata: (extPoint: ServerRequestExtType, pluginName?: string, methodName?: string) => SpanMetadata;
|
|
11
|
+
/**
|
|
12
|
+
* Wrap the route handler(s) in the live `server.route` arguments array, mutating
|
|
13
|
+
* `args[0]` in place. `args[0]` is either a single route options object or an
|
|
14
|
+
* array of them. Idempotent via the `handlerPatched` marker.
|
|
15
|
+
*/
|
|
16
|
+
export declare function wrapRouteArguments(args: unknown[], pluginName?: string): void;
|
|
17
|
+
/**
|
|
18
|
+
* Wrap the extension method(s) in the live `server.ext` arguments array,
|
|
19
|
+
* mutating `args` in place. Handles the three accepted input shapes:
|
|
20
|
+
* `(eventsArray)`, `(lifecycleEventObject)`, and `(extTypeString, method, options)`.
|
|
21
|
+
* Idempotent via the `handlerPatched` marker.
|
|
22
|
+
*/
|
|
23
|
+
export declare function wrapExtArguments(args: unknown[], pluginName?: string): void;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=hapi-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hapi-utils.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/hapi-utils.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAOV,oBAAoB,EACpB,WAAW,EAEZ,MAAM,cAAc,CAAC;AAKtB,KAAK,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;AAEzD,UAAU,YAAY;IACpB,UAAU,EAAE,cAAc,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd;AAgDD,2DAA2D;AAC3D,eAAO,MAAM,gBAAgB,GAAI,OAAO,WAAW,EAAE,aAAa,MAAM,KAAG,YAkB1E,CAAC;AAEF,sEAAsE;AACtE,eAAO,MAAM,cAAc,GACzB,UAAU,oBAAoB,EAC9B,aAAa,MAAM,EACnB,aAAa,MAAM,KAClB,YAuBF,CAAC;AAoFF;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAS7E;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAwB3E"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EXPERIMENTAL — orchestrion-driven hapi integration. Subscribes to the
|
|
3
|
+
* `orchestrion:@hapi/hapi:route` / `:ext` channels injected into `@hapi/hapi`'s
|
|
4
|
+
* `lib/server.js`. Requires the orchestrion runtime hook or bundler plugin.
|
|
5
|
+
*/
|
|
6
|
+
export declare const hapiChannelIntegration: () => import("@sentry/core").Integration & {
|
|
7
|
+
name: "Hapi";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=hapi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hapi.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/hapi.ts"],"names":[],"mappings":"AAgEA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;CAA6C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Span } from '@sentry/core';
|
|
2
|
+
/** Mirrors `@opentelemetry/instrumentation-ioredis`' response hook. Not called for failed commands. */
|
|
3
|
+
export type IORedisResponseHook = (span: Span, command: string, args: Array<string | Buffer>, result: unknown) => void;
|
|
4
|
+
export interface IORedisChannelIntegrationOptions {
|
|
5
|
+
responseHook?: IORedisResponseHook;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* EXPERIMENTAL — orchestrion-driven ioredis integration. Subscribes to
|
|
9
|
+
* `orchestrion:ioredis:command` / `:connect` (injected into ioredis' `<5.11.0`
|
|
10
|
+
* `sendCommand`/`connect`) and creates db spans matching
|
|
11
|
+
* `@opentelemetry/instrumentation-ioredis`. Requires the orchestrion runtime hook
|
|
12
|
+
* or bundler plugin.
|
|
13
|
+
*/
|
|
14
|
+
export declare const ioredisChannelIntegration: (options?: IORedisChannelIntegrationOptions | undefined) => import("@sentry/core").Integration & {
|
|
15
|
+
name: "IORedis";
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=ioredis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ioredis.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/ioredis.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAiB,IAAI,EAAE,MAAM,cAAc,CAAC;AAwBxD,uGAAuG;AACvG,MAAM,MAAM,mBAAmB,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;AAEvH,MAAM,WAAW,gCAAgC;IAC/C,YAAY,CAAC,EAAE,mBAAmB,CAAC;CACpC;AAoHD;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB;;CAAgD,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EXPERIMENTAL — orchestrion-driven lru-memoizer integration. Subscribes to
|
|
3
|
+
* `orchestrion:lru-memoizer:load` (injected into `lru-memoizer/lib/async.js`'s
|
|
4
|
+
* `memoizedFunction`). Creates no spans; only re-runs the memoized callback with the
|
|
5
|
+
* caller's scope. Requires the orchestrion runtime hook or bundler plugin.
|
|
6
|
+
*/
|
|
7
|
+
export declare const lruMemoizerChannelIntegration: () => import("@sentry/core").Integration & {
|
|
8
|
+
name: "LruMemoizer";
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=lru-memoizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lru-memoizer.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/lru-memoizer.ts"],"names":[],"mappings":"AAqCA;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;CAAoD,CAAC"}
|
|
@@ -6,5 +6,7 @@
|
|
|
6
6
|
* `Connection.prototype.query`. Requires the orchestrion runtime hook or
|
|
7
7
|
* bundler plugin to be active — wire that up via `_experimentalSetupOrchestrion`.
|
|
8
8
|
*/
|
|
9
|
-
export declare const mysqlChannelIntegration: () => import("@sentry/core").Integration
|
|
9
|
+
export declare const mysqlChannelIntegration: () => import("@sentry/core").Integration & {
|
|
10
|
+
name: "Mysql";
|
|
11
|
+
};
|
|
10
12
|
//# sourceMappingURL=mysql.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/mysql.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../../src/integrations/tracing-channel/mysql.ts"],"names":[],"mappings":"AAyKA;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;CAA8C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { OpenAiOptions } from '@sentry/core';
|
|
2
|
+
/**
|
|
3
|
+
* EXPERIMENTAL — orchestrion-driven OpenAI integration. Subscribes to the `orchestrion:openai:*`
|
|
4
|
+
* diagnostics_channels injected into `openai`'s `create` methods (chat completions, responses, embeddings,
|
|
5
|
+
* conversations), so it requires the orchestrion runtime hook or bundler plugin.
|
|
6
|
+
*/
|
|
7
|
+
export declare const openaiChannelIntegration: (options?: OpenAiOptions | undefined) => import("@sentry/core").Integration & {
|
|
8
|
+
name: "OpenAI";
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=openai.d.ts.map
|
|
@@ -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;AA6I3F;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;CAA+C,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":"AAsRA;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B;yBA9M+B,OAAO;;;CA8MW,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-instrument the `ai` SDK. Supported are:
|
|
3
|
+
* - v7 via native `ai:telemetry` tracing channel
|
|
4
|
+
* - 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;AAmB/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"}
|
|
@@ -12,6 +12,27 @@
|
|
|
12
12
|
* they don't drift apart and silently stop firing.
|
|
13
13
|
*/
|
|
14
14
|
export declare const CHANNELS: {
|
|
15
|
+
readonly HAPI_ROUTE: "orchestrion:@hapi/hapi:route";
|
|
16
|
+
readonly HAPI_EXT: "orchestrion:@hapi/hapi:ext";
|
|
17
|
+
readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
|
|
18
|
+
readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
|
|
19
|
+
readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
|
|
20
|
+
readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
|
|
21
|
+
readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
|
|
22
|
+
readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
|
|
23
|
+
readonly ANTHROPIC_CHAT: "orchestrion:@anthropic-ai/sdk:chat";
|
|
24
|
+
readonly ANTHROPIC_MODELS: "orchestrion:@anthropic-ai/sdk:models";
|
|
25
|
+
readonly ANTHROPIC_MESSAGES_STREAM: "orchestrion:@anthropic-ai/sdk:messages-stream";
|
|
26
|
+
readonly OPENAI_CHAT: "orchestrion:openai:chat";
|
|
27
|
+
readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
|
|
28
|
+
readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
|
|
29
|
+
readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
|
|
30
|
+
readonly PG_QUERY: "orchestrion:pg:query";
|
|
31
|
+
readonly PG_CONNECT: "orchestrion:pg:connect";
|
|
32
|
+
readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
|
|
33
|
+
readonly IOREDIS_COMMAND: "orchestrion:ioredis:command";
|
|
34
|
+
readonly IOREDIS_CONNECT: "orchestrion:ioredis:connect";
|
|
35
|
+
readonly LRU_MEMOIZER_LOAD: "orchestrion:lru-memoizer:load";
|
|
15
36
|
readonly MYSQL_QUERY: "orchestrion:mysql:query";
|
|
16
37
|
};
|
|
17
38
|
export type ChannelName = (typeof CHANNELS)[keyof typeof CHANNELS];
|
|
@@ -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":"AASA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;CASX,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,OAAO,QAAQ,CAAC,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,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;AAU7E,eAAO,MAAM,uBAAuB,EAAE,qBAAqB,EAS1D,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,EAAyE,CAAC;AAExH;;;;;;;;;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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mysql.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/mysql.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;GAMW,CAAC;AAEpC,eAAO,MAAM,aAAa;;CAEhB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const openaiConfig: {
|
|
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
|
+
export declare const openaiChannels: {
|
|
15
|
+
readonly OPENAI_CHAT: "orchestrion:openai:chat";
|
|
16
|
+
readonly OPENAI_RESPONSES: "orchestrion:openai:responses";
|
|
17
|
+
readonly OPENAI_EMBEDDINGS: "orchestrion:openai:embeddings";
|
|
18
|
+
readonly OPENAI_CONVERSATIONS: "orchestrion:openai:conversations";
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=openai.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/openai.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;GA2BU,CAAC;AAEpC,eAAO,MAAM,cAAc;;;;;CAKjB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const pgConfig: ({
|
|
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
|
+
expressionName?: undefined;
|
|
13
|
+
};
|
|
14
|
+
} | {
|
|
15
|
+
channelName: string;
|
|
16
|
+
module: {
|
|
17
|
+
name: string;
|
|
18
|
+
versionRange: string;
|
|
19
|
+
filePath: string;
|
|
20
|
+
};
|
|
21
|
+
functionQuery: {
|
|
22
|
+
expressionName: string;
|
|
23
|
+
kind: "Auto";
|
|
24
|
+
className?: undefined;
|
|
25
|
+
methodName?: undefined;
|
|
26
|
+
};
|
|
27
|
+
})[];
|
|
28
|
+
export declare const pgChannels: {
|
|
29
|
+
readonly PG_QUERY: "orchestrion:pg:query";
|
|
30
|
+
readonly PG_CONNECT: "orchestrion:pg:connect";
|
|
31
|
+
readonly PGPOOL_CONNECT: "orchestrion:pg-pool:connect";
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=pg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pg.d.ts","sourceRoot":"","sources":["../../../../src/orchestrion/config/pg.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;IAuCc,CAAC;AAEpC,eAAO,MAAM,UAAU;;;;CAIb,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InstrumentationConfig } from '@apm-js-collab/code-transformer';
|
|
2
|
+
export declare const vercelAiConfig: InstrumentationConfig[];
|
|
3
|
+
export declare const vercelAiChannels: {
|
|
4
|
+
readonly VERCEL_AI_GENERATE_TEXT: "orchestrion:ai:generateText";
|
|
5
|
+
readonly VERCEL_AI_STREAM_TEXT: "orchestrion:ai:streamText";
|
|
6
|
+
readonly VERCEL_AI_EMBED: "orchestrion:ai:embed";
|
|
7
|
+
readonly VERCEL_AI_EMBED_MANY: "orchestrion:ai:embedMany";
|
|
8
|
+
readonly VERCEL_AI_EXECUTE_TOOL_CALL: "orchestrion:ai:executeToolCall";
|
|
9
|
+
readonly VERCEL_AI_RESOLVE_LANGUAGE_MODEL: "orchestrion:ai:resolveLanguageModel";
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=vercel-ai.d.ts.map
|
|
@@ -0,0 +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,yBAeQ,CAAC;AAEpC,eAAO,MAAM,gBAAgB;;;;;;;CAcnB,CAAC"}
|