@sentry/core 10.51.0 → 10.53.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/browser.js +3 -0
- package/build/cjs/browser.js +529 -0
- package/build/cjs/browser.js.map +1 -0
- package/build/cjs/client.js +15 -2
- package/build/cjs/client.js.map +1 -1
- package/build/cjs/fetch.js +7 -4
- package/build/cjs/fetch.js.map +1 -1
- package/build/cjs/index.js +82 -62
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/instrument/console.js +43 -3
- package/build/cjs/instrument/console.js.map +1 -1
- package/build/cjs/integrations/captureconsole.js +2 -2
- package/build/cjs/integrations/captureconsole.js.map +1 -1
- package/build/cjs/integrations/console.js +5 -1
- package/build/cjs/integrations/console.js.map +1 -1
- package/build/cjs/integrations/express/index.js +4 -6
- 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/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/mcp-server/errorCapture.js +2 -2
- package/build/cjs/integrations/mcp-server/errorCapture.js.map +1 -1
- package/build/cjs/integrations/mcp-server/handlers.js +72 -0
- package/build/cjs/integrations/mcp-server/handlers.js.map +1 -1
- package/build/cjs/integrations/mcp-server/index.js +10 -1
- package/build/cjs/integrations/mcp-server/index.js.map +1 -1
- package/build/cjs/integrations/requestdata.js +85 -3
- package/build/cjs/integrations/requestdata.js.map +1 -1
- package/build/cjs/integrations/supabase.js +4 -4
- package/build/cjs/integrations/supabase.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.js +563 -0
- package/build/cjs/server.js.map +1 -0
- package/build/cjs/tracing/ai/utils.js +2 -2
- package/build/cjs/tracing/ai/utils.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/index.js +3 -3
- package/build/cjs/tracing/anthropic-ai/index.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/streaming.js +3 -3
- package/build/cjs/tracing/anthropic-ai/streaming.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/utils.js +2 -2
- package/build/cjs/tracing/anthropic-ai/utils.js.map +1 -1
- package/build/cjs/tracing/google-genai/index.js +3 -3
- package/build/cjs/tracing/google-genai/index.js.map +1 -1
- package/build/cjs/tracing/google-genai/streaming.js +2 -2
- package/build/cjs/tracing/google-genai/streaming.js.map +1 -1
- package/build/cjs/tracing/langchain/embeddings.js +2 -2
- package/build/cjs/tracing/langchain/embeddings.js.map +1 -1
- package/build/cjs/tracing/langchain/index.js +4 -4
- package/build/cjs/tracing/langchain/index.js.map +1 -1
- package/build/cjs/tracing/langgraph/index.js +3 -3
- package/build/cjs/tracing/langgraph/index.js.map +1 -1
- package/build/cjs/tracing/langgraph/utils.js +2 -2
- package/build/cjs/tracing/langgraph/utils.js.map +1 -1
- package/build/cjs/tracing/openai/index.js +3 -3
- package/build/cjs/tracing/openai/index.js.map +1 -1
- package/build/cjs/tracing/openai/streaming.js +2 -2
- package/build/cjs/tracing/openai/streaming.js.map +1 -1
- package/build/cjs/tracing/sentrySpan.js +5 -0
- package/build/cjs/tracing/sentrySpan.js.map +1 -1
- package/build/cjs/tracing/spans/captureSpan.js +58 -23
- package/build/cjs/tracing/spans/captureSpan.js.map +1 -1
- package/build/cjs/tracing/spans/extractGenAiSpans.js +60 -0
- package/build/cjs/tracing/spans/extractGenAiSpans.js.map +1 -0
- package/build/cjs/tracing/spans/spanJsonToStreamedSpan.js +26 -0
- package/build/cjs/tracing/spans/spanJsonToStreamedSpan.js.map +1 -0
- package/build/cjs/tracing/trace.js +1 -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 +99 -15
- package/build/cjs/tracing/vercel-ai/index.js.map +1 -1
- package/build/cjs/trpc.js +3 -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/exports.js +7 -7
- package/build/cjs/utils/exports.js.map +1 -1
- package/build/cjs/utils/flushIfServerless.js +2 -2
- package/build/cjs/utils/flushIfServerless.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/request.js +129 -0
- package/build/cjs/utils/request.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/string.js +9 -2
- package/build/cjs/utils/string.js.map +1 -1
- package/build/cjs/utils/traceData.js +2 -2
- package/build/cjs/utils/traceData.js.map +1 -1
- package/build/cjs/utils/version.js +1 -1
- package/build/esm/browser.js +142 -0
- package/build/esm/browser.js.map +1 -0
- package/build/esm/client.js +15 -2
- package/build/esm/client.js.map +1 -1
- package/build/esm/fetch.js +7 -4
- package/build/esm/fetch.js.map +1 -1
- package/build/esm/index.js +20 -15
- package/build/esm/index.js.map +1 -1
- package/build/esm/instrument/console.js +44 -5
- package/build/esm/instrument/console.js.map +1 -1
- package/build/esm/integrations/console.js +6 -2
- 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/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/mcp-server/handlers.js +72 -1
- package/build/esm/integrations/mcp-server/handlers.js.map +1 -1
- package/build/esm/integrations/mcp-server/index.js +11 -2
- package/build/esm/integrations/mcp-server/index.js.map +1 -1
- package/build/esm/integrations/requestdata.js +85 -3
- package/build/esm/integrations/requestdata.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.js +157 -0
- package/build/esm/server.js.map +1 -0
- package/build/esm/tracing/sentrySpan.js +5 -0
- package/build/esm/tracing/sentrySpan.js.map +1 -1
- package/build/esm/tracing/spans/captureSpan.js +58 -23
- package/build/esm/tracing/spans/captureSpan.js.map +1 -1
- package/build/esm/tracing/spans/extractGenAiSpans.js +58 -0
- package/build/esm/tracing/spans/extractGenAiSpans.js.map +1 -0
- package/build/esm/tracing/spans/spanJsonToStreamedSpan.js +24 -0
- package/build/esm/tracing/spans/spanJsonToStreamedSpan.js.map +1 -0
- package/build/esm/tracing/trace.js +1 -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 +101 -18
- package/build/esm/tracing/vercel-ai/index.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/exports.js +7 -7
- package/build/esm/utils/exports.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/request.js +127 -1
- package/build/esm/utils/request.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/string.js +9 -2
- package/build/esm/utils/string.js.map +1 -1
- package/build/esm/utils/version.js +1 -1
- package/build/types/browser-exports.d.ts +11 -0
- package/build/types/browser-exports.d.ts.map +1 -0
- package/build/types/browser.d.ts +3 -0
- package/build/types/browser.d.ts.map +1 -0
- package/build/types/build-time-plugins/buildTimeOptionsBase.d.ts +8 -0
- package/build/types/build-time-plugins/buildTimeOptionsBase.d.ts.map +1 -1
- package/build/types/carrier.d.ts +1 -1
- package/build/types/carrier.d.ts.map +1 -1
- package/build/types/client.d.ts.map +1 -1
- package/build/types/fetch.d.ts.map +1 -1
- package/build/types/index.d.ts +3 -223
- package/build/types/index.d.ts.map +1 -1
- package/build/types/instrument/console.d.ts +7 -0
- package/build/types/instrument/console.d.ts.map +1 -1
- package/build/types/integrations/captureconsole.d.ts +1 -1
- package/build/types/integrations/captureconsole.d.ts.map +1 -1
- package/build/types/integrations/console.d.ts +5 -0
- package/build/types/integrations/console.d.ts.map +1 -1
- package/build/types/integrations/conversationId.d.ts +1 -1
- package/build/types/integrations/conversationId.d.ts.map +1 -1
- package/build/types/integrations/dedupe.d.ts +1 -1
- package/build/types/integrations/dedupe.d.ts.map +1 -1
- package/build/types/integrations/eventFilters.d.ts +2 -2
- package/build/types/integrations/eventFilters.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/extraerrordata.d.ts +1 -1
- package/build/types/integrations/extraerrordata.d.ts.map +1 -1
- package/build/types/integrations/functiontostring.d.ts +1 -1
- package/build/types/integrations/functiontostring.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/linkederrors.d.ts +1 -1
- package/build/types/integrations/linkederrors.d.ts.map +1 -1
- package/build/types/integrations/mcp-server/handlers.d.ts +18 -0
- package/build/types/integrations/mcp-server/handlers.d.ts.map +1 -1
- package/build/types/integrations/mcp-server/index.d.ts +8 -1
- package/build/types/integrations/mcp-server/index.d.ts.map +1 -1
- package/build/types/integrations/requestdata.d.ts +1 -1
- package/build/types/integrations/requestdata.d.ts.map +1 -1
- package/build/types/integrations/spanStreaming.d.ts +1 -1
- package/build/types/integrations/spanStreaming.d.ts.map +1 -1
- package/build/types/integrations/supabase.d.ts +1 -1
- package/build/types/integrations/supabase.d.ts.map +1 -1
- package/build/types/integrations/zoderrors.d.ts +1 -1
- package/build/types/integrations/zoderrors.d.ts.map +1 -1
- package/build/types/logs/console-integration.d.ts +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-exports.d.ts +26 -0
- package/build/types/server-exports.d.ts.map +1 -0
- package/build/types/server.d.ts +10 -0
- package/build/types/server.d.ts.map +1 -0
- package/build/types/shared-exports.d.ts +215 -0
- package/build/types/shared-exports.d.ts.map +1 -0
- package/build/types/tracing/index.d.ts +1 -1
- package/build/types/tracing/index.d.ts.map +1 -1
- package/build/types/tracing/sentrySpan.d.ts.map +1 -1
- package/build/types/tracing/spans/captureSpan.d.ts +4 -4
- package/build/types/tracing/spans/captureSpan.d.ts.map +1 -1
- package/build/types/tracing/spans/extractGenAiSpans.d.ts +15 -0
- package/build/types/tracing/spans/extractGenAiSpans.d.ts.map +1 -0
- package/build/types/tracing/spans/spanJsonToStreamedSpan.d.ts +6 -0
- package/build/types/tracing/spans/spanJsonToStreamedSpan.d.ts.map +1 -0
- 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/types-hoist/envelope.d.ts +1 -1
- package/build/types/types-hoist/envelope.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 +8 -0
- package/build/types/types-hoist/options.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/request.d.ts +30 -0
- package/build/types/utils/request.d.ts.map +1 -1
- package/build/types/utils/spanUtils.d.ts +1 -1
- package/build/types/utils/string.d.ts +1 -1
- package/build/types/utils/string.d.ts.map +1 -1
- package/build/types-ts3.8/browser-exports.d.ts +11 -0
- package/build/types-ts3.8/browser.d.ts +3 -0
- package/build/types-ts3.8/build-time-plugins/buildTimeOptionsBase.d.ts +8 -0
- package/build/types-ts3.8/carrier.d.ts +1 -1
- package/build/types-ts3.8/index.d.ts +3 -225
- package/build/types-ts3.8/instrument/console.d.ts +7 -0
- package/build/types-ts3.8/integrations/captureconsole.d.ts +1 -1
- package/build/types-ts3.8/integrations/console.d.ts +5 -0
- package/build/types-ts3.8/integrations/conversationId.d.ts +1 -1
- package/build/types-ts3.8/integrations/dedupe.d.ts +1 -1
- package/build/types-ts3.8/integrations/eventFilters.d.ts +2 -2
- package/build/types-ts3.8/integrations/express/utils.d.ts +1 -5
- package/build/types-ts3.8/integrations/extraerrordata.d.ts +1 -1
- package/build/types-ts3.8/integrations/functiontostring.d.ts +1 -1
- 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/integrations/linkederrors.d.ts +1 -1
- package/build/types-ts3.8/integrations/mcp-server/handlers.d.ts +18 -0
- package/build/types-ts3.8/integrations/mcp-server/index.d.ts +8 -1
- package/build/types-ts3.8/integrations/requestdata.d.ts +1 -1
- package/build/types-ts3.8/integrations/spanStreaming.d.ts +1 -1
- package/build/types-ts3.8/integrations/supabase.d.ts +1 -1
- package/build/types-ts3.8/integrations/zoderrors.d.ts +1 -1
- package/build/types-ts3.8/logs/console-integration.d.ts +1 -1
- 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-exports.d.ts +21 -0
- package/build/types-ts3.8/server.d.ts +10 -0
- package/build/types-ts3.8/shared-exports.d.ts +214 -0
- package/build/types-ts3.8/tracing/index.d.ts +1 -1
- package/build/types-ts3.8/tracing/spans/captureSpan.d.ts +4 -4
- package/build/types-ts3.8/tracing/spans/extractGenAiSpans.d.ts +15 -0
- package/build/types-ts3.8/tracing/spans/spanJsonToStreamedSpan.d.ts +6 -0
- 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/envelope.d.ts +1 -1
- 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 +8 -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/request.d.ts +30 -0
- package/build/types-ts3.8/utils/spanUtils.d.ts +1 -1
- package/build/types-ts3.8/utils/string.d.ts +1 -1
- package/package.json +24 -2
- package/server.js +3 -0
package/build/types/index.d.ts
CHANGED
|
@@ -1,224 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export type { OfflineStore, OfflineTransportOptions } from './transports/offline';
|
|
5
|
-
export type { ServerRuntimeClientOptions } from './server-runtime-client';
|
|
6
|
-
export type { IntegrationIndex } from './integration';
|
|
7
|
-
export * from './tracing';
|
|
8
|
-
export * from './semanticAttributes';
|
|
9
|
-
export { createEventEnvelope, createSessionEnvelope, createSpanEnvelope } from './envelope';
|
|
10
|
-
export { captureCheckIn, withMonitor, captureException, captureEvent, captureMessage, lastEventId, close, flush, setContext, setExtra, setExtras, setTag, setTags, setUser, setConversationId, isInitialized, isEnabled, startSession, endSession, captureSession, addEventProcessor, } from './exports';
|
|
11
|
-
export { getCurrentScope, getIsolationScope, getGlobalScope, withScope, withIsolationScope, getClient, getTraceContextFromScope, registerExternalPropagationContext, getExternalPropagationContext, hasExternalPropagationContext, } from './currentScopes';
|
|
12
|
-
export { getDefaultCurrentScope, getDefaultIsolationScope } from './defaultScopes';
|
|
13
|
-
export { setAsyncContextStrategy } from './asyncContext';
|
|
14
|
-
export { getGlobalSingleton, getMainCarrier } from './carrier';
|
|
15
|
-
export { makeSession, closeSession, updateSession } from './session';
|
|
16
|
-
export { Scope } from './scope';
|
|
17
|
-
export type { CaptureContext, ScopeContext, ScopeData } from './scope';
|
|
18
|
-
export { notifyEventProcessors } from './eventProcessors';
|
|
19
|
-
export { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint, SENTRY_API_VERSION } from './api';
|
|
20
|
-
export { Client } from './client';
|
|
21
|
-
export { ServerRuntimeClient } from './server-runtime-client';
|
|
22
|
-
export { initAndBind, setCurrentClient } from './sdk';
|
|
23
|
-
export { createTransport } from './transports/base';
|
|
24
|
-
export { makeOfflineTransport } from './transports/offline';
|
|
25
|
-
export { makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from './transports/multiplexed';
|
|
26
|
-
export { getIntegrationsToSetup, addIntegration, defineIntegration, installedIntegrations } from './integration';
|
|
27
|
-
export { _INTERNAL_skipAiProviderWrapping, _INTERNAL_shouldSkipAiProviderWrapping, _INTERNAL_clearAiProviderSkips, } from './utils/ai/providerSkip';
|
|
28
|
-
export { envToBool } from './utils/envToBool';
|
|
29
|
-
export { applyScopeDataToEvent, mergeScopeData, getCombinedScopeData } from './utils/scopeData';
|
|
30
|
-
export { prepareEvent } from './utils/prepareEvent';
|
|
31
|
-
export type { ExclusiveEventHintOrCaptureContext } from './utils/prepareEvent';
|
|
32
|
-
export { createCheckInEnvelope } from './checkin';
|
|
33
|
-
export { hasSpansEnabled } from './utils/hasSpansEnabled';
|
|
34
|
-
export { withStreamedSpan } from './tracing/spans/beforeSendSpan';
|
|
35
|
-
export { isStreamedBeforeSendSpanCallback } from './tracing/spans/beforeSendSpan';
|
|
36
|
-
export { safeSetSpanJSONAttributes } from './tracing/spans/captureSpan';
|
|
37
|
-
export { isSentryRequestUrl } from './utils/isSentryRequestUrl';
|
|
38
|
-
export { handleCallbackErrors } from './utils/handleCallbackErrors';
|
|
39
|
-
export { parameterize, fmt } from './utils/parameterize';
|
|
40
|
-
export type { HandleTunnelRequestOptions } from './utils/tunnel';
|
|
41
|
-
export { handleTunnelRequest } from './utils/tunnel';
|
|
42
|
-
export { addAutoIpAddressToSession } from './utils/ipAddress';
|
|
43
|
-
export { addAutoIpAddressToUser } from './utils/ipAddress';
|
|
44
|
-
export { convertSpanLinksForEnvelope, spanToTraceHeader, spanToJSON, spanToStreamedSpanJSON, spanIsSampled, spanToTraceContext, getSpanDescendants, getStatusMessage, getRootSpan, INTERNAL_getSegmentSpan, getActiveSpan, addChildSpanToSpan, spanTimeInputToSeconds, updateSpanName, } from './utils/spanUtils';
|
|
45
|
-
export { _setSpanForScope as _INTERNAL_setSpanForScope } from './utils/spanOnScope';
|
|
46
|
-
export { parseSampleRate } from './utils/parseSampleRate';
|
|
47
|
-
export { applySdkMetadata } from './utils/sdkMetadata';
|
|
48
|
-
export { getTraceData } from './utils/traceData';
|
|
49
|
-
export { shouldPropagateTraceForUrl } from './utils/tracePropagationTargets';
|
|
50
|
-
export { getTraceMetaTags } from './utils/meta';
|
|
51
|
-
export { debounce } from './utils/debounce';
|
|
52
|
-
export { makeWeakRef, derefWeakRef } from './utils/weakRef';
|
|
53
|
-
export type { MaybeWeakRef } from './utils/weakRef';
|
|
54
|
-
export { shouldIgnoreSpan } from './utils/should-ignore-span';
|
|
55
|
-
export { winterCGHeadersToDict, winterCGRequestToRequestData, httpRequestToRequestData, extractQueryParamsFromUrl, headersToDict, httpHeadersToSpanAttributes, } from './utils/request';
|
|
56
|
-
export { DEFAULT_ENVIRONMENT, DEV_ENVIRONMENT } from './constants';
|
|
57
|
-
export { addBreadcrumb } from './breadcrumbs';
|
|
58
|
-
export { functionToStringIntegration } from './integrations/functiontostring';
|
|
59
|
-
export { inboundFiltersIntegration } from './integrations/eventFilters';
|
|
60
|
-
export { eventFiltersIntegration } from './integrations/eventFilters';
|
|
61
|
-
export { linkedErrorsIntegration } from './integrations/linkederrors';
|
|
62
|
-
export { moduleMetadataIntegration } from './integrations/moduleMetadata';
|
|
63
|
-
export { requestDataIntegration } from './integrations/requestdata';
|
|
64
|
-
export { captureConsoleIntegration } from './integrations/captureconsole';
|
|
65
|
-
export { patchExpressModule, setupExpressErrorHandler, expressErrorHandler } from './integrations/express/index';
|
|
66
|
-
export type { ExpressIntegrationOptions, ExpressHandlerOptions, ExpressMiddleware, ExpressErrorMiddleware, } from './integrations/express/types';
|
|
67
|
-
export { dedupeIntegration } from './integrations/dedupe';
|
|
68
|
-
export { extraErrorDataIntegration } from './integrations/extraerrordata';
|
|
69
|
-
export { rewriteFramesIntegration } from './integrations/rewriteframes';
|
|
70
|
-
export { supabaseIntegration, instrumentSupabaseClient } from './integrations/supabase';
|
|
71
|
-
export { instrumentPostgresJsSql } from './integrations/postgresjs';
|
|
72
|
-
export { zodErrorsIntegration } from './integrations/zoderrors';
|
|
73
|
-
export { thirdPartyErrorFilterIntegration } from './integrations/third-party-errors-filter';
|
|
74
|
-
export { consoleIntegration } from './integrations/console';
|
|
75
|
-
export { featureFlagsIntegration, type FeatureFlagsIntegration } from './integrations/featureFlags';
|
|
76
|
-
export { growthbookIntegration } from './integrations/featureFlags';
|
|
77
|
-
export { conversationIdIntegration } from './integrations/conversationId';
|
|
78
|
-
export { profiler } from './profiling';
|
|
79
|
-
export { instrumentFetchRequest, _INTERNAL_getTracingHeadersForFetchRequest } from './fetch';
|
|
80
|
-
export { trpcMiddleware } from './trpc';
|
|
81
|
-
export { wrapMcpServerWithSentry } from './integrations/mcp-server';
|
|
82
|
-
export { captureFeedback } from './feedback';
|
|
83
|
-
export type { ReportDialogOptions } from './report-dialog';
|
|
84
|
-
export { _INTERNAL_captureLog, _INTERNAL_flushLogsBuffer, _INTERNAL_captureSerializedLog } from './logs/internal';
|
|
85
|
-
export * as logger from './logs/public-api';
|
|
86
|
-
export { consoleLoggingIntegration } from './logs/console-integration';
|
|
87
|
-
export { _INTERNAL_captureMetric, _INTERNAL_flushMetricsBuffer, _INTERNAL_captureSerializedMetric, } from './metrics/internal';
|
|
88
|
-
export * as metrics from './metrics/public-api';
|
|
89
|
-
export type { MetricOptions } from './metrics/public-api';
|
|
90
|
-
export { createConsolaReporter } from './integrations/consola';
|
|
91
|
-
export { addVercelAiProcessors } from './tracing/vercel-ai';
|
|
92
|
-
export { _INTERNAL_getSpanContextForToolCallId, _INTERNAL_cleanupToolCallSpanContext } from './tracing/vercel-ai/utils';
|
|
93
|
-
export { toolCallSpanContextMap as _INTERNAL_toolCallSpanContextMap } from './tracing/vercel-ai/constants';
|
|
94
|
-
export { instrumentOpenAiClient } from './tracing/openai';
|
|
95
|
-
export { OPENAI_INTEGRATION_NAME } from './tracing/openai/constants';
|
|
96
|
-
export { instrumentAnthropicAiClient } from './tracing/anthropic-ai';
|
|
97
|
-
export { ANTHROPIC_AI_INTEGRATION_NAME } from './tracing/anthropic-ai/constants';
|
|
98
|
-
export { instrumentGoogleGenAIClient } from './tracing/google-genai';
|
|
99
|
-
export { GOOGLE_GENAI_INTEGRATION_NAME } from './tracing/google-genai/constants';
|
|
100
|
-
export type { GoogleGenAIResponse } from './tracing/google-genai/types';
|
|
101
|
-
export { createLangChainCallbackHandler, instrumentLangChainEmbeddings } from './tracing/langchain';
|
|
102
|
-
export { LANGCHAIN_INTEGRATION_NAME } from './tracing/langchain/constants';
|
|
103
|
-
export type { LangChainOptions, LangChainIntegration } from './tracing/langchain/types';
|
|
104
|
-
export { instrumentStateGraphCompile, instrumentCreateReactAgent, instrumentLangGraph } from './tracing/langgraph';
|
|
105
|
-
export { LANGGRAPH_INTEGRATION_NAME } from './tracing/langgraph/constants';
|
|
106
|
-
export type { LangGraphOptions, LangGraphIntegration, CompiledGraph } from './tracing/langgraph/types';
|
|
107
|
-
export type { OpenAiClient, OpenAiOptions, InstrumentedMethod } from './tracing/openai/types';
|
|
108
|
-
export type { AnthropicAiClient, AnthropicAiOptions, AnthropicAiInstrumentedMethod, AnthropicAiResponse, } from './tracing/anthropic-ai/types';
|
|
109
|
-
export type { GoogleGenAIClient, GoogleGenAIChat, GoogleGenAIOptions, GoogleGenAIInstrumentedMethod, } from './tracing/google-genai/types';
|
|
110
|
-
export type { GoogleGenAIIstrumentedMethod } from './tracing/google-genai/types';
|
|
111
|
-
export { SpanBuffer } from './tracing/spans/spanBuffer';
|
|
112
|
-
export { hasSpanStreamingEnabled } from './tracing/spans/hasSpanStreamingEnabled';
|
|
113
|
-
export { spanStreamingIntegration } from './integrations/spanStreaming';
|
|
114
|
-
export type { FeatureFlag } from './utils/featureFlags';
|
|
115
|
-
export { _INTERNAL_copyFlagsFromScopeToEvent, _INTERNAL_insertFlagToScope, _INTERNAL_addFeatureFlagToActiveSpan, _INTERNAL_FLAG_BUFFER_SIZE, _INTERNAL_MAX_FLAGS_PER_SPAN, } from './utils/featureFlags';
|
|
116
|
-
export { applyAggregateErrorsToEvent } from './utils/aggregate-errors';
|
|
117
|
-
export { getBreadcrumbLogLevelFromHttpStatusCode } from './utils/breadcrumb-log-level';
|
|
118
|
-
export { getComponentName, getLocationHref, htmlTreeAsString } from './utils/browser';
|
|
119
|
-
export { dsnFromString, dsnToString, makeDsn } from './utils/dsn';
|
|
120
|
-
export { SentryError } from './utils/error';
|
|
121
|
-
export { GLOBAL_OBJ } from './utils/worldwide';
|
|
122
|
-
export type { InternalGlobal } from './utils/worldwide';
|
|
123
|
-
export { addConsoleInstrumentationHandler } from './instrument/console';
|
|
124
|
-
export { addFetchEndInstrumentationHandler, addFetchInstrumentationHandler } from './instrument/fetch';
|
|
125
|
-
export { addGlobalErrorInstrumentationHandler } from './instrument/globalError';
|
|
126
|
-
export { addGlobalUnhandledRejectionInstrumentationHandler } from './instrument/globalUnhandledRejection';
|
|
127
|
-
export { addHandler, maybeInstrument, resetInstrumentationHandlers, triggerHandlers } from './instrument/handlers';
|
|
128
|
-
export { isDOMError, isDOMException, isElement, isError, isErrorEvent, isEvent, isInstanceOf, isParameterizedString, isPlainObject, isPrimitive, isRegExp, isString, isSyntheticEvent, isThenable, isVueViewModel, } from './utils/is';
|
|
129
|
-
export { isBrowser } from './utils/isBrowser';
|
|
130
|
-
export { CONSOLE_LEVELS, consoleSandbox, debug, originalConsoleMethods } from './utils/debug-logger';
|
|
131
|
-
export type { SentryDebugLogger } from './utils/debug-logger';
|
|
132
|
-
export { addContextToFrame, addExceptionMechanism, addExceptionTypeValue, checkOrSetAlreadyCaught, isAlreadyCaptured, getEventDescription, parseSemver, uuid4, } from './utils/misc';
|
|
133
|
-
export { isNodeEnv, loadModule } from './utils/node';
|
|
134
|
-
export { normalize, normalizeToSize, normalizeUrlToBase } from './utils/normalize';
|
|
135
|
-
export { setNormalizationDepthOverrideHint, setSkipNormalizationHint } from './utils/normalizationHints';
|
|
136
|
-
export { addNonEnumerableProperty, convertToPlainObject, dropUndefinedKeys, extractExceptionKeysForMessage, fill, getOriginalFunction, markFunctionWrapped, objectify, } from './utils/object';
|
|
137
|
-
export { basename, dirname, isAbsolute, join, normalizePath, relative, resolve } from './utils/path';
|
|
138
|
-
export { makePromiseBuffer, SENTRY_BUFFER_FULL_ERROR } from './utils/promisebuffer';
|
|
139
|
-
export type { PromiseBuffer } from './utils/promisebuffer';
|
|
140
|
-
export { severityLevelFromString } from './utils/severity';
|
|
141
|
-
export { replaceExports } from './utils/exports';
|
|
142
|
-
export { UNKNOWN_FUNCTION, createStackParser, getFramesFromEvent, getFunctionName, stackParserFromStackParserOptions, stripSentryFramesAndReverse, } from './utils/stacktrace';
|
|
143
|
-
export { filenameIsInApp, node, nodeStackLineParser } from './utils/node-stack-trace';
|
|
144
|
-
export { isMatchingPattern, safeJoin, snipLine, stringMatchesSomePattern, truncate } from './utils/string';
|
|
145
|
-
export { isNativeFunction, supportsDOMError, supportsDOMException, supportsErrorEvent, supportsFetch, supportsHistory, supportsNativeFetch, supportsReferrerPolicy, supportsReportingObserver, } from './utils/supports';
|
|
146
|
-
export { SyncPromise, rejectedSyncPromise, resolvedSyncPromise } from './utils/syncpromise';
|
|
147
|
-
export { browserPerformanceTimeOrigin, dateTimestampInSeconds, timestampInSeconds } from './utils/time';
|
|
148
|
-
export { TRACEPARENT_REGEXP, extractTraceparentData, generateSentryTraceHeader, propagationContextFromHeaders, shouldContinueTrace, generateTraceparentHeader, } from './utils/tracing';
|
|
149
|
-
export { getSDKSource, isBrowserBundle } from './utils/env';
|
|
150
|
-
export type { SdkSource } from './utils/env';
|
|
151
|
-
export { addItemToEnvelope, createAttachmentEnvelopeItem, createEnvelope, createEventEnvelopeHeaders, createSpanEnvelopeItem, envelopeContainsItemType, envelopeItemTypeToDataCategory, forEachEnvelopeItem, getSdkMetadataForEnvelopeHeader, parseEnvelope, serializeEnvelope, } from './utils/envelope';
|
|
152
|
-
export { createClientReportEnvelope } from './utils/clientreport';
|
|
153
|
-
export { DEFAULT_RETRY_AFTER, disabledUntil, isRateLimited, parseRetryAfterHeader, updateRateLimits, } from './utils/ratelimit';
|
|
154
|
-
export type { RateLimits } from './utils/ratelimit';
|
|
155
|
-
export { MAX_BAGGAGE_STRING_LENGTH, SENTRY_BAGGAGE_KEY_PREFIX, SENTRY_BAGGAGE_KEY_PREFIX_REGEX, baggageHeaderToDynamicSamplingContext, dynamicSamplingContextToSentryBaggageHeader, parseBaggageHeader, objectToBaggageHeader, } from './utils/baggage';
|
|
156
|
-
export { getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment, parseStringToURLObject, getHttpSpanDetailsFromUrlObject, isURLObjectRelative, getSanitizedUrlStringFromUrlObject, stripDataUrlContent, } from './utils/url';
|
|
157
|
-
export { eventFromMessage, eventFromUnknownInput, exceptionFromError, parseStackFrames, _enhanceErrorWithSentryInfo as _INTERNAL_enhanceErrorWithSentryInfo, } from './utils/eventbuilder';
|
|
158
|
-
export { callFrameToStackFrame, watchdogTimer } from './utils/anr';
|
|
159
|
-
export { LRUMap } from './utils/lru';
|
|
160
|
-
export { generateTraceId, generateSpanId } from './utils/propagationContext';
|
|
161
|
-
export { vercelWaitUntil } from './utils/vercelWaitUntil';
|
|
162
|
-
export { flushIfServerless } from './utils/flushIfServerless';
|
|
163
|
-
export { SDK_VERSION } from './utils/version';
|
|
164
|
-
export { getDebugImagesForResources, getFilenameToDebugIdMap } from './utils/debug-ids';
|
|
165
|
-
export { getFilenameToMetadataMap } from './metadata';
|
|
166
|
-
export { escapeStringForRegex } from './vendor/escapeStringForRegex';
|
|
167
|
-
export type { Attachment } from './types-hoist/attachment';
|
|
168
|
-
export type { Breadcrumb, BreadcrumbHint, FetchBreadcrumbData, XhrBreadcrumbData, FetchBreadcrumbHint, XhrBreadcrumbHint, } from './types-hoist/breadcrumb';
|
|
169
|
-
export type { ClientReport, Outcome, EventDropReason } from './types-hoist/clientreport';
|
|
170
|
-
export type { Context, Contexts, DeviceContext, OsContext, AppContext, CultureContext, TraceContext, CloudResourceContext, MissingInstrumentationContext, } from './types-hoist/context';
|
|
171
|
-
export type { DataCategory } from './types-hoist/datacategory';
|
|
172
|
-
export type { DsnComponents, DsnLike, DsnProtocol } from './types-hoist/dsn';
|
|
173
|
-
export type { DebugImage, DebugMeta } from './types-hoist/debugMeta';
|
|
174
|
-
export type { AttachmentItem, BaseEnvelopeHeaders, BaseEnvelopeItemHeaders, ClientReportEnvelope, ClientReportItem, DynamicSamplingContext, Envelope, EnvelopeItemType, EnvelopeItem, EventEnvelope, EventEnvelopeHeaders, EventItem, ReplayEnvelope, FeedbackItem, SessionEnvelope, SessionItem, UserFeedbackItem, CheckInItem, CheckInEnvelope, RawSecurityEnvelope, RawSecurityItem, ProfileItem, ProfileChunkEnvelope, ProfileChunkItem, SpanEnvelope, StreamedSpanEnvelope, SpanItem, LogEnvelope, MetricEnvelope, } from './types-hoist/envelope';
|
|
175
|
-
export type { ExtendedError } from './types-hoist/error';
|
|
176
|
-
export type { Event, EventHint, EventType, ErrorEvent, TransactionEvent } from './types-hoist/event';
|
|
177
|
-
export type { EventProcessor } from './types-hoist/eventprocessor';
|
|
178
|
-
export type { Exception } from './types-hoist/exception';
|
|
179
|
-
export type { Extra, Extras } from './types-hoist/extra';
|
|
180
|
-
export type { Integration, IntegrationFn } from './types-hoist/integration';
|
|
181
|
-
export type { Mechanism } from './types-hoist/mechanism';
|
|
182
|
-
export type { ExtractedNodeRequestData, HttpHeaderValue, Primitive, WorkerLocation } from './types-hoist/misc';
|
|
183
|
-
export type { ClientOptions, CoreOptions as Options, ServerRuntimeOptions } from './types-hoist/options';
|
|
184
|
-
export type { Package } from './types-hoist/package';
|
|
185
|
-
export type { PolymorphicEvent, PolymorphicRequest } from './types-hoist/polymorphics';
|
|
186
|
-
export type { ThreadId, FrameId, StackId, ThreadCpuSample, ThreadCpuStack, ThreadCpuFrame, ThreadCpuProfile, ContinuousThreadCpuProfile, Profile, ProfileChunk, } from './types-hoist/profiling';
|
|
187
|
-
export type { ReplayEndEvent, ReplayEvent, ReplayRecordingData, ReplayRecordingMode, ReplayStartEvent, ReplayStopReason, } from './types-hoist/replay';
|
|
188
|
-
export type { FeedbackErrorCode, FeedbackErrorMessages, FeedbackEvent, FeedbackFormData, FeedbackInternalOptions, FeedbackModalIntegration, FeedbackScreenshotIntegration, SendFeedback, SendFeedbackParams, UserFeedback, } from './types-hoist/feedback';
|
|
189
|
-
export type { QueryParams, RequestEventData, RequestHookInfo, ResponseHookInfo, SanitizedRequestData, } from './types-hoist/request';
|
|
190
|
-
export type { Runtime } from './types-hoist/runtime';
|
|
191
|
-
export type { SdkInfo } from './types-hoist/sdkinfo';
|
|
192
|
-
export type { SdkMetadata } from './types-hoist/sdkmetadata';
|
|
193
|
-
export type { SessionAggregates, AggregationCounts, Session, SessionContext, SessionStatus, SerializedSession, } from './types-hoist/session';
|
|
194
|
-
export type { SeverityLevel } from './types-hoist/severity';
|
|
195
|
-
export type { Span, SentrySpanArguments, SpanOrigin, SpanAttributeValue, SpanAttributes, SpanTimeInput, SpanJSON, SpanContextData, TraceFlag, SerializedStreamedSpan, SerializedStreamedSpanContainer, StreamedSpanJSON, } from './types-hoist/span';
|
|
196
|
-
export type { SpanStatus } from './types-hoist/spanStatus';
|
|
197
|
-
export type { Log, LogSeverityLevel } from './types-hoist/log';
|
|
198
|
-
export type { SpanLink } from './types-hoist/link';
|
|
199
|
-
export type { Metric, MetricType, SerializedMetric, SerializedMetricContainer, SerializedMetricAttributeValue, } from './types-hoist/metric';
|
|
200
|
-
export type { TimedEvent } from './types-hoist/timedEvent';
|
|
201
|
-
export type { StackFrame } from './types-hoist/stackframe';
|
|
202
|
-
export type { Stacktrace, StackParser, StackLineParser, StackLineParserFn } from './types-hoist/stacktrace';
|
|
203
|
-
export type { PropagationContext, TracePropagationTargets, SerializedTraceData } from './types-hoist/tracing';
|
|
204
|
-
export type { StartSpanOptions } from './types-hoist/startSpanOptions';
|
|
205
|
-
export type { TraceparentData, TransactionSource } from './types-hoist/transaction';
|
|
206
|
-
export type { TracesSamplerSamplingContext, CustomSamplingContext, SamplingContext, } from './types-hoist/samplingcontext';
|
|
207
|
-
export type { DurationUnit, InformationUnit, FractionUnit, MeasurementUnit, NoneUnit, Measurements, } from './types-hoist/measurement';
|
|
208
|
-
export type { Thread } from './types-hoist/thread';
|
|
209
|
-
export type { Transport, TransportRequest, TransportMakeRequestResponse, InternalBaseTransportOptions, BaseTransportOptions, TransportRequestExecutor, } from './types-hoist/transport';
|
|
210
|
-
export type { User } from './types-hoist/user';
|
|
211
|
-
export type { WebFetchHeaders, WebFetchRequest } from './types-hoist/webfetchapi';
|
|
212
|
-
export type { WrappedFunction } from './types-hoist/wrappedfunction';
|
|
213
|
-
export type { HandlerDataFetch, HandlerDataXhr, HandlerDataDom, HandlerDataConsole, HandlerDataHistory, HandlerDataError, HandlerDataUnhandledRejection, ConsoleLevel, SentryXhrData, SentryWrappedXMLHttpRequest, } from './types-hoist/instrument';
|
|
214
|
-
export type { BrowserClientReplayOptions, BrowserClientProfilingOptions } from './types-hoist/browseroptions';
|
|
215
|
-
export type { CheckIn, MonitorConfig, FinishedCheckIn, InProgressCheckIn, SerializedCheckIn, } from './types-hoist/checkin';
|
|
216
|
-
export type { ParameterizedString } from './types-hoist/parameterize';
|
|
217
|
-
export type { ContinuousProfiler, ProfilingIntegration, Profiler } from './types-hoist/profiling';
|
|
218
|
-
export type { ViewHierarchyData, ViewHierarchyWindow } from './types-hoist/view-hierarchy';
|
|
219
|
-
export type { LegacyCSPReport } from './types-hoist/csp';
|
|
220
|
-
export type { SerializedLog, SerializedLogContainer } from './types-hoist/log';
|
|
221
|
-
export type { BuildTimeOptionsBase, UnstableVitePluginOptions, UnstableRollupPluginOptions, UnstableWebpackPluginOptions, } from './build-time-plugins/buildTimeOptionsBase';
|
|
222
|
-
export { withRandomSafeContext as _INTERNAL_withRandomSafeContext, type RandomSafeContextRunner as _INTERNAL_RandomSafeContextRunner, safeMathRandom as _INTERNAL_safeMathRandom, safeDateNow as _INTERNAL_safeDateNow, } from './utils/randomSafeContext';
|
|
223
|
-
export { safeUnref as _INTERNAL_safeUnref } from './utils/timer';
|
|
1
|
+
export * from './shared-exports';
|
|
2
|
+
export * from './server-exports';
|
|
3
|
+
export * from './browser-exports';
|
|
224
4
|
//# sourceMappingURL=index.d.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AAM,yBAAyB,CAAC;AAClG,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAC3F,YAAY,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC/E,YAAY,EACV,oBAAoB,EACpB,yBAAyB,EACzB,2BAA2B,EAC3B,4BAA4B,GAC7B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EACL,qBAAqB,IAAI,+BAA+B,EACxD,KAAK,uBAAuB,IAAI,iCAAiC,EACjE,cAAc,IAAI,wBAAwB,EAC1C,WAAW,IAAI,qBAAqB,GACrC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,SAAS,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC"}
|
|
@@ -7,4 +7,11 @@ import type { HandlerDataConsole } from '../types-hoist/instrument';
|
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
9
9
|
export declare function addConsoleInstrumentationHandler(handler: (data: HandlerDataConsole) => void): () => void;
|
|
10
|
+
/**
|
|
11
|
+
* Add a filter to the console instrumentation to filter out console messages that match the given strings or regular expressions.
|
|
12
|
+
* Returns a function to remove the filter.
|
|
13
|
+
*/
|
|
14
|
+
export declare function addConsoleInstrumentationFilter(filter: (string | RegExp)[]): () => void;
|
|
15
|
+
/** Only exported for tests. */
|
|
16
|
+
export declare function _INTERNAL_resetConsoleInstrumentationOptions(): void;
|
|
10
17
|
//# sourceMappingURL=console.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/instrument/console.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"console.d.ts","sourceRoot":"","sources":["../../../src/instrument/console.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAgB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAelF;;;;;;GAMG;AACH,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,IAAI,GAAG,MAAM,IAAI,CAKxG;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,MAAM,IAAI,CAUvF;AAED,+BAA+B;AAC/B,wBAAgB,4CAA4C,IAAI,IAAI,CAEnE"}
|
|
@@ -11,6 +11,6 @@ interface CaptureConsoleOptions {
|
|
|
11
11
|
/**
|
|
12
12
|
* Send Console API calls as Sentry Events.
|
|
13
13
|
*/
|
|
14
|
-
export declare const captureConsoleIntegration: (options?: CaptureConsoleOptions | undefined) => import("
|
|
14
|
+
export declare const captureConsoleIntegration: (options?: CaptureConsoleOptions | undefined) => import("..").Integration;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=captureconsole.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"captureconsole.d.ts","sourceRoot":"","sources":["../../../src/integrations/captureconsole.ts"],"names":[],"mappings":"AAYA,UAAU,qBAAqB;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA0BD;;GAEG;AACH,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"captureconsole.d.ts","sourceRoot":"","sources":["../../../src/integrations/captureconsole.ts"],"names":[],"mappings":"AAYA,UAAU,qBAAqB;IAC7B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAElB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AA0BD;;GAEG;AACH,eAAO,MAAM,yBAAyB,2EAAgD,CAAC"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { ConsoleLevel } from '../types-hoist/instrument';
|
|
2
2
|
interface ConsoleIntegrationOptions {
|
|
3
3
|
levels: ConsoleLevel[];
|
|
4
|
+
/**
|
|
5
|
+
* Filter out console messages that match the given strings or regular expressions.
|
|
6
|
+
* These will neither be passed to the handler, and they will also not be logged to the user, unless they have debug enabled.
|
|
7
|
+
*/
|
|
8
|
+
filter?: (string | RegExp)[];
|
|
4
9
|
}
|
|
5
10
|
/**
|
|
6
11
|
* Captures calls to the `console` API as breadcrumbs in Sentry.
|
|
@@ -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;
|
|
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;IACvB;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAC9B;AAUD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,wFAqB7B,CAAC;AAEH;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CA2B/E"}
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* and applies it to spans when they start. This ensures the conversation ID is
|
|
6
6
|
* available for all AI-related operations.
|
|
7
7
|
*/
|
|
8
|
-
export declare const conversationIdIntegration: () => import("
|
|
8
|
+
export declare const conversationIdIntegration: () => import("..").Integration;
|
|
9
9
|
//# sourceMappingURL=conversationId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversationId.d.ts","sourceRoot":"","sources":["../../../src/integrations/conversationId.ts"],"names":[],"mappings":"AAsCA;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"conversationId.d.ts","sourceRoot":"","sources":["../../../src/integrations/conversationId.ts"],"names":[],"mappings":"AAsCA;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,gCAAgD,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { Event } from '../types-hoist/event';
|
|
|
2
2
|
/**
|
|
3
3
|
* Deduplication filter.
|
|
4
4
|
*/
|
|
5
|
-
export declare const dedupeIntegration: () => import("
|
|
5
|
+
export declare const dedupeIntegration: () => import("..").Integration;
|
|
6
6
|
/** only exported for tests. */
|
|
7
7
|
export declare function _shouldDropEvent(currentEvent: Event, previousEvent?: Event): boolean;
|
|
8
8
|
//# sourceMappingURL=dedupe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dedupe.d.ts","sourceRoot":"","sources":["../../../src/integrations/dedupe.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAkClD;;GAEG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"dedupe.d.ts","sourceRoot":"","sources":["../../../src/integrations/dedupe.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAkClD;;GAEG;AACH,eAAO,MAAM,iBAAiB,gCAAwC,CAAC;AAEvE,+BAA+B;AAC/B,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,KAAK,EAAE,aAAa,CAAC,EAAE,KAAK,GAAG,OAAO,CAcpF"}
|
|
@@ -20,7 +20,7 @@ export interface EventFiltersOptions {
|
|
|
20
20
|
*
|
|
21
21
|
* Events filtered by this integration will not be sent to Sentry.
|
|
22
22
|
*/
|
|
23
|
-
export declare const eventFiltersIntegration: (options?: Partial<EventFiltersOptions> | undefined) => import("
|
|
23
|
+
export declare const eventFiltersIntegration: (options?: Partial<EventFiltersOptions> | undefined) => import("..").Integration;
|
|
24
24
|
/**
|
|
25
25
|
* An integration that filters out events (errors and transactions) based on:
|
|
26
26
|
*
|
|
@@ -37,5 +37,5 @@ export declare const eventFiltersIntegration: (options?: Partial<EventFiltersOpt
|
|
|
37
37
|
* @deprecated this integration was renamed and will be removed in a future major version.
|
|
38
38
|
* Use `eventFiltersIntegration` instead.
|
|
39
39
|
*/
|
|
40
|
-
export declare const inboundFiltersIntegration: (options?: Partial<EventFiltersOptions> | undefined) => import("
|
|
40
|
+
export declare const inboundFiltersIntegration: (options?: Partial<EventFiltersOptions> | undefined) => import("..").Integration;
|
|
41
41
|
//# sourceMappingURL=eventFilters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventFilters.d.ts","sourceRoot":"","sources":["../../../src/integrations/eventFilters.ts"],"names":[],"mappings":"AA0BA,+CAA+C;AAC/C,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACjC,YAAY,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACrC,kBAAkB,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,OAAO,CAAC;CAC/B;AAID;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"eventFilters.d.ts","sourceRoot":"","sources":["../../../src/integrations/eventFilters.ts"],"names":[],"mappings":"AA0BA,+CAA+C;AAC/C,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAClC,QAAQ,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACjC,YAAY,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACrC,kBAAkB,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAC3C,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,EAAE,OAAO,CAAC;CAC/B;AAID;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,uBAAuB,kFAgBlC,CAAC;AAEH;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,kFAKX,CAAC"}
|
|
@@ -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.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,GAAG,SAAS,CA4CvG;AAED,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,cAAc,UAYtD;AAED,eAAO,MAAM,YAAY,GAAI,MAAM,OAAO,EAAE,KAAG,MAAM,GAAG,SAQvD,CAAC;AAOF,eAAO,MAAM,4BAA4B,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,eACA,CAAC;AAS5E,eAAO,MAAM,+BAA+B,GAAI,SAAS,OAAO,KAAG,OAAO,IAAI,eAC2B,CAAC;AAO1G,6DAA6D;AAC7D,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAGxE"}
|
|
@@ -10,6 +10,6 @@ interface ExtraErrorDataOptions {
|
|
|
10
10
|
*/
|
|
11
11
|
captureErrorCause: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const extraErrorDataIntegration: (options?: Partial<ExtraErrorDataOptions> | undefined) => import("
|
|
13
|
+
export declare const extraErrorDataIntegration: (options?: Partial<ExtraErrorDataOptions> | undefined) => import("..").Integration;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=extraerrordata.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extraerrordata.d.ts","sourceRoot":"","sources":["../../../src/integrations/extraerrordata.ts"],"names":[],"mappings":"AAcA,UAAU,qBAAqB;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAgBD,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"extraerrordata.d.ts","sourceRoot":"","sources":["../../../src/integrations/extraerrordata.ts"],"names":[],"mappings":"AAcA,UAAU,qBAAqB;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAgBD,eAAO,MAAM,yBAAyB,oFAAgD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functiontostring.d.ts","sourceRoot":"","sources":["../../../src/integrations/functiontostring.ts"],"names":[],"mappings":"AAuCA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"functiontostring.d.ts","sourceRoot":"","sources":["../../../src/integrations/functiontostring.ts"],"names":[],"mappings":"AAuCA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,2BAA2B,gCAAkD,CAAC"}
|
|
@@ -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"}
|