@sentry/core 10.50.0 → 10.52.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/client.js +33 -5
- package/build/cjs/client.js.map +1 -1
- package/build/cjs/envelope.js +4 -1
- package/build/cjs/envelope.js.map +1 -1
- package/build/cjs/fetch.js +7 -4
- package/build/cjs/fetch.js.map +1 -1
- package/build/cjs/index.js +37 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/instrument/console.js +3 -1
- package/build/cjs/instrument/console.js.map +1 -1
- package/build/cjs/instrument/fetch.js +6 -2
- package/build/cjs/instrument/fetch.js.map +1 -1
- package/build/cjs/instrument/handlers.js +11 -1
- package/build/cjs/instrument/handlers.js.map +1 -1
- package/build/cjs/integrations/console.js +3 -1
- package/build/cjs/integrations/console.js.map +1 -1
- package/build/cjs/integrations/express/index.js +2 -4
- package/build/cjs/integrations/express/index.js.map +1 -1
- package/build/cjs/integrations/express/utils.js +0 -7
- package/build/cjs/integrations/express/utils.js.map +1 -1
- package/build/cjs/integrations/extraerrordata.js +2 -2
- package/build/cjs/integrations/extraerrordata.js.map +1 -1
- package/build/cjs/integrations/http/add-outgoing-request-breadcrumb.js +43 -0
- package/build/cjs/integrations/http/add-outgoing-request-breadcrumb.js.map +1 -0
- package/build/cjs/integrations/http/client-patch.js +113 -0
- package/build/cjs/integrations/http/client-patch.js.map +1 -0
- package/build/cjs/integrations/http/client-subscriptions.js +166 -0
- package/build/cjs/integrations/http/client-subscriptions.js.map +1 -0
- package/build/cjs/integrations/http/constants.js +10 -0
- package/build/cjs/integrations/http/constants.js.map +1 -0
- package/build/cjs/integrations/http/double-wrap-warning.js +29 -0
- package/build/cjs/integrations/http/double-wrap-warning.js.map +1 -0
- package/build/cjs/integrations/http/get-outgoing-span-data.js +88 -0
- package/build/cjs/integrations/http/get-outgoing-span-data.js.map +1 -0
- package/build/cjs/integrations/http/get-request-url.js +54 -0
- package/build/cjs/integrations/http/get-request-url.js.map +1 -0
- package/build/cjs/integrations/http/inject-trace-propagation-headers.js +81 -0
- package/build/cjs/integrations/http/inject-trace-propagation-headers.js.map +1 -0
- package/build/cjs/integrations/postgresjs.js +10 -1
- package/build/cjs/integrations/postgresjs.js.map +1 -1
- package/build/cjs/integrations/requestdata.js +92 -6
- package/build/cjs/integrations/requestdata.js.map +1 -1
- package/build/cjs/integrations/supabase.js +39 -12
- package/build/cjs/integrations/supabase.js.map +1 -1
- package/build/cjs/logs/console-integration.js +3 -1
- package/build/cjs/logs/console-integration.js.map +1 -1
- package/build/cjs/logs/envelope.js +12 -2
- package/build/cjs/logs/envelope.js.map +1 -1
- package/build/cjs/logs/internal.js +7 -1
- package/build/cjs/logs/internal.js.map +1 -1
- package/build/cjs/metrics/envelope.js +15 -2
- package/build/cjs/metrics/envelope.js.map +1 -1
- package/build/cjs/metrics/internal.js +7 -1
- package/build/cjs/metrics/internal.js.map +1 -1
- package/build/cjs/server-runtime-client.js +20 -2
- package/build/cjs/server-runtime-client.js.map +1 -1
- package/build/cjs/tracing/ai/gen-ai-attributes.js +6 -0
- package/build/cjs/tracing/ai/gen-ai-attributes.js.map +1 -1
- package/build/cjs/tracing/idleSpan.js +7 -1
- package/build/cjs/tracing/idleSpan.js.map +1 -1
- package/build/cjs/tracing/langchain/index.js +43 -8
- package/build/cjs/tracing/langchain/index.js.map +1 -1
- package/build/cjs/tracing/langchain/utils.js +44 -10
- package/build/cjs/tracing/langchain/utils.js.map +1 -1
- package/build/cjs/tracing/langgraph/index.js +105 -2
- package/build/cjs/tracing/langgraph/index.js.map +1 -1
- package/build/cjs/tracing/langgraph/utils.js +168 -0
- package/build/cjs/tracing/langgraph/utils.js.map +1 -1
- package/build/cjs/tracing/spans/captureSpan.js +169 -9
- package/build/cjs/tracing/spans/captureSpan.js.map +1 -1
- package/build/cjs/tracing/spans/envelope.js +13 -3
- package/build/cjs/tracing/spans/envelope.js.map +1 -1
- package/build/cjs/tracing/trace.js +2 -0
- package/build/cjs/tracing/trace.js.map +1 -1
- package/build/cjs/tracing/vercel-ai/constants.js +8 -0
- package/build/cjs/tracing/vercel-ai/constants.js.map +1 -1
- package/build/cjs/tracing/vercel-ai/index.js +93 -14
- package/build/cjs/tracing/vercel-ai/index.js.map +1 -1
- package/build/cjs/trpc.js +2 -3
- package/build/cjs/trpc.js.map +1 -1
- package/build/cjs/utils/baggage.js +73 -0
- package/build/cjs/utils/baggage.js.map +1 -1
- package/build/cjs/utils/chain-and-copy-promiselike.js +1 -0
- package/build/cjs/utils/chain-and-copy-promiselike.js.map +1 -1
- package/build/cjs/utils/get-default-export.js +32 -0
- package/build/cjs/utils/get-default-export.js.map +1 -0
- package/build/cjs/utils/isSentryRequestUrl.js +9 -1
- package/build/cjs/utils/isSentryRequestUrl.js.map +1 -1
- package/build/cjs/utils/normalizationHints.js +38 -0
- package/build/cjs/utils/normalizationHints.js.map +1 -0
- package/build/cjs/utils/normalize.js +7 -11
- package/build/cjs/utils/normalize.js.map +1 -1
- package/build/cjs/utils/object.js +1 -1
- package/build/cjs/utils/object.js.map +1 -1
- package/build/cjs/utils/request.js +192 -12
- package/build/cjs/utils/request.js.map +1 -1
- package/build/cjs/utils/should-ignore-span.js +27 -8
- package/build/cjs/utils/should-ignore-span.js.map +1 -1
- package/build/cjs/utils/spanUtils.js +1 -1
- package/build/cjs/utils/spanUtils.js.map +1 -1
- package/build/cjs/utils/version.js +1 -1
- package/build/esm/client.js +33 -5
- package/build/esm/client.js.map +1 -1
- package/build/esm/envelope.js +4 -1
- package/build/esm/envelope.js.map +1 -1
- package/build/esm/fetch.js +7 -4
- package/build/esm/fetch.js.map +1 -1
- package/build/esm/index.js +11 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/instrument/console.js +3 -1
- package/build/esm/instrument/console.js.map +1 -1
- package/build/esm/instrument/fetch.js +6 -2
- package/build/esm/instrument/fetch.js.map +1 -1
- package/build/esm/instrument/handlers.js +11 -1
- package/build/esm/instrument/handlers.js.map +1 -1
- package/build/esm/integrations/console.js +3 -1
- package/build/esm/integrations/console.js.map +1 -1
- package/build/esm/integrations/express/index.js +3 -5
- package/build/esm/integrations/express/index.js.map +1 -1
- package/build/esm/integrations/express/utils.js +1 -7
- package/build/esm/integrations/express/utils.js.map +1 -1
- package/build/esm/integrations/extraerrordata.js +2 -2
- package/build/esm/integrations/extraerrordata.js.map +1 -1
- package/build/esm/integrations/http/add-outgoing-request-breadcrumb.js +41 -0
- package/build/esm/integrations/http/add-outgoing-request-breadcrumb.js.map +1 -0
- package/build/esm/integrations/http/client-patch.js +111 -0
- package/build/esm/integrations/http/client-patch.js.map +1 -0
- package/build/esm/integrations/http/client-subscriptions.js +164 -0
- package/build/esm/integrations/http/client-subscriptions.js.map +1 -0
- package/build/esm/integrations/http/constants.js +6 -0
- package/build/esm/integrations/http/constants.js.map +1 -0
- package/build/esm/integrations/http/double-wrap-warning.js +26 -0
- package/build/esm/integrations/http/double-wrap-warning.js.map +1 -0
- package/build/esm/integrations/http/get-outgoing-span-data.js +85 -0
- package/build/esm/integrations/http/get-outgoing-span-data.js.map +1 -0
- package/build/esm/integrations/http/get-request-url.js +49 -0
- package/build/esm/integrations/http/get-request-url.js.map +1 -0
- package/build/esm/integrations/http/inject-trace-propagation-headers.js +79 -0
- package/build/esm/integrations/http/inject-trace-propagation-headers.js.map +1 -0
- package/build/esm/integrations/postgresjs.js +10 -1
- package/build/esm/integrations/postgresjs.js.map +1 -1
- package/build/esm/integrations/requestdata.js +92 -6
- package/build/esm/integrations/requestdata.js.map +1 -1
- package/build/esm/integrations/supabase.js +39 -12
- package/build/esm/integrations/supabase.js.map +1 -1
- package/build/esm/logs/console-integration.js +3 -1
- package/build/esm/logs/console-integration.js.map +1 -1
- package/build/esm/logs/envelope.js +12 -2
- package/build/esm/logs/envelope.js.map +1 -1
- package/build/esm/logs/internal.js +7 -1
- package/build/esm/logs/internal.js.map +1 -1
- package/build/esm/metrics/envelope.js +15 -2
- package/build/esm/metrics/envelope.js.map +1 -1
- package/build/esm/metrics/internal.js +7 -1
- package/build/esm/metrics/internal.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/server-runtime-client.js +20 -2
- package/build/esm/server-runtime-client.js.map +1 -1
- package/build/esm/tracing/ai/gen-ai-attributes.js +6 -1
- package/build/esm/tracing/ai/gen-ai-attributes.js.map +1 -1
- package/build/esm/tracing/idleSpan.js +7 -1
- package/build/esm/tracing/idleSpan.js.map +1 -1
- package/build/esm/tracing/langchain/index.js +45 -10
- package/build/esm/tracing/langchain/index.js.map +1 -1
- package/build/esm/tracing/langchain/utils.js +44 -12
- package/build/esm/tracing/langchain/utils.js.map +1 -1
- package/build/esm/tracing/langgraph/index.js +107 -5
- package/build/esm/tracing/langgraph/index.js.map +1 -1
- package/build/esm/tracing/langgraph/utils.js +166 -2
- package/build/esm/tracing/langgraph/utils.js.map +1 -1
- package/build/esm/tracing/spans/captureSpan.js +170 -11
- package/build/esm/tracing/spans/captureSpan.js.map +1 -1
- package/build/esm/tracing/spans/envelope.js +13 -3
- package/build/esm/tracing/spans/envelope.js.map +1 -1
- package/build/esm/tracing/trace.js +2 -1
- package/build/esm/tracing/trace.js.map +1 -1
- package/build/esm/tracing/vercel-ai/constants.js +8 -1
- package/build/esm/tracing/vercel-ai/constants.js.map +1 -1
- package/build/esm/tracing/vercel-ai/index.js +95 -17
- package/build/esm/tracing/vercel-ai/index.js.map +1 -1
- package/build/esm/trpc.js +2 -3
- package/build/esm/trpc.js.map +1 -1
- package/build/esm/utils/baggage.js +73 -1
- package/build/esm/utils/baggage.js.map +1 -1
- package/build/esm/utils/chain-and-copy-promiselike.js +1 -0
- package/build/esm/utils/chain-and-copy-promiselike.js.map +1 -1
- package/build/esm/utils/get-default-export.js +30 -0
- package/build/esm/utils/get-default-export.js.map +1 -0
- package/build/esm/utils/isSentryRequestUrl.js +9 -1
- package/build/esm/utils/isSentryRequestUrl.js.map +1 -1
- package/build/esm/utils/normalizationHints.js +33 -0
- package/build/esm/utils/normalizationHints.js.map +1 -0
- package/build/esm/utils/normalize.js +7 -11
- package/build/esm/utils/normalize.js.map +1 -1
- package/build/esm/utils/object.js +1 -1
- package/build/esm/utils/object.js.map +1 -1
- package/build/esm/utils/request.js +190 -13
- package/build/esm/utils/request.js.map +1 -1
- package/build/esm/utils/should-ignore-span.js +27 -8
- package/build/esm/utils/should-ignore-span.js.map +1 -1
- package/build/esm/utils/spanUtils.js +1 -1
- package/build/esm/utils/spanUtils.js.map +1 -1
- package/build/esm/utils/version.js +1 -1
- package/build/types/client.d.ts +12 -1
- package/build/types/client.d.ts.map +1 -1
- package/build/types/envelope.d.ts.map +1 -1
- package/build/types/fetch.d.ts.map +1 -1
- package/build/types/index.d.ts +17 -6
- package/build/types/index.d.ts.map +1 -1
- package/build/types/instrument/console.d.ts +2 -1
- package/build/types/instrument/console.d.ts.map +1 -1
- package/build/types/instrument/fetch.d.ts +4 -2
- package/build/types/instrument/fetch.d.ts.map +1 -1
- package/build/types/instrument/handlers.d.ts +2 -2
- package/build/types/instrument/handlers.d.ts.map +1 -1
- package/build/types/integrations/console.d.ts.map +1 -1
- package/build/types/integrations/express/index.d.ts.map +1 -1
- package/build/types/integrations/express/utils.d.ts +1 -5
- package/build/types/integrations/express/utils.d.ts.map +1 -1
- package/build/types/integrations/http/add-outgoing-request-breadcrumb.d.ts +6 -0
- package/build/types/integrations/http/add-outgoing-request-breadcrumb.d.ts.map +1 -0
- package/build/types/integrations/http/client-patch.d.ts +46 -0
- package/build/types/integrations/http/client-patch.d.ts.map +1 -0
- package/build/types/integrations/http/client-subscriptions.d.ts +21 -0
- package/build/types/integrations/http/client-subscriptions.d.ts.map +1 -0
- package/build/types/integrations/http/constants.d.ts +6 -0
- package/build/types/integrations/http/constants.d.ts.map +1 -0
- package/build/types/integrations/http/double-wrap-warning.d.ts +4 -0
- package/build/types/integrations/http/double-wrap-warning.d.ts.map +1 -0
- package/build/types/integrations/http/get-outgoing-span-data.d.ts +13 -0
- package/build/types/integrations/http/get-outgoing-span-data.d.ts.map +1 -0
- package/build/types/integrations/http/get-request-url.d.ts +10 -0
- package/build/types/integrations/http/get-request-url.d.ts.map +1 -0
- package/build/types/integrations/http/index.d.ts +4 -0
- package/build/types/integrations/http/index.d.ts.map +1 -0
- package/build/types/integrations/http/inject-trace-propagation-headers.d.ts +12 -0
- package/build/types/integrations/http/inject-trace-propagation-headers.d.ts.map +1 -0
- package/build/types/integrations/http/types.d.ts +249 -0
- package/build/types/integrations/http/types.d.ts.map +1 -0
- package/build/types/integrations/postgresjs.d.ts.map +1 -1
- package/build/types/integrations/requestdata.d.ts.map +1 -1
- package/build/types/integrations/supabase.d.ts.map +1 -1
- package/build/types/logs/console-integration.d.ts.map +1 -1
- package/build/types/logs/envelope.d.ts +5 -2
- package/build/types/logs/envelope.d.ts.map +1 -1
- package/build/types/logs/internal.d.ts.map +1 -1
- package/build/types/metrics/envelope.d.ts +5 -2
- package/build/types/metrics/envelope.d.ts.map +1 -1
- package/build/types/metrics/internal.d.ts.map +1 -1
- package/build/types/server-runtime-client.d.ts +5 -0
- package/build/types/server-runtime-client.d.ts.map +1 -1
- package/build/types/tracing/idleSpan.d.ts.map +1 -1
- package/build/types/tracing/index.d.ts +1 -1
- package/build/types/tracing/index.d.ts.map +1 -1
- package/build/types/tracing/langchain/index.d.ts.map +1 -1
- package/build/types/tracing/langchain/types.d.ts +8 -0
- package/build/types/tracing/langchain/types.d.ts.map +1 -1
- package/build/types/tracing/langchain/utils.d.ts +2 -0
- package/build/types/tracing/langchain/utils.d.ts.map +1 -1
- package/build/types/tracing/langgraph/index.d.ts +4 -0
- package/build/types/tracing/langgraph/index.d.ts.map +1 -1
- package/build/types/tracing/langgraph/utils.d.ts +18 -2
- package/build/types/tracing/langgraph/utils.d.ts.map +1 -1
- package/build/types/tracing/spans/captureSpan.d.ts +13 -3
- package/build/types/tracing/spans/captureSpan.d.ts.map +1 -1
- package/build/types/tracing/spans/envelope.d.ts.map +1 -1
- package/build/types/tracing/trace.d.ts +1 -0
- package/build/types/tracing/trace.d.ts.map +1 -1
- package/build/types/tracing/vercel-ai/constants.d.ts +1 -0
- package/build/types/tracing/vercel-ai/constants.d.ts.map +1 -1
- package/build/types/tracing/vercel-ai/index.d.ts +9 -0
- package/build/types/tracing/vercel-ai/index.d.ts.map +1 -1
- package/build/types/trpc.d.ts.map +1 -1
- package/build/types/types-hoist/feedback/config.d.ts +20 -0
- package/build/types/types-hoist/feedback/config.d.ts.map +1 -1
- package/build/types/types-hoist/feedback/index.d.ts +2 -2
- package/build/types/types-hoist/feedback/index.d.ts.map +1 -1
- package/build/types/types-hoist/feedback/sendFeedback.d.ts +3 -0
- package/build/types/types-hoist/feedback/sendFeedback.d.ts.map +1 -1
- package/build/types/types-hoist/log.d.ts +5 -0
- package/build/types/types-hoist/log.d.ts.map +1 -1
- package/build/types/types-hoist/metric.d.ts +5 -0
- package/build/types/types-hoist/metric.d.ts.map +1 -1
- package/build/types/types-hoist/options.d.ts +37 -2
- package/build/types/types-hoist/options.d.ts.map +1 -1
- package/build/types/types-hoist/span.d.ts +5 -0
- package/build/types/types-hoist/span.d.ts.map +1 -1
- package/build/types/types-hoist/webfetchapi.d.ts +2 -0
- package/build/types/types-hoist/webfetchapi.d.ts.map +1 -1
- package/build/types/utils/baggage.d.ts +13 -0
- package/build/types/utils/baggage.d.ts.map +1 -1
- package/build/types/utils/get-default-export.d.ts +22 -0
- package/build/types/utils/get-default-export.d.ts.map +1 -0
- package/build/types/utils/normalizationHints.d.ts +9 -0
- package/build/types/utils/normalizationHints.d.ts.map +1 -0
- package/build/types/utils/normalize.d.ts.map +1 -1
- package/build/types/utils/object.d.ts +1 -1
- package/build/types/utils/object.d.ts.map +1 -1
- package/build/types/utils/request.d.ts +30 -0
- package/build/types/utils/request.d.ts.map +1 -1
- package/build/types/utils/should-ignore-span.d.ts +3 -1
- package/build/types/utils/should-ignore-span.d.ts.map +1 -1
- package/build/types/utils/spanUtils.d.ts +1 -1
- package/build/types-ts3.8/client.d.ts +12 -1
- package/build/types-ts3.8/index.d.ts +17 -6
- package/build/types-ts3.8/instrument/console.d.ts +2 -1
- package/build/types-ts3.8/instrument/fetch.d.ts +4 -2
- package/build/types-ts3.8/instrument/handlers.d.ts +2 -2
- package/build/types-ts3.8/integrations/express/utils.d.ts +1 -5
- package/build/types-ts3.8/integrations/http/add-outgoing-request-breadcrumb.d.ts +6 -0
- package/build/types-ts3.8/integrations/http/client-patch.d.ts +46 -0
- package/build/types-ts3.8/integrations/http/client-subscriptions.d.ts +21 -0
- package/build/types-ts3.8/integrations/http/constants.d.ts +6 -0
- package/build/types-ts3.8/integrations/http/double-wrap-warning.d.ts +4 -0
- package/build/types-ts3.8/integrations/http/get-outgoing-span-data.d.ts +13 -0
- package/build/types-ts3.8/integrations/http/get-request-url.d.ts +10 -0
- package/build/types-ts3.8/integrations/http/index.d.ts +4 -0
- package/build/types-ts3.8/integrations/http/inject-trace-propagation-headers.d.ts +12 -0
- package/build/types-ts3.8/integrations/http/types.d.ts +252 -0
- package/build/types-ts3.8/logs/envelope.d.ts +5 -2
- package/build/types-ts3.8/metrics/envelope.d.ts +5 -2
- package/build/types-ts3.8/server-runtime-client.d.ts +5 -0
- package/build/types-ts3.8/tracing/index.d.ts +1 -1
- package/build/types-ts3.8/tracing/langchain/types.d.ts +8 -0
- package/build/types-ts3.8/tracing/langchain/utils.d.ts +2 -0
- package/build/types-ts3.8/tracing/langgraph/index.d.ts +4 -0
- package/build/types-ts3.8/tracing/langgraph/utils.d.ts +18 -2
- package/build/types-ts3.8/tracing/spans/captureSpan.d.ts +13 -3
- package/build/types-ts3.8/tracing/trace.d.ts +1 -0
- package/build/types-ts3.8/tracing/vercel-ai/constants.d.ts +1 -0
- package/build/types-ts3.8/tracing/vercel-ai/index.d.ts +9 -0
- package/build/types-ts3.8/types-hoist/feedback/config.d.ts +20 -0
- package/build/types-ts3.8/types-hoist/feedback/index.d.ts +2 -2
- package/build/types-ts3.8/types-hoist/feedback/sendFeedback.d.ts +3 -0
- package/build/types-ts3.8/types-hoist/log.d.ts +5 -0
- package/build/types-ts3.8/types-hoist/metric.d.ts +5 -0
- package/build/types-ts3.8/types-hoist/options.d.ts +37 -2
- package/build/types-ts3.8/types-hoist/span.d.ts +5 -0
- package/build/types-ts3.8/types-hoist/webfetchapi.d.ts +2 -0
- package/build/types-ts3.8/utils/baggage.d.ts +13 -0
- package/build/types-ts3.8/utils/get-default-export.d.ts +22 -0
- package/build/types-ts3.8/utils/normalizationHints.d.ts +9 -0
- package/build/types-ts3.8/utils/object.d.ts +1 -1
- package/build/types-ts3.8/utils/request.d.ts +30 -0
- package/build/types-ts3.8/utils/should-ignore-span.d.ts +3 -1
- package/build/types-ts3.8/utils/spanUtils.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { HandlerDataConsole } from '../types-hoist/instrument';
|
|
2
2
|
/**
|
|
3
3
|
* Add an instrumentation handler for when a console.xxx method is called.
|
|
4
|
+
* Returns a function to remove the handler.
|
|
4
5
|
*
|
|
5
6
|
* Use at your own risk, this might break without changelog notice, only used internally.
|
|
6
7
|
* @hidden
|
|
7
8
|
*/
|
|
8
|
-
export declare function addConsoleInstrumentationHandler(handler: (data: HandlerDataConsole) => void): void;
|
|
9
|
+
export declare function addConsoleInstrumentationHandler(handler: (data: HandlerDataConsole) => void): () => void;
|
|
9
10
|
//# sourceMappingURL=console.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/instrument/console.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAgB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAMlF
|
|
1
|
+
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/instrument/console.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAgB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAMlF;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,GAAG,MAAM,IAAI,CAKxG"}
|
|
@@ -3,20 +3,22 @@ import type { HandlerDataFetch } from '../types-hoist/instrument';
|
|
|
3
3
|
* Add an instrumentation handler for when a fetch request happens.
|
|
4
4
|
* The handler function is called once when the request starts and once when it ends,
|
|
5
5
|
* which can be identified by checking if it has an `endTimestamp`.
|
|
6
|
+
* Returns a function to remove the handler.
|
|
6
7
|
*
|
|
7
8
|
* Use at your own risk, this might break without changelog notice, only used internally.
|
|
8
9
|
* @hidden
|
|
9
10
|
*/
|
|
10
|
-
export declare function addFetchInstrumentationHandler(handler: (data: HandlerDataFetch) => void, skipNativeFetchCheck?: boolean): void;
|
|
11
|
+
export declare function addFetchInstrumentationHandler(handler: (data: HandlerDataFetch) => void, skipNativeFetchCheck?: boolean): () => void;
|
|
11
12
|
/**
|
|
12
13
|
* Add an instrumentation handler for long-lived fetch requests, like consuming server-sent events (SSE) via fetch.
|
|
13
14
|
* The handler will resolve the request body and emit the actual `endTimestamp`, so that the
|
|
14
15
|
* span can be updated accordingly.
|
|
16
|
+
* Returns a function to remove the handler.
|
|
15
17
|
*
|
|
16
18
|
* Only used internally
|
|
17
19
|
* @hidden
|
|
18
20
|
*/
|
|
19
|
-
export declare function addFetchEndInstrumentationHandler(handler: (data: HandlerDataFetch) => void): void;
|
|
21
|
+
export declare function addFetchEndInstrumentationHandler(handler: (data: HandlerDataFetch) => void): () => void;
|
|
20
22
|
/**
|
|
21
23
|
* Parses the fetch arguments to find the used Http method and the url of the request.
|
|
22
24
|
* Exported for tests only.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/instrument/fetch.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAWlE
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/instrument/fetch.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAWlE;;;;;;;;GAQG;AACH,wBAAgB,8BAA8B,CAC5C,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,EACzC,oBAAoB,CAAC,EAAE,OAAO,GAC7B,MAAM,IAAI,CAKZ;AAED;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,GAAG,MAAM,IAAI,CAKvG;AA6MD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,OAAO,EAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAwBpF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type InstrumentHandlerType = 'console' | 'dom' | 'fetch' | 'fetch-body-resolved' | 'history' | 'xhr' | 'error' | 'unhandledrejection';
|
|
2
2
|
export type InstrumentHandlerCallback = (data: any) => void;
|
|
3
|
-
/** Add a handler function. */
|
|
4
|
-
export declare function addHandler(type: InstrumentHandlerType, handler: InstrumentHandlerCallback): void;
|
|
3
|
+
/** Add a handler function. Returns a function to remove the handler. */
|
|
4
|
+
export declare function addHandler(type: InstrumentHandlerType, handler: InstrumentHandlerCallback): () => void;
|
|
5
5
|
/**
|
|
6
6
|
* Reset all instrumentation handlers.
|
|
7
7
|
* This can be used by tests to ensure we have a clean slate of instrumentation handlers.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/instrument/handlers.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,qBAAqB,GAC7B,SAAS,GACT,KAAK,GACL,OAAO,GACP,qBAAqB,GACrB,SAAS,GACT,KAAK,GACL,OAAO,GACP,oBAAoB,CAAC;AAEzB,MAAM,MAAM,yBAAyB,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;AAM5D,
|
|
1
|
+
{"version":3,"file":"handlers.d.ts","sourceRoot":"","sources":["../../../src/instrument/handlers.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,qBAAqB,GAC7B,SAAS,GACT,KAAK,GACL,OAAO,GACP,qBAAqB,GACrB,SAAS,GACT,KAAK,GACL,OAAO,GACP,oBAAoB,CAAC;AAEzB,MAAM,MAAM,yBAAyB,GAAG,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;AAM5D,wEAAwE;AACxE,wBAAgB,UAAU,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,yBAAyB,GAAG,MAAM,IAAI,CAatG;AAED;;;GAGG;AACH,wBAAgB,4BAA4B,IAAI,IAAI,CAInD;AAED,2EAA2E;AAC3E,wBAAgB,eAAe,CAAC,IAAI,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,IAAI,GAAG,IAAI,CAS3F;AAED,yDAAyD;AACzD,wBAAgB,eAAe,CAAC,IAAI,EAAE,qBAAqB,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,CAiBhF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/integrations/console.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAM9D,UAAU,yBAAyB;IACjC,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB;AAUD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/integrations/console.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAM9D,UAAU,yBAAyB;IACjC,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB;AAUD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,wFAiB7B,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CA2B/E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/express/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAKH,OAAO,KAAK,EAEV,sBAAsB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/express/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAKH,OAAO,KAAK,EAEV,sBAAsB,EACtB,qBAAqB,EACrB,yBAAyB,EAGzB,mBAAmB,EAOpB,MAAM,SAAS,CAAC;AA8BjB;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,mBAAmB,EAClC,UAAU,EAAE,MAAM,yBAAyB,GAC1C,mBAAmB,CAAC;AACvB;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,yBAAyB,GAAG;IAAE,OAAO,EAAE,mBAAmB,CAAA;CAAE,GACpE,mBAAmB,CAAC;AAqGvB;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,CAAC,EAAE,qBAAqB,GAAG,sBAAsB,CAoB3F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE;IAEH,GAAG,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,OAAO,CAAC;CACnC,EACD,OAAO,CAAC,EAAE,qBAAqB,GAC9B,IAAI,CAGN"}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* limitations under the License.
|
|
28
28
|
*/
|
|
29
29
|
import type { SpanAttributes } from '../../types-hoist/span';
|
|
30
|
-
import type {
|
|
30
|
+
import type { ExpressIntegrationOptions, ExpressLayer, ExpressLayerType, ExpressRequest, MiddlewareError, ExpressExportv5, ExpressExportv4 } from './types';
|
|
31
31
|
import { ATTR_EXPRESS_NAME, ATTR_EXPRESS_TYPE } from './types';
|
|
32
32
|
/**
|
|
33
33
|
* Converts a user-provided error value into an error and error message pair
|
|
@@ -84,10 +84,6 @@ export declare function getConstructedRoute(req: ExpressRequest): string;
|
|
|
84
84
|
export declare const getLayerPath: (args: unknown[]) => string | undefined;
|
|
85
85
|
export declare const isExpressWithRouterPrototype: (express: unknown) => express is ExpressExportv5;
|
|
86
86
|
export declare const isExpressWithoutRouterPrototype: (express: unknown) => express is ExpressExportv4;
|
|
87
|
-
export declare const hasDefaultProp: (express: unknown) => express is {
|
|
88
|
-
[k: string]: unknown;
|
|
89
|
-
default: ExpressExport;
|
|
90
|
-
};
|
|
91
87
|
/** Returns true if response code is internal server error */
|
|
92
88
|
export declare function defaultShouldHandleError(error: MiddlewareError): boolean;
|
|
93
89
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/integrations/express/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/integrations/express/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EACV,yBAAyB,EACzB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EAEd,eAAe,EAEf,eAAe,EACf,eAAe,EAChB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,iBAAiB,EACjB,iBAAi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wBAAgB,wBAAwB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGxE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { HttpClientRequest, HttpIncomingMessage } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Create a breadcrumb for a finished outgoing HTTP request.
|
|
4
|
+
*/
|
|
5
|
+
export declare function addOutgoingRequestBreadcrumb(request: HttpClientRequest, response: HttpIncomingMessage | undefined): void;
|
|
6
|
+
//# sourceMappingURL=add-outgoing-request-breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-outgoing-request-breadcrumb.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/add-outgoing-request-breadcrumb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEtE;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,mBAAmB,GAAG,SAAS,GACxC,IAAI,CA0BN"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform-portable HTTP(S) outgoing-request patching integration
|
|
3
|
+
*
|
|
4
|
+
* Patches the `http` and `https` Node.js built-in module exports to create
|
|
5
|
+
* Sentry spans for outgoing requests and optionally inject distributed trace
|
|
6
|
+
* propagation headers.
|
|
7
|
+
*
|
|
8
|
+
* @module
|
|
9
|
+
*
|
|
10
|
+
* This Sentry integration is a derivative work based on the OpenTelemetry
|
|
11
|
+
* HTTP instrumentation.
|
|
12
|
+
*
|
|
13
|
+
* <https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http>
|
|
14
|
+
*
|
|
15
|
+
* Extended under the terms of the Apache 2.0 license linked below:
|
|
16
|
+
*
|
|
17
|
+
* ----
|
|
18
|
+
*
|
|
19
|
+
* Copyright The OpenTelemetry Authors
|
|
20
|
+
*
|
|
21
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
22
|
+
* you may not use this file except in compliance with the License.
|
|
23
|
+
* You may obtain a copy of the License at
|
|
24
|
+
*
|
|
25
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
26
|
+
*
|
|
27
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
28
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
29
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
30
|
+
* See the License for the specific language governing permissions and
|
|
31
|
+
* limitations under the License.
|
|
32
|
+
*/
|
|
33
|
+
import type { HttpModuleExport, HttpInstrumentationOptions } from './types';
|
|
34
|
+
/**
|
|
35
|
+
* Patch an `node:http` or `node:https` module-shaped export so that every
|
|
36
|
+
* outgoing request is tracked by Sentry.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import http from 'http';
|
|
41
|
+
* import { patchHttpModule } from '@sentry/core';
|
|
42
|
+
* patchHttpModule(http, { propagateTrace: true });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare const patchHttpModuleClient: (httpModuleExport: HttpModuleExport, options?: HttpInstrumentationOptions) => HttpModuleExport;
|
|
46
|
+
//# sourceMappingURL=client-patch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-patch.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/client-patch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAIH,OAAO,KAAK,EAAc,gBAAgB,EAAE,0BAA0B,EAAqB,MAAM,SAAS,CAAC;AA0D3G;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,GAChC,kBAAkB,gBAAgB,EAClC,UAAS,0BAA+B,KACvC,gBAA0D,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Define the channels and subscription methods to subscribe to in order to
|
|
3
|
+
* instrument the `node:http` module. Note that this does *not* actually
|
|
4
|
+
* register the subscriptions, it simply returns a data object with the
|
|
5
|
+
* channel names and the subscription handlers. Attach these to diagnostic
|
|
6
|
+
* channels on Node versions where they are supported (ie, >=22.12.0).
|
|
7
|
+
*
|
|
8
|
+
* If any other platforms that do support diagnostic channels eventually add
|
|
9
|
+
* channel coverage for the `node:http` client, then these methods can be
|
|
10
|
+
* used on those platforms as well.
|
|
11
|
+
*
|
|
12
|
+
* This implementation is used in the client-patch strategy, by simply
|
|
13
|
+
* calling the handlers with the relevant data at the appropriate time.
|
|
14
|
+
*/
|
|
15
|
+
import type { HttpInstrumentationOptions } from './types';
|
|
16
|
+
import type { ClientSubscriptionName } from './constants';
|
|
17
|
+
type ChannelListener = (message: unknown, name: string | symbol) => void;
|
|
18
|
+
export type HttpClientSubscriptions = Record<ClientSubscriptionName, ChannelListener>;
|
|
19
|
+
export declare function getHttpClientSubscriptions(options: HttpInstrumentationOptions): HttpClientSubscriptions;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=client-subscriptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client-subscriptions.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/client-subscriptions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAiBH,OAAO,KAAK,EAAE,0BAA0B,EAA0C,MAAM,SAAS,CAAC;AAGlG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAK1D,KAAK,eAAe,GAAG,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;AAEzE,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,EAAE,eAAe,CAAC,CAAC;AAEtF,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,0BAA0B,GAAG,uBAAuB,CAkJvG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const LOG_PREFIX = "@sentry/instrumentation-http";
|
|
2
|
+
export declare const HTTP_ON_CLIENT_REQUEST = "http.client.request.created";
|
|
3
|
+
export declare const HTTP_ON_SERVER_REQUEST = "http.server.request.start";
|
|
4
|
+
export type ClientSubscriptionName = typeof HTTP_ON_CLIENT_REQUEST;
|
|
5
|
+
export type ServerSubscriptionName = typeof HTTP_ON_SERVER_REQUEST;
|
|
6
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,iCAAiC,CAAC;AACzD,eAAO,MAAM,sBAAsB,gCAAgC,CAAC;AACpE,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC;AACnE,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { HttpModuleExport } from './types';
|
|
2
|
+
export declare const warning = "Double-wrapped http.client detected. Either disable spans in Sentry.httpIntegration, or disable the OpenTelemetry HTTP instrumentation.";
|
|
3
|
+
export declare const doubleWrapWarning: (http: HttpModuleExport) => void;
|
|
4
|
+
//# sourceMappingURL=double-wrap-warning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"double-wrap-warning.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/double-wrap-warning.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAMhD,eAAO,MAAM,OAAO,4IACuH,CAAC;AAI5I,eAAO,MAAM,iBAAiB,SACnB,gBAAgB,SASf,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Span } from '../../types-hoist/span';
|
|
2
|
+
import type { HttpClientRequest, HttpIncomingMessage } from './types';
|
|
3
|
+
import type { StartSpanOptions } from '../../types-hoist/startSpanOptions';
|
|
4
|
+
/**
|
|
5
|
+
* Build the initial span name and attributes for an outgoing HTTP request.
|
|
6
|
+
* This is called before the span is created, to get the initial details.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getOutgoingRequestSpanData(request: HttpClientRequest): StartSpanOptions;
|
|
9
|
+
/**
|
|
10
|
+
* Add span attributes once the response is received.
|
|
11
|
+
*/
|
|
12
|
+
export declare function setIncomingResponseSpanData(response: HttpIncomingMessage, span: Span): void;
|
|
13
|
+
//# sourceMappingURL=get-outgoing-span-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-outgoing-span-data.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/get-outgoing-span-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAkB,MAAM,wBAAwB,CAAC;AAGnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,iBAAiB,GAAG,gBAAgB,CA4BvF;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,mBAAmB,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,CAiB3F"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { HttpClientRequest, HttpRequestOptions } from './types';
|
|
2
|
+
/** Convert an outgoing request to request options. */
|
|
3
|
+
export declare function getRequestOptions(request: HttpClientRequest): HttpRequestOptions;
|
|
4
|
+
export declare function getRequestUrl(requestOptions: HttpRequestOptions): string;
|
|
5
|
+
export declare function getRequestUrlObject(requestOptions: HttpRequestOptions): URL;
|
|
6
|
+
/**
|
|
7
|
+
* Build the full URL string from a Node.js ClientRequest.
|
|
8
|
+
*/
|
|
9
|
+
export declare function getRequestUrlFromClientRequest(request: HttpClientRequest): string;
|
|
10
|
+
//# sourceMappingURL=get-request-url.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-request-url.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/get-request-url.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAErE,sDAAsD;AACtD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,kBAAkB,CAmBhF;AAED,wBAAgB,aAAa,CAAC,cAAc,EAAE,kBAAkB,GAAG,MAAM,CAExE;AAED,wBAAgB,mBAAmB,CAAC,cAAc,EAAE,kBAAkB,GAAG,GAAG,CAY3E;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,iBAAiB,GAAG,MAAM,CAEjF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AAC1D,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LRUMap } from '../../utils/lru';
|
|
2
|
+
import type { HttpClientRequest } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Inject Sentry trace-propagation headers into an outgoing request if the
|
|
5
|
+
* target URL matches the configured `tracePropagationTargets`.
|
|
6
|
+
*
|
|
7
|
+
* Note: this must be called *before* calling `request.end()` (or firing the
|
|
8
|
+
* `http.client.request.start` diagnostics channel), because at that point,
|
|
9
|
+
* the headers have already been sent, and cannot be modified.
|
|
10
|
+
*/
|
|
11
|
+
export declare function injectTracePropagationHeaders(request: HttpClientRequest, propagationDecisionMap: LRUMap<string, boolean>): void;
|
|
12
|
+
//# sourceMappingURL=inject-trace-propagation-headers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inject-trace-propagation-headers.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/inject-trace-propagation-headers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAS9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAGjD;;;;;;;GAOG;AACH,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,iBAAiB,EAC1B,sBAAsB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC9C,IAAI,CAsDN"}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform-portable HTTP(S) outgoing-request integration – type definitions.
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*
|
|
6
|
+
* This Sentry integration is a derivative work based on the OpenTelemetry
|
|
7
|
+
* HTTP instrumentation.
|
|
8
|
+
*
|
|
9
|
+
* <https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/opentelemetry-instrumentation-http>
|
|
10
|
+
*
|
|
11
|
+
* Extended under the terms of the Apache 2.0 license linked below:
|
|
12
|
+
*
|
|
13
|
+
* ----
|
|
14
|
+
*
|
|
15
|
+
* Copyright The OpenTelemetry Authors
|
|
16
|
+
*
|
|
17
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
18
|
+
* you may not use this file except in compliance with the License.
|
|
19
|
+
* You may obtain a copy of the License at
|
|
20
|
+
*
|
|
21
|
+
* https://www.apache.org/licenses/LICENSE-2.0
|
|
22
|
+
*
|
|
23
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
24
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
25
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
26
|
+
* See the License for the specific language governing permissions and
|
|
27
|
+
* limitations under the License.
|
|
28
|
+
*/
|
|
29
|
+
import type { RequestEventData } from '../../types-hoist/request';
|
|
30
|
+
import type { Span } from '../../types-hoist/span';
|
|
31
|
+
/** Minimal interface for a Node.js http.ClientRequest */
|
|
32
|
+
export interface HttpClientRequest {
|
|
33
|
+
method?: string;
|
|
34
|
+
path?: string;
|
|
35
|
+
host?: string;
|
|
36
|
+
protocol?: string;
|
|
37
|
+
port?: number;
|
|
38
|
+
end(): void;
|
|
39
|
+
getHeader(name: string): string | string[] | number | undefined;
|
|
40
|
+
getHeaders(): Record<string, string | string[] | undefined | number>;
|
|
41
|
+
setHeader(name: string, value: string | string[] | number): void;
|
|
42
|
+
removeHeader(name: string): void;
|
|
43
|
+
prependListener(event: 'response', listener: (res: HttpIncomingMessage) => void): this;
|
|
44
|
+
prependListener(event: string | symbol, listener: (...args: unknown[]) => void): this;
|
|
45
|
+
on(event: string | symbol, listener: (...args: unknown[]) => void): this;
|
|
46
|
+
once(event: string | symbol, listener: (...args: unknown[]) => void): this;
|
|
47
|
+
listenerCount(event: string | symbol): number;
|
|
48
|
+
removeListener(event: string | symbol, listener: (...args: unknown[]) => void): this;
|
|
49
|
+
}
|
|
50
|
+
/** Minimal interface for http client RequestOptions */
|
|
51
|
+
export interface HttpRequestOptions {
|
|
52
|
+
method?: string;
|
|
53
|
+
protocol?: string | null;
|
|
54
|
+
hostname?: string | null;
|
|
55
|
+
host?: string | null;
|
|
56
|
+
port?: string | number | null;
|
|
57
|
+
path?: string | null;
|
|
58
|
+
headers?: Record<string, string | string[] | undefined | number>;
|
|
59
|
+
}
|
|
60
|
+
/** Minimal interface for a Node.js http.ServerResponse */
|
|
61
|
+
export interface HttpServerResponse {
|
|
62
|
+
statusCode: number;
|
|
63
|
+
statusMessage?: string;
|
|
64
|
+
headers: Record<string, string | undefined | string[] | number>;
|
|
65
|
+
once(ev: string, ...data: unknown[]): this;
|
|
66
|
+
once(ev: 'close'): this;
|
|
67
|
+
on(ev: string | symbol, handler: (...data: unknown[]) => void): this;
|
|
68
|
+
}
|
|
69
|
+
export interface HttpServer {
|
|
70
|
+
emit(ev: string, ...data: unknown[]): this;
|
|
71
|
+
emit(ev: 'request', request: HttpIncomingMessage, response: HttpServerResponse): this;
|
|
72
|
+
}
|
|
73
|
+
export interface HttpSocket {
|
|
74
|
+
remoteAddress?: string;
|
|
75
|
+
remotePort?: number;
|
|
76
|
+
localAddress?: string;
|
|
77
|
+
localPort?: number;
|
|
78
|
+
}
|
|
79
|
+
/** Minimal interface for a Node.js http.IncomingMessage */
|
|
80
|
+
export interface HttpIncomingMessage {
|
|
81
|
+
statusCode?: number;
|
|
82
|
+
statusMessage?: string;
|
|
83
|
+
httpVersion?: string;
|
|
84
|
+
url?: string;
|
|
85
|
+
method?: string;
|
|
86
|
+
headers: Record<string, string | string[] | undefined>;
|
|
87
|
+
socket?: HttpSocket;
|
|
88
|
+
aborted?: boolean;
|
|
89
|
+
complete?: boolean;
|
|
90
|
+
resume(): void;
|
|
91
|
+
on(event: 'end', listener: () => void): this;
|
|
92
|
+
on(event: string | symbol, listener: (...args: unknown[]) => void): this;
|
|
93
|
+
addListener(event: 'end', listener: () => void): this;
|
|
94
|
+
addListener(event: string | symbol, listener: (...args: unknown[]) => void): this;
|
|
95
|
+
off(event: string | symbol, listener: (...args: unknown[]) => void): this;
|
|
96
|
+
removeListener(event: string | symbol, listener: (...args: unknown[]) => void): this;
|
|
97
|
+
}
|
|
98
|
+
/** Minimal interface for a Node.js http / https module export */
|
|
99
|
+
export interface HttpExport {
|
|
100
|
+
request: (...args: any[]) => HttpClientRequest;
|
|
101
|
+
get: (...args: any[]) => HttpClientRequest;
|
|
102
|
+
[key: string]: unknown;
|
|
103
|
+
}
|
|
104
|
+
export type HttpModuleExport = HttpExport | (HttpExport & {
|
|
105
|
+
default: HttpExport;
|
|
106
|
+
});
|
|
107
|
+
export interface HttpInstrumentationOptions {
|
|
108
|
+
/**
|
|
109
|
+
* Whether to create spans for outgoing HTTP requests.
|
|
110
|
+
* @default true
|
|
111
|
+
*/
|
|
112
|
+
spans?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Whether to inject distributed trace propagation headers
|
|
115
|
+
* (`sentry-trace`, `baggage`, `traceparent`) into outgoing requests.
|
|
116
|
+
* @default false
|
|
117
|
+
*/
|
|
118
|
+
propagateTrace?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Skip span / breadcrumb creation for requests to matching URLs.
|
|
121
|
+
* Receives the full URL string and the outgoing request object.
|
|
122
|
+
*/
|
|
123
|
+
ignoreOutgoingRequests?: (url: string, request: HttpClientRequest) => boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Whether breadcrumbs should be recorded for outgoing requests.
|
|
126
|
+
* @default true
|
|
127
|
+
*/
|
|
128
|
+
breadcrumbs?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Called after the outgoing-request span is created by the client.
|
|
131
|
+
* Use this to add custom attributes to the span.
|
|
132
|
+
*/
|
|
133
|
+
outgoingRequestHook?: (span: Span, request: HttpClientRequest) => void;
|
|
134
|
+
/**
|
|
135
|
+
* Called when the response is received by the client.
|
|
136
|
+
*/
|
|
137
|
+
outgoingResponseHook?: (span: Span, response: HttpIncomingMessage) => void;
|
|
138
|
+
/**
|
|
139
|
+
* Called when both the request and response are available (after the
|
|
140
|
+
* response ends). Useful for adding attributes based on both objects.
|
|
141
|
+
*/
|
|
142
|
+
applyCustomAttributesOnSpan?: (span: Span, request: HttpClientRequest, response: HttpIncomingMessage) => void;
|
|
143
|
+
/**
|
|
144
|
+
* Symbol to use for observing errors on EventEmitters without consuming
|
|
145
|
+
* them. Pass `EventEmitter.errorMonitor` from Node.js `events` module.
|
|
146
|
+
* Falls back to the plain `'error'` event string when not provided.
|
|
147
|
+
*
|
|
148
|
+
* Using the real `errorMonitor` symbol ensures that Sentry does not
|
|
149
|
+
* swallow errors before they reach user-supplied `'error'` handlers.
|
|
150
|
+
*/
|
|
151
|
+
errorMonitor?: symbol | string;
|
|
152
|
+
/**
|
|
153
|
+
* Controls the maximum size of incoming HTTP request bodies attached to events.
|
|
154
|
+
*
|
|
155
|
+
* Available options:
|
|
156
|
+
* - 'none': No request bodies will be attached
|
|
157
|
+
* - 'small': Request bodies up to 1,000 bytes will be attached
|
|
158
|
+
* - 'medium': Request bodies up to 10,000 bytes will be attached (default)
|
|
159
|
+
* - 'always': Request bodies will always be attached
|
|
160
|
+
*
|
|
161
|
+
* Note that even with 'always' setting, bodies exceeding 1MB will never be attached
|
|
162
|
+
* for performance and security reasons.
|
|
163
|
+
*
|
|
164
|
+
* @default 'medium'
|
|
165
|
+
*/
|
|
166
|
+
maxRequestBodySize?: 'none' | 'small' | 'medium' | 'always';
|
|
167
|
+
/**
|
|
168
|
+
* Do not capture the request body for incoming HTTP requests to URLs where the given callback returns `true`.
|
|
169
|
+
* This can be useful for long running requests where the body is not needed and we want to avoid capturing it.
|
|
170
|
+
*
|
|
171
|
+
* @param url Contains the entire URL, including query string (if any), protocol, host, etc. of the incoming request.
|
|
172
|
+
* @param request Contains the {@type RequestOptions} object used to make the incoming request.
|
|
173
|
+
*/
|
|
174
|
+
ignoreRequestBody?: (url: string, request: HttpIncomingMessage) => boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Whether the integration should create [Sessions](https://docs.sentry.io/product/releases/health/#sessions) for incoming requests to track the health and crash-free rate of your releases in Sentry.
|
|
177
|
+
* Read more about Release Health: https://docs.sentry.io/product/releases/health/
|
|
178
|
+
*
|
|
179
|
+
* Defaults to `true`.
|
|
180
|
+
*/
|
|
181
|
+
sessions?: boolean;
|
|
182
|
+
/**
|
|
183
|
+
* Number of milliseconds until sessions tracked with `trackIncomingRequestsAsSessions` will be flushed as a session aggregate.
|
|
184
|
+
*
|
|
185
|
+
* Defaults to `60000` (60s).
|
|
186
|
+
*/
|
|
187
|
+
sessionFlushingDelayMS?: number;
|
|
188
|
+
/**
|
|
189
|
+
* Optional callback that can be used by integrations to emit the 'request'
|
|
190
|
+
* event within a given Sentry or OTEL context, possibly after creating a
|
|
191
|
+
* span, as in the HttpServerSpansIntegration.
|
|
192
|
+
*/
|
|
193
|
+
wrapServerEmitRequest?: (request: HttpIncomingMessage, response: HttpServerResponse, normalizedRequest: RequestEventData, next: () => void) => void;
|
|
194
|
+
/**
|
|
195
|
+
* Do not capture spans for incoming HTTP requests to URLs where the given callback returns `true`.
|
|
196
|
+
* Spans will be non recording if tracing is disabled.
|
|
197
|
+
*
|
|
198
|
+
* The `urlPath` param consists of the URL path and query string (if any) of the incoming request.
|
|
199
|
+
* For example: `'/users/details?id=123'`
|
|
200
|
+
*
|
|
201
|
+
* The `request` param contains the original {@type IncomingMessage} object of the incoming request.
|
|
202
|
+
* You can use it to filter on additional properties like method, headers, etc.
|
|
203
|
+
*/
|
|
204
|
+
ignoreIncomingRequests?: (urlPath: string, request: HttpIncomingMessage) => boolean;
|
|
205
|
+
/**
|
|
206
|
+
* Whether to automatically ignore common static asset requests like favicon.ico, robots.txt, etc.
|
|
207
|
+
* This helps reduce noise in your transactions.
|
|
208
|
+
*
|
|
209
|
+
* @default `true`
|
|
210
|
+
*/
|
|
211
|
+
ignoreStaticAssets?: boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Do not capture spans for incoming HTTP requests with the given status codes.
|
|
214
|
+
* By default, spans with some 3xx and 4xx status codes are ignored (see @default).
|
|
215
|
+
* Expects an array of status codes or a range of status codes, e.g. [[300,399], 404] would ignore 3xx and 404 status codes.
|
|
216
|
+
*
|
|
217
|
+
* @default `[[401, 404], [301, 303], [305, 399]]`
|
|
218
|
+
*/
|
|
219
|
+
ignoreStatusCodes?: (number | [number, number])[];
|
|
220
|
+
/**
|
|
221
|
+
* A hook that can be used to mutate the span for incoming requests.
|
|
222
|
+
* This is triggered after the span is created, but before it is recorded.
|
|
223
|
+
*/
|
|
224
|
+
onSpanCreated?: (span: Span, request: HttpIncomingMessage, response: HttpServerResponse) => void;
|
|
225
|
+
/**
|
|
226
|
+
* A hook that can be used to mutate the span one last time when the
|
|
227
|
+
* response is finished, eg to update the transaction name based on
|
|
228
|
+
* the RPC metadata.
|
|
229
|
+
*/
|
|
230
|
+
onSpanEnd?: (span: Span, request: HttpIncomingMessage, response: HttpServerResponse) => void;
|
|
231
|
+
/**
|
|
232
|
+
* Optional: pass in the `http` and `https` modules in order to detect
|
|
233
|
+
* whether a standalone OTel instrumentation is attempting to wrap them
|
|
234
|
+
* as well. This is fine, as long as `spans` option is disabled, but will
|
|
235
|
+
* result in double-emitting spans otherwise.
|
|
236
|
+
*
|
|
237
|
+
* Since this cannot be fully prevented due to module load timing, and isn't
|
|
238
|
+
* necessarily harmful per se (just noisy/annoying), and there are a number
|
|
239
|
+
* of reasonable approaches to fix it (disable the OTel instrumentation,
|
|
240
|
+
* disable this instrumentation, or keep both and disable spans in one or the
|
|
241
|
+
* other), we simply print a warning so the user can hopefully make an
|
|
242
|
+
* informed decision about how to address it (if at all).
|
|
243
|
+
*/
|
|
244
|
+
http?: HttpModuleExport;
|
|
245
|
+
https?: HttpModuleExport;
|
|
246
|
+
/** suppress the warning about double-wrapping with OTel */
|
|
247
|
+
suppressOtelWarning?: boolean;
|
|
248
|
+
}
|
|
249
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/integrations/http/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAEnD,yDAAyD;AACzD,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAA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AAE,mCAAmC,GAAG,CAAC,CAOnG;AA8PD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CASnF;AAID;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAuCtE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requestdata.d.ts","sourceRoot":"","sources":["../../../src/integrations/requestdata.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"requestdata.d.ts","sourceRoot":"","sources":["../../../src/integrations/requestdata.ts"],"names":[],"mappings":"AAYA,UAAU,yBAAyB;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,KAAK,6BAA6B,GAAG;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,yBAAyB,CAAC;CACrC,CAAC;AAuDF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,2GAA6C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supabase.d.ts","sourceRoot":"","sources":["../../../src/integrations/supabase.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"supabase.d.ts","sourceRoot":"","sources":["../../../src/integrations/supabase.ts"],"names":[],"mappings":"AAiBA,QAAA,MAAM,6BAA6B,UAWlC,CAAC;AAEF,QAAA,MAAM,mCAAmC,UAOxC,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B3B,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAAqD,CAAC;AAE9F,KAAK,eAAe,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;QACL,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QACjB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KAChC,CAAC;CACH;AAED,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE;QACT,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,qBAAqB,CAAC;KAChD,CAAC;CACH;AAED,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,CAAC,CAAC,EACN,WAAW,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,EACvD,UAAU,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,KACtD,OAAO,CAAC,CAAC,CAAC,CAAC;CACjB;AAyCD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GAAG,MAAM,CAsB7F;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CA8B9E;AA6SD,eAAO,MAAM,wBAAwB,GAAI,gBAAgB,OAAO,KAAG,IAUlE,CAAC;AAaF,eAAO,MAAM,mBAAmB;oBAAiD,GAAG;sDAE1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console-integration.d.ts","sourceRoot":"","sources":["../../../src/logs/console-integration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAM9D,UAAU,qBAAqB;IAC7B,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB;
|
|
1
|
+
{"version":3,"file":"console-integration.d.ts","sourceRoot":"","sources":["../../../src/logs/console-integration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAM9D,UAAU,qBAAqB;IAC7B,MAAM,EAAE,YAAY,EAAE,CAAC;CACxB;AA6DD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,yBAAyB,4GAAgD,CAAC"}
|
|
@@ -6,9 +6,11 @@ import type { SdkMetadata } from '../types-hoist/sdkmetadata';
|
|
|
6
6
|
* Creates a log container envelope item for a list of logs.
|
|
7
7
|
*
|
|
8
8
|
* @param items - The logs to include in the envelope.
|
|
9
|
+
* @param inferUserData - If true, tells Relay to infer the end-user IP and User-Agent from the incoming request.
|
|
10
|
+
* Only emitted as `ingest_settings` in browser environments.
|
|
9
11
|
* @returns The created log container envelope item.
|
|
10
12
|
*/
|
|
11
|
-
export declare function createLogContainerEnvelopeItem(items: Array<SerializedLog
|
|
13
|
+
export declare function createLogContainerEnvelopeItem(items: Array<SerializedLog>, inferUserData?: boolean): LogContainerItem;
|
|
12
14
|
/**
|
|
13
15
|
* Creates an envelope for a list of logs.
|
|
14
16
|
*
|
|
@@ -18,7 +20,8 @@ export declare function createLogContainerEnvelopeItem(items: Array<SerializedLo
|
|
|
18
20
|
* @param metadata - The metadata to include in the envelope.
|
|
19
21
|
* @param tunnel - The tunnel to include in the envelope.
|
|
20
22
|
* @param dsn - The DSN to include in the envelope.
|
|
23
|
+
* @param inferUserData - If true, tells Relay to infer the end-user IP and User-Agent from the incoming request.
|
|
21
24
|
* @returns The created envelope.
|
|
22
25
|
*/
|
|
23
|
-
export declare function createLogEnvelope(logs: Array<SerializedLog>, metadata?: SdkMetadata, tunnel?: string, dsn?: DsnComponents): LogEnvelope;
|
|
26
|
+
export declare function createLogEnvelope(logs: Array<SerializedLog>, metadata?: SdkMetadata, tunnel?: string, dsn?: DsnComponents, inferUserData?: boolean): LogEnvelope;
|
|
24
27
|
//# sourceMappingURL=envelope.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../../../src/logs/envelope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../../../src/logs/envelope.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAK9D;;;;;;;GAOG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAgBrH;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC,EAC1B,QAAQ,CAAC,EAAE,WAAW,EACtB,MAAM,CAAC,EAAE,MAAM,EACf,GAAG,CAAC,EAAE,aAAa,EACnB,aAAa,CAAC,EAAE,OAAO,GACtB,WAAW,CAeb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../../src/logs/internal.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAIxC,OAAO,KAAK,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,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