@safaricom-mxl/web-sdk 0.0.17 → 0.0.18
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/REACT.md +21 -5
- package/dist/_virtual/_rolldown/runtime.cjs +2 -0
- package/dist/_virtual/_rolldown/runtime.js +24 -0
- package/dist/api-logs/api/LogAPI/LogAPI.cjs.map +1 -1
- package/dist/api-logs/api/LogAPI/LogAPI.d.cts +1 -0
- package/dist/api-logs/api/LogAPI/LogAPI.d.cts.map +1 -1
- package/dist/api-logs/api/LogAPI/LogAPI.d.ts +1 -0
- package/dist/api-logs/api/LogAPI/LogAPI.d.ts.map +1 -1
- package/dist/api-logs/api/LogAPI/LogAPI.js.map +1 -1
- package/dist/api-logs/api/LogAPI/types.d.cts +1 -0
- package/dist/api-logs/api/LogAPI/types.d.cts.map +1 -1
- package/dist/api-logs/api/LogAPI/types.d.ts +1 -0
- package/dist/api-logs/api/LogAPI/types.d.ts.map +1 -1
- package/dist/api-logs/logAPI.cjs.map +1 -1
- package/dist/api-logs/logAPI.d.cts.map +1 -1
- package/dist/api-logs/logAPI.d.ts.map +1 -1
- package/dist/api-logs/logAPI.js.map +1 -1
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.cjs.map +1 -1
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.cts +1 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.cts.map +1 -1
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.ts +1 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.ts.map +1 -1
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.js.map +1 -1
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.cjs.map +1 -1
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.cts +1 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.cts.map +1 -1
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.ts +1 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.ts.map +1 -1
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.js.map +1 -1
- package/dist/api-page/api/PageAPI/PageAPI.cjs.map +1 -1
- package/dist/api-page/api/PageAPI/PageAPI.js.map +1 -1
- package/dist/api-page/api/PageAPI/types.d.cts.map +1 -1
- package/dist/api-page/api/PageAPI/types.d.ts.map +1 -1
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.cjs.map +1 -1
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.js.map +1 -1
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.cjs.map +1 -1
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.d.cts.map +1 -1
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.d.ts.map +1 -1
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.js.map +1 -1
- package/dist/api-page/pageAPI.cjs.map +1 -1
- package/dist/api-page/pageAPI.js.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts +1 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts +1 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.js.map +1 -1
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs.map +1 -1
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts +2 -1
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts.map +1 -1
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts +2 -1
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts.map +1 -1
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js.map +1 -1
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs.map +1 -1
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts +1 -1
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts.map +1 -1
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts +1 -1
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts.map +1 -1
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js.map +1 -1
- package/dist/api-sessions/manager/types.d.cts +1 -0
- package/dist/api-sessions/manager/types.d.cts.map +1 -1
- package/dist/api-sessions/manager/types.d.ts +1 -0
- package/dist/api-sessions/manager/types.d.ts.map +1 -1
- package/dist/api-sessions/sessionAPI.cjs.map +1 -1
- package/dist/api-sessions/sessionAPI.d.cts.map +1 -1
- package/dist/api-sessions/sessionAPI.d.ts.map +1 -1
- package/dist/api-sessions/sessionAPI.js.map +1 -1
- package/dist/api-traces/api/TraceAPI/TraceAPI.cjs.map +1 -1
- package/dist/api-traces/api/TraceAPI/TraceAPI.d.cts +1 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.d.cts.map +1 -1
- package/dist/api-traces/api/TraceAPI/TraceAPI.d.ts +1 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.d.ts.map +1 -1
- package/dist/api-traces/api/TraceAPI/TraceAPI.js.map +1 -1
- package/dist/api-traces/api/TraceAPI/types.d.cts.map +1 -1
- package/dist/api-traces/api/TraceAPI/types.d.ts.map +1 -1
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.cjs.map +1 -1
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.js.map +1 -1
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.cjs.map +1 -1
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.d.cts.map +1 -1
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.d.ts.map +1 -1
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.js.map +1 -1
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.cjs.map +1 -1
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.d.cts.map +1 -1
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.d.ts.map +1 -1
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.js.map +1 -1
- package/dist/api-traces/manager/types.d.cts.map +1 -1
- package/dist/api-traces/manager/types.d.ts.map +1 -1
- package/dist/api-traces/traceAPI.cjs.map +1 -1
- package/dist/api-traces/traceAPI.js.map +1 -1
- package/dist/api-users/api/UserAPI/UserAPI.cjs.map +1 -1
- package/dist/api-users/api/UserAPI/UserAPI.js.map +1 -1
- package/dist/api-users/api/UserAPI/types.d.cts.map +1 -1
- package/dist/api-users/api/UserAPI/types.d.ts.map +1 -1
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.cjs.map +1 -1
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.js.map +1 -1
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.cjs.map +1 -1
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.d.cts.map +1 -1
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.d.ts.map +1 -1
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.js.map +1 -1
- package/dist/api-users/manager/types.d.cts +1 -1
- package/dist/api-users/manager/types.d.ts +1 -1
- package/dist/api-users/manager/userConstants.cjs +7 -0
- package/dist/api-users/manager/userConstants.cjs.map +1 -0
- package/dist/api-users/manager/userConstants.d.cts +5 -0
- package/dist/api-users/manager/userConstants.d.cts.map +1 -0
- package/dist/api-users/manager/userConstants.d.ts +5 -0
- package/dist/api-users/manager/userConstants.d.ts.map +1 -0
- package/dist/api-users/manager/userConstants.js +6 -0
- package/dist/api-users/manager/userConstants.js.map +1 -0
- package/dist/api-users/userAPI.cjs.map +1 -1
- package/dist/api-users/userAPI.d.cts.map +1 -1
- package/dist/api-users/userAPI.d.ts.map +1 -1
- package/dist/api-users/userAPI.js.map +1 -1
- package/dist/common/attributes.cjs.map +1 -1
- package/dist/common/attributes.d.cts.map +1 -1
- package/dist/common/attributes.d.ts.map +1 -1
- package/dist/common/attributes.js.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs +3 -2
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js.map +1 -1
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.cjs +3 -2
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.cjs.map +1 -1
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.js +1 -1
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.js.map +1 -1
- package/dist/exporters/otlpBrowserFetchExportDelegate.cjs.map +1 -1
- package/dist/exporters/otlpBrowserFetchExportDelegate.d.cts +1 -1
- package/dist/exporters/otlpBrowserFetchExportDelegate.d.cts.map +1 -1
- package/dist/exporters/otlpBrowserFetchExportDelegate.d.ts +1 -1
- package/dist/exporters/otlpBrowserFetchExportDelegate.d.ts.map +1 -1
- package/dist/exporters/otlpBrowserFetchExportDelegate.js.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts +2 -2
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts +2 -2
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/types.d.cts +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/types.d.cts.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/types.d.ts +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/types.d.ts.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.cts +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.ts +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.ts.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.d.ts.map +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js.map +1 -1
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.cts +1 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.ts +1 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.ts.map +1 -1
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js.map +1 -1
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.cts +1 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.ts +1 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.ts.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs +2 -2
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts +2 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts +2 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js +2 -2
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/types.d.cts +1 -0
- package/dist/instrumentations/loaf/LoafInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/types.d.ts +1 -0
- package/dist/instrumentations/loaf/LoafInstrumentation/types.d.ts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.cts +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.cjs +3 -3
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.js +4 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.cjs +3 -3
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.js +4 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.cts +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.ts +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.ts.map +1 -1
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs +5 -22
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts +1 -6
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts +1 -6
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js +1 -18
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js.map +1 -1
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts +1 -1
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts +1 -1
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.cjs +6 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.d.cts +3 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.d.ts +3 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.cjs +29 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.cjs.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.d.cts +11 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.d.cts.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.d.ts +11 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.d.ts.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.js +25 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.esm.js.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.cjs +48 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.cjs.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.d.cts +10 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.d.cts.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.d.ts +10 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.d.ts.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.js +44 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.iife.js.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/loadRrwebModule.js +2 -0
- package/dist/instrumentations/replay/rrwebLoader/types.d.cts +17 -0
- package/dist/instrumentations/replay/rrwebLoader/types.d.cts.map +1 -0
- package/dist/instrumentations/replay/rrwebLoader/types.d.ts +17 -0
- package/dist/instrumentations/replay/rrwebLoader/types.d.ts.map +1 -0
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/session/types.d.cts.map +1 -1
- package/dist/instrumentations/session/types.d.ts.map +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.cts.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.ts.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js.map +1 -1
- package/dist/managers/MXLConfigManager/constants.cjs.map +1 -1
- package/dist/managers/MXLConfigManager/constants.d.cts +1 -0
- package/dist/managers/MXLConfigManager/constants.d.cts.map +1 -1
- package/dist/managers/MXLConfigManager/constants.d.ts +1 -0
- package/dist/managers/MXLConfigManager/constants.d.ts.map +1 -1
- package/dist/managers/MXLConfigManager/constants.js.map +1 -1
- package/dist/managers/MXLConfigManager/types.d.cts.map +1 -1
- package/dist/managers/MXLConfigManager/types.d.ts.map +1 -1
- package/dist/managers/MXLLimitManager/MXLLimitManager.cjs.map +1 -1
- package/dist/managers/MXLLimitManager/MXLLimitManager.js.map +1 -1
- package/dist/managers/MXLLimitManager/types.d.cts.map +1 -1
- package/dist/managers/MXLLimitManager/types.d.ts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.cjs +4 -4
- package/dist/managers/MXLLogManager/MXLLogManager.cjs.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.d.cts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.d.ts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.js +4 -4
- package/dist/managers/MXLLogManager/MXLLogManager.js.map +1 -1
- package/dist/managers/MXLLogManager/types.d.cts +1 -1
- package/dist/managers/MXLLogManager/types.d.cts.map +1 -1
- package/dist/managers/MXLLogManager/types.d.ts +1 -1
- package/dist/managers/MXLLogManager/types.d.ts.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.cjs.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.js.map +1 -1
- package/dist/managers/MXLPageManager/types.d.cts.map +1 -1
- package/dist/managers/MXLPageManager/types.d.ts.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.cts +1 -0
- package/dist/managers/MXLSDKFeaturesManager/types.d.cts.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.ts +1 -0
- package/dist/managers/MXLSDKFeaturesManager/types.d.ts.map +1 -1
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.cjs.map +1 -1
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.d.cts.map +1 -1
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.d.ts.map +1 -1
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.js.map +1 -1
- package/dist/managers/MXLTraceManager/MXLTraceManager.cjs.map +1 -1
- package/dist/managers/MXLTraceManager/MXLTraceManager.d.cts.map +1 -1
- package/dist/managers/MXLTraceManager/MXLTraceManager.d.ts.map +1 -1
- package/dist/managers/MXLTraceManager/MXLTraceManager.js.map +1 -1
- package/dist/managers/MXLUserManager/MXLUserManager.cjs +2 -2
- package/dist/managers/MXLUserManager/MXLUserManager.cjs.map +1 -1
- package/dist/managers/MXLUserManager/MXLUserManager.js +1 -1
- package/dist/managers/MXLUserManager/MXLUserManager.js.map +1 -1
- package/dist/managers/MXLUserManager/types.cjs +1 -1
- package/dist/managers/MXLUserManager/types.cjs.map +1 -1
- package/dist/managers/MXLUserManager/types.js +1 -1
- package/dist/managers/MXLUserManager/types.js.map +1 -1
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs +4 -4
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs.map +1 -1
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts +1 -1
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts.map +1 -1
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts +1 -1
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts.map +1 -1
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js +4 -4
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js.map +1 -1
- package/dist/managers/MXLUserSessionManager/types.d.cts +2 -2
- package/dist/managers/MXLUserSessionManager/types.d.cts.map +1 -1
- package/dist/managers/MXLUserSessionManager/types.d.ts +2 -2
- package/dist/managers/MXLUserSessionManager/types.d.ts.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/activity.cjs.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/activity.js.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/state.cjs +1 -1
- package/dist/managers/MXLUserSessionManager/utils/state.cjs.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/state.d.cts.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/state.d.ts.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/state.js +1 -1
- package/dist/managers/MXLUserSessionManager/utils/state.js.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs +2 -2
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts.map +1 -1
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.js +2 -2
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.js.map +1 -1
- package/dist/mxl-web-sdk.js +1 -1
- package/dist/mxl-web-sdk.js.map +1 -1
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/common/internal.js +54 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/common/internal.js.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/common/utils.js +32 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/common/utils.js.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/internal.js +66 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/internal.js.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/json/logs.js +24 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/logs/json/logs.js.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js +115 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/trace.js +24 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/trace.js.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/hex-to-binary.cjs +31 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/hex-to-binary.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/internal.cjs +69 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/internal.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/common-serializer.cjs +170 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/common-serializer.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-reader.cjs +108 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-reader.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-size-estimator.cjs +82 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-size-estimator.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-writer.cjs +240 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/protobuf-writer.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/utils.cjs +33 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/protobuf/utils.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/utils.cjs +72 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/common/utils.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.cts +19 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.cts.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.ts +19 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.ts.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/index.cjs +64 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/internal.cjs +80 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/internal.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/index.cjs +24 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.cjs +37 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/json/logs.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/index.cjs +24 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs-serializer.cjs +146 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs-serializer.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.cjs +28 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/logs.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/response-deserializer.cjs +70 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/logs/protobuf/response-deserializer.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal-types.cjs +79 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal-types.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal.cjs +145 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/internal.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/index.cjs +24 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/metrics.cjs +37 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/metrics.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/metrics.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/json/metrics.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/index.cjs +24 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics-serializer.cjs +366 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics-serializer.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics.cjs +28 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/metrics.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/response-deserializer.cjs +70 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/metrics/protobuf/response-deserializer.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.cjs +131 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/internal.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/index.cjs +24 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/trace.cjs +37 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/trace.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/trace.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/json/trace.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/index.cjs +24 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/response-deserializer.cjs +70 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/response-deserializer.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace-serializer.cjs +253 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace-serializer.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace.cjs +28 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/otlp-transformer/build/src/trace/protobuf/trace.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/InstrumentDescriptor.cjs +51 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/InstrumentDescriptor.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/InstrumentDescriptor.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/InstrumentDescriptor.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/Instruments.cjs +129 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/Instruments.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/Meter.cjs +100 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/Meter.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/MeterProvider.cjs +85 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/MeterProvider.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/MeterProvider.d.cts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/MeterProvider.d.ts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/ObservableResult.cjs +83 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/ObservableResult.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Drop.cjs +27 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Drop.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Drop.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Drop.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.cjs +423 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.cjs +172 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/LastValue.cjs +84 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/LastValue.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/LastValue.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/LastValue.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Sum.cjs +94 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Sum.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Sum.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Sum.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/Buckets.cjs +246 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/Buckets.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ExponentMapping.cjs +74 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ExponentMapping.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/LogarithmMapping.cjs +83 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/LogarithmMapping.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/getMapping.cjs +40 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/getMapping.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ieee754.cjs +82 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/ieee754.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.cjs +17 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/mapping/types.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/util.cjs +51 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/exponential-histogram/util.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/index.cjs +80 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.cjs +22 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/types.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationSelector.cjs +26 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationSelector.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationSelector.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationSelector.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationTemporality.cjs +19 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/AggregationTemporality.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/CardinalitySelector.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/CardinalitySelector.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/ConsoleMetricExporter.cjs +51 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/ConsoleMetricExporter.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/ConsoleMetricExporter.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/ConsoleMetricExporter.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/InMemoryMetricExporter.cjs +61 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/InMemoryMetricExporter.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/InMemoryMetricExporter.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/InMemoryMetricExporter.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.cjs +48 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.d.cts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricData.d.ts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricExporter.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricExporter.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricProducer.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricProducer.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricReader.cjs +92 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricReader.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricReader.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/MetricReader.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.cjs +109 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/export/PeriodicExportingMetricReader.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/index.cjs +108 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/index.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/AsyncMetricStorage.cjs +59 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/AsyncMetricStorage.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/DeltaMetricProcessor.cjs +88 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/DeltaMetricProcessor.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/HashMap.cjs +77 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/HashMap.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MeterProviderSharedState.cjs +51 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MeterProviderSharedState.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MeterSharedState.cjs +107 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MeterSharedState.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricCollector.cjs +73 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricCollector.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricStorage.cjs +41 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricStorage.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricStorageRegistry.cjs +81 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MetricStorageRegistry.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MultiWritableMetricStorage.cjs +29 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/MultiWritableMetricStorage.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/ObservableRegistry.cjs +108 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/ObservableRegistry.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/SyncMetricStorage.cjs +55 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/SyncMetricStorage.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/TemporalMetricProcessor.cjs +106 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/state/TemporalMetricProcessor.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/utils.cjs +100 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/utils.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/utils.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/utils.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Aggregation.cjs +151 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Aggregation.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Aggregation.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Aggregation.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.cjs +46 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AggregationOption.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AttributesProcessor.cjs +89 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AttributesProcessor.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AttributesProcessor.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/AttributesProcessor.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/InstrumentSelector.cjs +38 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/InstrumentSelector.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/InstrumentSelector.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/InstrumentSelector.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/MeterSelector.cjs +41 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/MeterSelector.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Predicate.cjs +53 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/Predicate.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/RegistrationConflicts.cjs +62 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/RegistrationConflicts.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/View.cjs +121 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/View.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/View.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/View.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/ViewRegistry.cjs +33 -0
- package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/view/ViewRegistry.cjs.map +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/BasicTracerProvider.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/BasicTracerProvider.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/Sampler.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/Sampler.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/Span.d.cts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/Span.d.ts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/SpanProcessor.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/SpanProcessor.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/TimedEvent.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/TimedEvent.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/BatchSpanProcessorBase.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/BatchSpanProcessorBase.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/ConsoleSpanExporter.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/ConsoleSpanExporter.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/InMemorySpanExporter.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/InMemorySpanExporter.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/NoopSpanProcessor.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/NoopSpanProcessor.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/ReadableSpan.d.cts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/ReadableSpan.d.ts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/SimpleSpanProcessor.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/SimpleSpanProcessor.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/SpanExporter.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/export/SpanExporter.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/node/export/BatchSpanProcessor.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/node/export/BatchSpanProcessor.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/node/index.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/platform/node/index.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/AlwaysOffSampler.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/AlwaysOffSampler.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/AlwaysOnSampler.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/AlwaysOnSampler.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/ParentBasedSampler.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/ParentBasedSampler.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/TraceIdRatioBasedSampler.d.cts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/sampler/TraceIdRatioBasedSampler.d.ts +1 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/types.d.cts +2 -0
- package/dist/node_modules/@opentelemetry/sdk-trace-base/build/src/types.d.ts +2 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.cjs +93 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.cjs.map +1 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +88 -0
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.cjs +159 -0
- package/dist/node_modules/react-is/cjs/react-is.development.cjs.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js +155 -0
- package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.cjs +103 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.cjs.map +1 -0
- package/dist/node_modules/react-is/index.cjs +18 -0
- package/dist/node_modules/react-is/index.cjs.map +1 -0
- package/dist/node_modules/react-is/index.js +11 -0
- package/dist/node_modules/react-is/index.js.map +1 -0
- package/dist/processors/BrowserLogRecordProcessor/BrowserLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/BrowserLogRecordProcessor/BrowserLogRecordProcessor.js.map +1 -1
- package/dist/processors/BrowserLogRecordProcessor/types.d.cts.map +1 -1
- package/dist/processors/BrowserLogRecordProcessor/types.d.ts.map +1 -1
- package/dist/processors/BrowserSpanProcessor/BrowserSpanProcessor.cjs.map +1 -1
- package/dist/processors/BrowserSpanProcessor/BrowserSpanProcessor.js.map +1 -1
- package/dist/processors/BrowserSpanProcessor/types.d.cts.map +1 -1
- package/dist/processors/BrowserSpanProcessor/types.d.ts.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.cjs.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.js.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/types.d.cts.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/types.d.ts.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.js.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/types.d.cts.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/types.d.ts.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.cjs +5 -5
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.cjs.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.d.cts.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.d.ts.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.js +5 -5
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.js.map +1 -1
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs.map +1 -1
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts.map +1 -1
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts.map +1 -1
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js.map +1 -1
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts.map +1 -1
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts.map +1 -1
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.d.cts.map +1 -1
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.d.ts.map +1 -1
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.js.map +1 -1
- package/dist/processors/PageLogRecordProcessor/types.d.cts.map +1 -1
- package/dist/processors/PageLogRecordProcessor/types.d.ts.map +1 -1
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.cjs.map +1 -1
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.d.cts.map +1 -1
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.d.ts.map +1 -1
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.js.map +1 -1
- package/dist/processors/PageSpanProcessor/types.d.cts.map +1 -1
- package/dist/processors/PageSpanProcessor/types.d.ts.map +1 -1
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.cjs.map +1 -1
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.js.map +1 -1
- package/dist/processors/SpanScrubProcessor/types.d.cts.map +1 -1
- package/dist/processors/SpanScrubProcessor/types.d.ts.map +1 -1
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.js.map +1 -1
- package/dist/processors/UserLogRecordProcessor/types.d.cts.map +1 -1
- package/dist/processors/UserLogRecordProcessor/types.d.ts.map +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs.map +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts.map +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts.map +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js.map +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/types.d.cts +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.cts.map +1 -1
- package/dist/processors/UserSessionLogRecordProcessor/types.d.ts +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.ts.map +1 -1
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.cjs.map +1 -1
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.js.map +1 -1
- package/dist/processors/UserSpanProcessor/types.d.cts.map +1 -1
- package/dist/processors/UserSpanProcessor/types.d.ts.map +1 -1
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.cjs.map +1 -1
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.d.cts.map +1 -1
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.d.ts.map +1 -1
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.js.map +1 -1
- package/dist/react-instrumentation/error-boundary.cjs +3 -0
- package/dist/react-instrumentation/error-boundary.d.cts +2 -0
- package/dist/react-instrumentation/error-boundary.d.ts +2 -0
- package/dist/react-instrumentation/error-boundary.js +2 -0
- package/dist/react-instrumentation/index.cjs +1 -1
- package/dist/react-instrumentation/index.js +1 -1
- package/dist/react-instrumentation/navigation.cjs +3 -0
- package/dist/react-instrumentation/navigation.d.cts +2 -0
- package/dist/react-instrumentation/navigation.d.ts +2 -0
- package/dist/react-instrumentation/navigation.js +2 -0
- package/dist/react-instrumentation/router-v5.cjs +3 -0
- package/dist/react-instrumentation/router-v5.d.cts +2 -0
- package/dist/react-instrumentation/router-v5.d.ts +2 -0
- package/dist/react-instrumentation/router-v5.js +2 -0
- package/dist/react-instrumentation/router-v6-data.cjs +3 -0
- package/dist/react-instrumentation/router-v6-data.d.cts +2 -0
- package/dist/react-instrumentation/router-v6-data.d.ts +2 -0
- package/dist/react-instrumentation/router-v6-data.js +2 -0
- package/dist/react-instrumentation/router-v6-declarative.cjs +3 -0
- package/dist/react-instrumentation/router-v6-declarative.d.cts +2 -0
- package/dist/react-instrumentation/router-v6-declarative.d.ts +2 -0
- package/dist/react-instrumentation/router-v6-declarative.js +2 -0
- package/dist/resources/appInstanceId.cjs +3 -3
- package/dist/resources/appInstanceId.cjs.map +1 -1
- package/dist/resources/appInstanceId.js +1 -1
- package/dist/resources/appInstanceId.js.map +1 -1
- package/dist/resources/sdkConstants.cjs +15 -0
- package/dist/resources/sdkConstants.cjs.map +1 -0
- package/dist/resources/sdkConstants.d.cts +9 -0
- package/dist/resources/sdkConstants.d.cts.map +1 -0
- package/dist/resources/sdkConstants.d.ts +9 -0
- package/dist/resources/sdkConstants.d.ts.map +1 -0
- package/dist/resources/sdkConstants.js +10 -0
- package/dist/resources/sdkConstants.js.map +1 -0
- package/dist/resources/webSdkResource.cjs +5 -5
- package/dist/resources/webSdkResource.cjs.map +1 -1
- package/dist/resources/webSdkResource.js +2 -2
- package/dist/resources/webSdkResource.js.map +1 -1
- package/dist/sdk/defaultAttributeScrubbers.cjs.map +1 -1
- package/dist/sdk/defaultAttributeScrubbers.d.cts.map +1 -1
- package/dist/sdk/defaultAttributeScrubbers.d.ts.map +1 -1
- package/dist/sdk/defaultAttributeScrubbers.js.map +1 -1
- package/dist/sdk/initSDK.cjs +9 -9
- package/dist/sdk/initSDK.cjs.map +1 -1
- package/dist/sdk/initSDK.d.cts.map +1 -1
- package/dist/sdk/initSDK.d.ts.map +1 -1
- package/dist/sdk/initSDK.js +9 -9
- package/dist/sdk/initSDK.js.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.cjs +3 -3
- package/dist/sdk/setupDefaultInstrumentations.cjs.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.d.cts.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.d.ts.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.js +3 -3
- package/dist/sdk/setupDefaultInstrumentations.js.map +1 -1
- package/dist/sdk/types.d.cts +9 -9
- package/dist/sdk/types.d.cts.map +1 -1
- package/dist/sdk/types.d.ts +8 -8
- package/dist/sdk/types.d.ts.map +1 -1
- package/dist/sdk/utils.cjs +2 -2
- package/dist/sdk/utils.cjs.map +1 -1
- package/dist/sdk/utils.js +1 -1
- package/dist/sdk/utils.js.map +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.cjs.map +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.js.map +1 -1
- package/dist/transport/RetryingTransport/createRetryingTransport.cjs.map +1 -1
- package/dist/transport/RetryingTransport/createRetryingTransport.d.cts.map +1 -1
- package/dist/transport/RetryingTransport/createRetryingTransport.d.ts.map +1 -1
- package/dist/transport/RetryingTransport/createRetryingTransport.js.map +1 -1
- package/dist/utils/getVisibilityState.cjs.map +1 -1
- package/dist/utils/getVisibilityState.d.cts.map +1 -1
- package/dist/utils/getVisibilityState.d.ts.map +1 -1
- package/dist/utils/getVisibilityState.js.map +1 -1
- package/dist/utils/nsfConfigValidation.cjs.map +1 -1
- package/dist/utils/nsfConfigValidation.d.cts.map +1 -1
- package/dist/utils/nsfConfigValidation.d.ts.map +1 -1
- package/dist/utils/nsfConfigValidation.js.map +1 -1
- package/package.json +37 -3
- package/dist/api-logs/api/LogAPI/index.cjs +0 -3
- package/dist/api-logs/api/LogAPI/index.d.cts +0 -2
- package/dist/api-logs/api/LogAPI/index.d.ts +0 -2
- package/dist/api-logs/api/LogAPI/index.js +0 -2
- package/dist/api-logs/api/index.cjs +0 -3
- package/dist/api-logs/api/index.d.cts +0 -2
- package/dist/api-logs/api/index.d.ts +0 -2
- package/dist/api-logs/api/index.js +0 -2
- package/dist/api-logs/index.cjs +0 -7
- package/dist/api-logs/index.d.cts +0 -5
- package/dist/api-logs/index.d.ts +0 -5
- package/dist/api-logs/index.js +0 -4
- package/dist/api-logs/manager/NoOpLogManager/index.cjs +0 -3
- package/dist/api-logs/manager/NoOpLogManager/index.d.cts +0 -2
- package/dist/api-logs/manager/NoOpLogManager/index.d.ts +0 -2
- package/dist/api-logs/manager/NoOpLogManager/index.js +0 -2
- package/dist/api-logs/manager/ProxyLogManager/index.cjs +0 -3
- package/dist/api-logs/manager/ProxyLogManager/index.d.cts +0 -2
- package/dist/api-logs/manager/ProxyLogManager/index.d.ts +0 -2
- package/dist/api-logs/manager/ProxyLogManager/index.js +0 -2
- package/dist/api-logs/manager/index.cjs +0 -5
- package/dist/api-logs/manager/index.d.cts +0 -4
- package/dist/api-logs/manager/index.d.ts +0 -4
- package/dist/api-logs/manager/index.js +0 -3
- package/dist/api-page/api/PageAPI/index.cjs +0 -3
- package/dist/api-page/api/PageAPI/index.d.cts +0 -3
- package/dist/api-page/api/PageAPI/index.d.ts +0 -3
- package/dist/api-page/api/PageAPI/index.js +0 -2
- package/dist/api-page/api/index.cjs +0 -3
- package/dist/api-page/api/index.d.cts +0 -3
- package/dist/api-page/api/index.d.ts +0 -3
- package/dist/api-page/api/index.js +0 -2
- package/dist/api-page/index.cjs +0 -7
- package/dist/api-page/index.d.cts +0 -5
- package/dist/api-page/index.d.ts +0 -5
- package/dist/api-page/index.js +0 -4
- package/dist/api-page/manager/NoOpPageManager/index.cjs +0 -3
- package/dist/api-page/manager/NoOpPageManager/index.d.cts +0 -2
- package/dist/api-page/manager/NoOpPageManager/index.d.ts +0 -2
- package/dist/api-page/manager/NoOpPageManager/index.js +0 -2
- package/dist/api-page/manager/ProxyPageManager/index.cjs +0 -3
- package/dist/api-page/manager/ProxyPageManager/index.d.cts +0 -2
- package/dist/api-page/manager/ProxyPageManager/index.d.ts +0 -2
- package/dist/api-page/manager/ProxyPageManager/index.js +0 -2
- package/dist/api-page/manager/index.cjs +0 -5
- package/dist/api-page/manager/index.d.cts +0 -4
- package/dist/api-page/manager/index.d.ts +0 -4
- package/dist/api-page/manager/index.js +0 -3
- package/dist/api-sessions/api/SessionAPI/index.cjs +0 -3
- package/dist/api-sessions/api/SessionAPI/index.d.cts +0 -2
- package/dist/api-sessions/api/SessionAPI/index.d.ts +0 -2
- package/dist/api-sessions/api/SessionAPI/index.js +0 -2
- package/dist/api-sessions/api/index.cjs +0 -3
- package/dist/api-sessions/api/index.d.cts +0 -2
- package/dist/api-sessions/api/index.d.ts +0 -2
- package/dist/api-sessions/api/index.js +0 -2
- package/dist/api-sessions/index.cjs +0 -7
- package/dist/api-sessions/index.d.cts +0 -5
- package/dist/api-sessions/index.d.ts +0 -5
- package/dist/api-sessions/index.js +0 -4
- package/dist/api-sessions/manager/NoOpUserSessionManager/index.cjs +0 -3
- package/dist/api-sessions/manager/NoOpUserSessionManager/index.d.cts +0 -2
- package/dist/api-sessions/manager/NoOpUserSessionManager/index.d.ts +0 -2
- package/dist/api-sessions/manager/NoOpUserSessionManager/index.js +0 -2
- package/dist/api-sessions/manager/ProxyUserSessionManager/index.cjs +0 -3
- package/dist/api-sessions/manager/ProxyUserSessionManager/index.d.cts +0 -2
- package/dist/api-sessions/manager/ProxyUserSessionManager/index.d.ts +0 -2
- package/dist/api-sessions/manager/ProxyUserSessionManager/index.js +0 -2
- package/dist/api-sessions/manager/index.cjs +0 -5
- package/dist/api-sessions/manager/index.d.cts +0 -4
- package/dist/api-sessions/manager/index.d.ts +0 -4
- package/dist/api-sessions/manager/index.js +0 -3
- package/dist/api-traces/api/TraceAPI/index.cjs +0 -3
- package/dist/api-traces/api/TraceAPI/index.d.cts +0 -3
- package/dist/api-traces/api/TraceAPI/index.d.ts +0 -3
- package/dist/api-traces/api/TraceAPI/index.js +0 -2
- package/dist/api-traces/api/index.cjs +0 -3
- package/dist/api-traces/api/index.d.cts +0 -3
- package/dist/api-traces/api/index.d.ts +0 -3
- package/dist/api-traces/api/index.js +0 -2
- package/dist/api-traces/index.cjs +0 -7
- package/dist/api-traces/index.d.cts +0 -6
- package/dist/api-traces/index.d.ts +0 -6
- package/dist/api-traces/index.js +0 -4
- package/dist/api-traces/manager/NoOpTraceManager/index.cjs +0 -3
- package/dist/api-traces/manager/NoOpTraceManager/index.d.cts +0 -2
- package/dist/api-traces/manager/NoOpTraceManager/index.d.ts +0 -2
- package/dist/api-traces/manager/NoOpTraceManager/index.js +0 -2
- package/dist/api-traces/manager/ProxyTraceManager/index.cjs +0 -3
- package/dist/api-traces/manager/ProxyTraceManager/index.d.cts +0 -2
- package/dist/api-traces/manager/ProxyTraceManager/index.d.ts +0 -2
- package/dist/api-traces/manager/ProxyTraceManager/index.js +0 -2
- package/dist/api-traces/manager/index.cjs +0 -5
- package/dist/api-traces/manager/index.d.cts +0 -4
- package/dist/api-traces/manager/index.d.ts +0 -4
- package/dist/api-traces/manager/index.js +0 -3
- package/dist/api-users/api/UserAPI/index.cjs +0 -3
- package/dist/api-users/api/UserAPI/index.d.cts +0 -2
- package/dist/api-users/api/UserAPI/index.d.ts +0 -2
- package/dist/api-users/api/UserAPI/index.js +0 -2
- package/dist/api-users/api/index.cjs +0 -3
- package/dist/api-users/api/index.d.cts +0 -2
- package/dist/api-users/api/index.d.ts +0 -2
- package/dist/api-users/api/index.js +0 -2
- package/dist/api-users/index.cjs +0 -9
- package/dist/api-users/index.d.cts +0 -6
- package/dist/api-users/index.d.ts +0 -6
- package/dist/api-users/index.js +0 -5
- package/dist/api-users/manager/NoOpUserManager/index.cjs +0 -3
- package/dist/api-users/manager/NoOpUserManager/index.d.cts +0 -2
- package/dist/api-users/manager/NoOpUserManager/index.d.ts +0 -2
- package/dist/api-users/manager/NoOpUserManager/index.js +0 -2
- package/dist/api-users/manager/ProxyUserManager/index.cjs +0 -3
- package/dist/api-users/manager/ProxyUserManager/index.d.cts +0 -2
- package/dist/api-users/manager/ProxyUserManager/index.d.ts +0 -2
- package/dist/api-users/manager/ProxyUserManager/index.js +0 -2
- package/dist/api-users/manager/constants/index.cjs +0 -7
- package/dist/api-users/manager/constants/index.cjs.map +0 -1
- package/dist/api-users/manager/constants/index.d.cts +0 -5
- package/dist/api-users/manager/constants/index.d.cts.map +0 -1
- package/dist/api-users/manager/constants/index.d.ts +0 -5
- package/dist/api-users/manager/constants/index.d.ts.map +0 -1
- package/dist/api-users/manager/constants/index.js +0 -6
- package/dist/api-users/manager/constants/index.js.map +0 -1
- package/dist/api-users/manager/index.cjs +0 -7
- package/dist/api-users/manager/index.d.cts +0 -5
- package/dist/api-users/manager/index.d.ts +0 -5
- package/dist/api-users/manager/index.js +0 -4
- package/dist/common/index.cjs +0 -3
- package/dist/common/index.d.cts +0 -3
- package/dist/common/index.d.ts +0 -3
- package/dist/common/index.js +0 -2
- package/dist/constants/index.cjs +0 -47
- package/dist/constants/index.d.cts +0 -2
- package/dist/constants/index.d.ts +0 -2
- package/dist/constants/index.js +0 -2
- package/dist/exporters/BaseFetchExporter/index.cjs +0 -3
- package/dist/exporters/BaseFetchExporter/index.d.cts +0 -2
- package/dist/exporters/BaseFetchExporter/index.d.ts +0 -2
- package/dist/exporters/BaseFetchExporter/index.js +0 -2
- package/dist/exporters/MXLLogExporter/index.cjs +0 -3
- package/dist/exporters/MXLLogExporter/index.d.cts +0 -2
- package/dist/exporters/MXLLogExporter/index.d.ts +0 -2
- package/dist/exporters/MXLLogExporter/index.js +0 -2
- package/dist/exporters/MXLTraceExporter/index.cjs +0 -3
- package/dist/exporters/MXLTraceExporter/index.d.cts +0 -2
- package/dist/exporters/MXLTraceExporter/index.d.ts +0 -2
- package/dist/exporters/MXLTraceExporter/index.js +0 -2
- package/dist/exporters/index.cjs +0 -12
- package/dist/exporters/index.d.cts +0 -7
- package/dist/exporters/index.d.ts +0 -7
- package/dist/exporters/index.js +0 -6
- package/dist/instrumentations/InstrumentationAbstract/index.cjs +0 -3
- package/dist/instrumentations/InstrumentationAbstract/index.d.cts +0 -2
- package/dist/instrumentations/InstrumentationAbstract/index.d.ts +0 -2
- package/dist/instrumentations/InstrumentationAbstract/index.js +0 -2
- package/dist/instrumentations/MXLInstrumentationBase/index.cjs +0 -3
- package/dist/instrumentations/MXLInstrumentationBase/index.d.cts +0 -3
- package/dist/instrumentations/MXLInstrumentationBase/index.d.ts +0 -3
- package/dist/instrumentations/MXLInstrumentationBase/index.js +0 -2
- package/dist/instrumentations/clicks/ClicksInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/clicks/ClicksInstrumentation/index.d.cts +0 -2
- package/dist/instrumentations/clicks/ClicksInstrumentation/index.d.ts +0 -2
- package/dist/instrumentations/clicks/ClicksInstrumentation/index.js +0 -2
- package/dist/instrumentations/clicks/index.cjs +0 -3
- package/dist/instrumentations/clicks/index.d.cts +0 -3
- package/dist/instrumentations/clicks/index.d.ts +0 -3
- package/dist/instrumentations/clicks/index.js +0 -2
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.cjs +0 -5
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.d.cts +0 -4
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.d.ts +0 -4
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.js +0 -3
- package/dist/instrumentations/document-load/index.cjs +0 -5
- package/dist/instrumentations/document-load/index.d.cts +0 -4
- package/dist/instrumentations/document-load/index.d.ts +0 -4
- package/dist/instrumentations/document-load/index.js +0 -3
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/index.js +0 -2
- package/dist/instrumentations/element-timing/index.cjs +0 -3
- package/dist/instrumentations/element-timing/index.d.cts +0 -3
- package/dist/instrumentations/element-timing/index.d.ts +0 -3
- package/dist/instrumentations/element-timing/index.js +0 -2
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.d.cts +0 -2
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.d.ts +0 -2
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.js +0 -2
- package/dist/instrumentations/empty-root/index.cjs +0 -3
- package/dist/instrumentations/empty-root/index.d.cts +0 -3
- package/dist/instrumentations/empty-root/index.d.ts +0 -3
- package/dist/instrumentations/empty-root/index.js +0 -2
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.d.cts +0 -2
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.d.ts +0 -2
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.js +0 -2
- package/dist/instrumentations/exceptions/index.cjs +0 -3
- package/dist/instrumentations/exceptions/index.d.cts +0 -3
- package/dist/instrumentations/exceptions/index.d.ts +0 -3
- package/dist/instrumentations/exceptions/index.js +0 -2
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.cjs +0 -3
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.d.cts +0 -2
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.d.ts +0 -2
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.js +0 -2
- package/dist/instrumentations/index.cjs +0 -25
- package/dist/instrumentations/index.d.cts +0 -24
- package/dist/instrumentations/index.d.ts +0 -24
- package/dist/instrumentations/index.js +0 -13
- package/dist/instrumentations/loaf/LoafInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/loaf/LoafInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/loaf/LoafInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/loaf/LoafInstrumentation/index.js +0 -2
- package/dist/instrumentations/loaf/index.cjs +0 -3
- package/dist/instrumentations/loaf/index.d.cts +0 -3
- package/dist/instrumentations/loaf/index.d.ts +0 -3
- package/dist/instrumentations/loaf/index.js +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/index.cjs +0 -5
- package/dist/instrumentations/navigation/NavigationInstrumentation/index.d.cts +0 -4
- package/dist/instrumentations/navigation/NavigationInstrumentation/index.d.ts +0 -4
- package/dist/instrumentations/navigation/NavigationInstrumentation/index.js +0 -3
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.cjs +0 -3
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.d.cts +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.d.ts +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.js +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.cjs +0 -3
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.d.cts +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.d.ts +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.js +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.cjs +0 -3
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.d.cts +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.d.ts +0 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.js +0 -2
- package/dist/instrumentations/navigation/index.cjs +0 -5
- package/dist/instrumentations/navigation/index.d.cts +0 -3
- package/dist/instrumentations/navigation/index.d.ts +0 -3
- package/dist/instrumentations/navigation/index.js +0 -3
- package/dist/instrumentations/replay/ReplayInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/replay/ReplayInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/replay/ReplayInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/replay/ReplayInstrumentation/index.js +0 -2
- package/dist/instrumentations/replay/index.cjs +0 -8
- package/dist/instrumentations/replay/index.d.cts +0 -4
- package/dist/instrumentations/replay/index.d.ts +0 -4
- package/dist/instrumentations/replay/index.js +0 -3
- package/dist/instrumentations/replay/utils/index.cjs +0 -5
- package/dist/instrumentations/replay/utils/index.d.cts +0 -2
- package/dist/instrumentations/replay/utils/index.d.ts +0 -2
- package/dist/instrumentations/replay/utils/index.js +0 -2
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/index.js +0 -2
- package/dist/instrumentations/server-timing/index.cjs +0 -3
- package/dist/instrumentations/server-timing/index.d.cts +0 -3
- package/dist/instrumentations/server-timing/index.d.ts +0 -3
- package/dist/instrumentations/server-timing/index.js +0 -2
- package/dist/instrumentations/session/index.cjs +0 -3
- package/dist/instrumentations/session/index.d.cts +0 -4
- package/dist/instrumentations/session/index.d.ts +0 -4
- package/dist/instrumentations/session/index.js +0 -2
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/index.js +0 -2
- package/dist/instrumentations/user-timing/index.cjs +0 -3
- package/dist/instrumentations/user-timing/index.d.cts +0 -3
- package/dist/instrumentations/user-timing/index.d.ts +0 -3
- package/dist/instrumentations/user-timing/index.js +0 -2
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.js +0 -2
- package/dist/instrumentations/web-vitals/index.cjs +0 -3
- package/dist/instrumentations/web-vitals/index.d.cts +0 -3
- package/dist/instrumentations/web-vitals/index.d.ts +0 -3
- package/dist/instrumentations/web-vitals/index.js +0 -2
- package/dist/managers/MXLConfigManager/index.cjs +0 -3
- package/dist/managers/MXLConfigManager/index.d.cts +0 -2
- package/dist/managers/MXLConfigManager/index.d.ts +0 -2
- package/dist/managers/MXLConfigManager/index.js +0 -2
- package/dist/managers/MXLLimitManager/index.cjs +0 -6
- package/dist/managers/MXLLimitManager/index.d.cts +0 -4
- package/dist/managers/MXLLimitManager/index.d.ts +0 -4
- package/dist/managers/MXLLimitManager/index.js +0 -3
- package/dist/managers/MXLLogManager/index.cjs +0 -3
- package/dist/managers/MXLLogManager/index.d.cts +0 -2
- package/dist/managers/MXLLogManager/index.d.ts +0 -2
- package/dist/managers/MXLLogManager/index.js +0 -2
- package/dist/managers/MXLPageManager/index.cjs +0 -3
- package/dist/managers/MXLPageManager/index.d.cts +0 -3
- package/dist/managers/MXLPageManager/index.d.ts +0 -3
- package/dist/managers/MXLPageManager/index.js +0 -2
- package/dist/managers/MXLSDKFeaturesManager/index.cjs +0 -3
- package/dist/managers/MXLSDKFeaturesManager/index.d.cts +0 -3
- package/dist/managers/MXLSDKFeaturesManager/index.d.ts +0 -3
- package/dist/managers/MXLSDKFeaturesManager/index.js +0 -2
- package/dist/managers/MXLTraceManager/index.cjs +0 -5
- package/dist/managers/MXLTraceManager/index.d.cts +0 -3
- package/dist/managers/MXLTraceManager/index.d.ts +0 -3
- package/dist/managers/MXLTraceManager/index.js +0 -3
- package/dist/managers/MXLUserManager/index.cjs +0 -3
- package/dist/managers/MXLUserManager/index.d.cts +0 -2
- package/dist/managers/MXLUserManager/index.d.ts +0 -2
- package/dist/managers/MXLUserManager/index.js +0 -2
- package/dist/managers/MXLUserSessionManager/index.cjs +0 -6
- package/dist/managers/MXLUserSessionManager/index.d.cts +0 -4
- package/dist/managers/MXLUserSessionManager/index.d.ts +0 -4
- package/dist/managers/MXLUserSessionManager/index.js +0 -3
- package/dist/managers/MXLUserSessionManager/utils/index.cjs +0 -11
- package/dist/managers/MXLUserSessionManager/utils/index.d.cts +0 -3
- package/dist/managers/MXLUserSessionManager/utils/index.d.ts +0 -3
- package/dist/managers/MXLUserSessionManager/utils/index.js +0 -3
- package/dist/managers/index.cjs +0 -25
- package/dist/managers/index.d.cts +0 -16
- package/dist/managers/index.d.ts +0 -16
- package/dist/managers/index.js +0 -12
- package/dist/packages/otlp-transformer/dist/index.cjs +0 -533
- package/dist/packages/otlp-transformer/dist/index.cjs.map +0 -1
- package/dist/packages/otlp-transformer/dist/index.d.cts +0 -26
- package/dist/packages/otlp-transformer/dist/index.d.cts.map +0 -1
- package/dist/packages/otlp-transformer/dist/index.d.ts +0 -26
- package/dist/packages/otlp-transformer/dist/index.d.ts.map +0 -1
- package/dist/packages/otlp-transformer/dist/index.js +0 -532
- package/dist/packages/otlp-transformer/dist/index.js.map +0 -1
- package/dist/processors/BrowserLogRecordProcessor/index.cjs +0 -3
- package/dist/processors/BrowserLogRecordProcessor/index.d.cts +0 -2
- package/dist/processors/BrowserLogRecordProcessor/index.d.ts +0 -2
- package/dist/processors/BrowserLogRecordProcessor/index.js +0 -2
- package/dist/processors/BrowserSpanProcessor/index.cjs +0 -3
- package/dist/processors/BrowserSpanProcessor/index.d.cts +0 -2
- package/dist/processors/BrowserSpanProcessor/index.d.ts +0 -2
- package/dist/processors/BrowserSpanProcessor/index.js +0 -2
- package/dist/processors/LogRecordScrubProcessor/index.cjs +0 -3
- package/dist/processors/LogRecordScrubProcessor/index.d.cts +0 -2
- package/dist/processors/LogRecordScrubProcessor/index.d.ts +0 -2
- package/dist/processors/LogRecordScrubProcessor/index.js +0 -2
- package/dist/processors/MXLLogRecordProcessor/index.cjs +0 -3
- package/dist/processors/MXLLogRecordProcessor/index.d.cts +0 -2
- package/dist/processors/MXLLogRecordProcessor/index.d.ts +0 -2
- package/dist/processors/MXLLogRecordProcessor/index.js +0 -2
- package/dist/processors/MXLNetworkSpanProcessor/index.cjs +0 -3
- package/dist/processors/MXLNetworkSpanProcessor/index.d.cts +0 -2
- package/dist/processors/MXLNetworkSpanProcessor/index.d.ts +0 -2
- package/dist/processors/MXLNetworkSpanProcessor/index.js +0 -2
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.cjs +0 -3
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.d.cts +0 -3
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.d.ts +0 -3
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/index.js +0 -2
- package/dist/processors/PageLogRecordProcessor/index.cjs +0 -3
- package/dist/processors/PageLogRecordProcessor/index.d.cts +0 -2
- package/dist/processors/PageLogRecordProcessor/index.d.ts +0 -2
- package/dist/processors/PageLogRecordProcessor/index.js +0 -2
- package/dist/processors/PageSpanProcessor/index.cjs +0 -3
- package/dist/processors/PageSpanProcessor/index.d.cts +0 -2
- package/dist/processors/PageSpanProcessor/index.d.ts +0 -2
- package/dist/processors/PageSpanProcessor/index.js +0 -2
- package/dist/processors/SpanScrubProcessor/index.cjs +0 -3
- package/dist/processors/SpanScrubProcessor/index.d.cts +0 -2
- package/dist/processors/SpanScrubProcessor/index.d.ts +0 -2
- package/dist/processors/SpanScrubProcessor/index.js +0 -2
- package/dist/processors/UserLogRecordProcessor/index.cjs +0 -3
- package/dist/processors/UserLogRecordProcessor/index.d.cts +0 -2
- package/dist/processors/UserLogRecordProcessor/index.d.ts +0 -2
- package/dist/processors/UserLogRecordProcessor/index.js +0 -2
- package/dist/processors/UserSessionLogRecordProcessor/index.cjs +0 -3
- package/dist/processors/UserSessionLogRecordProcessor/index.d.cts +0 -3
- package/dist/processors/UserSessionLogRecordProcessor/index.d.ts +0 -3
- package/dist/processors/UserSessionLogRecordProcessor/index.js +0 -2
- package/dist/processors/UserSpanProcessor/index.cjs +0 -3
- package/dist/processors/UserSpanProcessor/index.d.cts +0 -2
- package/dist/processors/UserSpanProcessor/index.d.ts +0 -2
- package/dist/processors/UserSpanProcessor/index.js +0 -2
- package/dist/processors/index.cjs +0 -25
- package/dist/processors/index.d.cts +0 -13
- package/dist/processors/index.d.ts +0 -13
- package/dist/processors/index.js +0 -13
- package/dist/propagators/MXLW3CTraceContextPropagator/index.cjs +0 -3
- package/dist/propagators/MXLW3CTraceContextPropagator/index.d.cts +0 -2
- package/dist/propagators/MXLW3CTraceContextPropagator/index.d.ts +0 -2
- package/dist/propagators/MXLW3CTraceContextPropagator/index.js +0 -2
- package/dist/propagators/index.cjs +0 -3
- package/dist/propagators/index.d.cts +0 -2
- package/dist/propagators/index.d.ts +0 -2
- package/dist/propagators/index.js +0 -2
- package/dist/resources/constants/index.cjs +0 -15
- package/dist/resources/constants/index.cjs.map +0 -1
- package/dist/resources/constants/index.d.cts +0 -9
- package/dist/resources/constants/index.d.cts.map +0 -1
- package/dist/resources/constants/index.d.ts +0 -9
- package/dist/resources/constants/index.d.ts.map +0 -1
- package/dist/resources/constants/index.js +0 -10
- package/dist/resources/constants/index.js.map +0 -1
- package/dist/resources/index.cjs +0 -10
- package/dist/resources/index.d.cts +0 -4
- package/dist/resources/index.d.ts +0 -4
- package/dist/resources/index.js +0 -4
- package/dist/sdk/index.cjs +0 -3
- package/dist/sdk/index.d.cts +0 -4
- package/dist/sdk/index.d.ts +0 -4
- package/dist/sdk/index.js +0 -2
- package/dist/transport/FetchTransport/index.cjs +0 -3
- package/dist/transport/FetchTransport/index.d.cts +0 -2
- package/dist/transport/FetchTransport/index.d.ts +0 -2
- package/dist/transport/FetchTransport/index.js +0 -2
- package/dist/transport/RetryingTransport/index.cjs +0 -3
- package/dist/transport/RetryingTransport/index.d.cts +0 -2
- package/dist/transport/RetryingTransport/index.d.ts +0 -2
- package/dist/transport/RetryingTransport/index.js +0 -2
- package/dist/transport/index.cjs +0 -5
- package/dist/transport/index.d.cts +0 -3
- package/dist/transport/index.d.ts +0 -3
- package/dist/transport/index.js +0 -3
- package/dist/utils/NamespacedStorage/index.cjs +0 -3
- package/dist/utils/NamespacedStorage/index.d.cts +0 -2
- package/dist/utils/NamespacedStorage/index.d.ts +0 -2
- package/dist/utils/NamespacedStorage/index.js +0 -2
- package/dist/utils/PerformanceManager/index.cjs +0 -3
- package/dist/utils/PerformanceManager/index.d.cts +0 -3
- package/dist/utils/PerformanceManager/index.d.ts +0 -3
- package/dist/utils/PerformanceManager/index.js +0 -2
- package/dist/utils/bulkAddEventListener/index.cjs +0 -3
- package/dist/utils/bulkAddEventListener/index.d.cts +0 -2
- package/dist/utils/bulkAddEventListener/index.d.ts +0 -2
- package/dist/utils/bulkAddEventListener/index.js +0 -2
- package/dist/utils/bulkRemoveEventListener/index.cjs +0 -3
- package/dist/utils/bulkRemoveEventListener/index.d.cts +0 -2
- package/dist/utils/bulkRemoveEventListener/index.d.ts +0 -2
- package/dist/utils/bulkRemoveEventListener/index.js +0 -2
- package/dist/utils/createSafeProxy/index.cjs +0 -3
- package/dist/utils/createSafeProxy/index.d.cts +0 -2
- package/dist/utils/createSafeProxy/index.d.ts +0 -2
- package/dist/utils/createSafeProxy/index.js +0 -2
- package/dist/utils/index.cjs +0 -32
- package/dist/utils/index.d.cts +0 -18
- package/dist/utils/index.d.ts +0 -18
- package/dist/utils/index.js +0 -16
- package/dist/utils/performanceObserver/index.cjs +0 -4
- package/dist/utils/performanceObserver/index.d.cts +0 -2
- package/dist/utils/performanceObserver/index.d.ts +0 -2
- package/dist/utils/performanceObserver/index.js +0 -2
- package/dist/utils/timeout/index.d.cts +0 -2
- package/dist/utils/timeout/index.d.ts +0 -2
- /package/dist/{utils/timeout/index.cjs → instrumentations/replay/rrwebLoader/types.cjs} +0 -0
- /package/dist/{utils/timeout/index.js → instrumentations/replay/rrwebLoader/types.js} +0 -0
|
@@ -1,533 +0,0 @@
|
|
|
1
|
-
//#region packages/otlp-transformer/dist/index.js
|
|
2
|
-
const VERSION = "1.9.1";
|
|
3
|
-
const re = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
|
|
4
|
-
/**
|
|
5
|
-
* Create a function to test an API version to see if it is compatible with the provided ownVersion.
|
|
6
|
-
*
|
|
7
|
-
* The returned function has the following semantics:
|
|
8
|
-
* - Exact match is always compatible
|
|
9
|
-
* - Major versions must match exactly
|
|
10
|
-
* - 1.x package cannot use global 2.x package
|
|
11
|
-
* - 2.x package cannot use global 1.x package
|
|
12
|
-
* - The minor version of the API module requesting access to the global API must be less than or equal to the minor version of this API
|
|
13
|
-
* - 1.3 package may use 1.4 global because the later global contains all functions 1.3 expects
|
|
14
|
-
* - 1.4 package may NOT use 1.3 global because it may try to call functions which don't exist on 1.3
|
|
15
|
-
* - If the major version is 0, the minor version is treated as the major and the patch is treated as the minor
|
|
16
|
-
* - Patch and build tag differences are not considered at this time
|
|
17
|
-
*
|
|
18
|
-
* @param ownVersion version which should be checked against
|
|
19
|
-
*/
|
|
20
|
-
function _makeCompatibilityCheck(ownVersion) {
|
|
21
|
-
const acceptedVersions = new Set([ownVersion]);
|
|
22
|
-
const rejectedVersions = /* @__PURE__ */ new Set();
|
|
23
|
-
const myVersionMatch = ownVersion.match(re);
|
|
24
|
-
if (!myVersionMatch) return () => false;
|
|
25
|
-
const ownVersionParsed = {
|
|
26
|
-
major: +myVersionMatch[1],
|
|
27
|
-
minor: +myVersionMatch[2],
|
|
28
|
-
patch: +myVersionMatch[3],
|
|
29
|
-
prerelease: myVersionMatch[4]
|
|
30
|
-
};
|
|
31
|
-
if (ownVersionParsed.prerelease != null) return function isExactmatch(globalVersion) {
|
|
32
|
-
return globalVersion === ownVersion;
|
|
33
|
-
};
|
|
34
|
-
function _reject(v) {
|
|
35
|
-
rejectedVersions.add(v);
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
function _accept(v) {
|
|
39
|
-
acceptedVersions.add(v);
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
return function isCompatible(globalVersion) {
|
|
43
|
-
if (acceptedVersions.has(globalVersion)) return true;
|
|
44
|
-
if (rejectedVersions.has(globalVersion)) return false;
|
|
45
|
-
const globalVersionMatch = globalVersion.match(re);
|
|
46
|
-
if (!globalVersionMatch) return _reject(globalVersion);
|
|
47
|
-
const globalVersionParsed = {
|
|
48
|
-
major: +globalVersionMatch[1],
|
|
49
|
-
minor: +globalVersionMatch[2],
|
|
50
|
-
patch: +globalVersionMatch[3],
|
|
51
|
-
prerelease: globalVersionMatch[4]
|
|
52
|
-
};
|
|
53
|
-
if (globalVersionParsed.prerelease != null) return _reject(globalVersion);
|
|
54
|
-
if (ownVersionParsed.major !== globalVersionParsed.major) return _reject(globalVersion);
|
|
55
|
-
if (ownVersionParsed.major === 0) {
|
|
56
|
-
if (ownVersionParsed.minor === globalVersionParsed.minor && ownVersionParsed.patch <= globalVersionParsed.patch) return _accept(globalVersion);
|
|
57
|
-
return _reject(globalVersion);
|
|
58
|
-
}
|
|
59
|
-
if (ownVersionParsed.minor <= globalVersionParsed.minor) return _accept(globalVersion);
|
|
60
|
-
return _reject(globalVersion);
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Test an API version to see if it is compatible with this API.
|
|
65
|
-
*
|
|
66
|
-
* - Exact match is always compatible
|
|
67
|
-
* - Major versions must match exactly
|
|
68
|
-
* - 1.x package cannot use global 2.x package
|
|
69
|
-
* - 2.x package cannot use global 1.x package
|
|
70
|
-
* - The minor version of the API module requesting access to the global API must be less than or equal to the minor version of this API
|
|
71
|
-
* - 1.3 package may use 1.4 global because the later global contains all functions 1.3 expects
|
|
72
|
-
* - 1.4 package may NOT use 1.3 global because it may try to call functions which don't exist on 1.3
|
|
73
|
-
* - If the major version is 0, the minor version is treated as the major and the patch is treated as the minor
|
|
74
|
-
* - Patch and build tag differences are not considered at this time
|
|
75
|
-
*
|
|
76
|
-
* @param version version of the API requesting an instance of the global API
|
|
77
|
-
*/
|
|
78
|
-
const isCompatible = _makeCompatibilityCheck(VERSION);
|
|
79
|
-
const major = VERSION.split(".")[0];
|
|
80
|
-
const GLOBAL_OPENTELEMETRY_API_KEY = Symbol.for(`opentelemetry.js.api.${major}`);
|
|
81
|
-
const _global = typeof globalThis === "object" ? globalThis : typeof self === "object" ? self : typeof window === "object" ? window : typeof global === "object" ? global : {};
|
|
82
|
-
function registerGlobal(type, instance, diag, allowOverride = false) {
|
|
83
|
-
var _a;
|
|
84
|
-
const api = _global[GLOBAL_OPENTELEMETRY_API_KEY] = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) !== null && _a !== void 0 ? _a : { version: VERSION };
|
|
85
|
-
if (!allowOverride && api[type]) {
|
|
86
|
-
const err = /* @__PURE__ */ new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${type}`);
|
|
87
|
-
diag.error(err.stack || err.message);
|
|
88
|
-
return false;
|
|
89
|
-
}
|
|
90
|
-
if (api.version !== "1.9.1") {
|
|
91
|
-
const err = /* @__PURE__ */ new Error(`@opentelemetry/api: Registration of version v${api.version} for ${type} does not match previously registered API v${VERSION}`);
|
|
92
|
-
diag.error(err.stack || err.message);
|
|
93
|
-
return false;
|
|
94
|
-
}
|
|
95
|
-
api[type] = instance;
|
|
96
|
-
diag.debug(`@opentelemetry/api: Registered a global for ${type} v${VERSION}.`);
|
|
97
|
-
return true;
|
|
98
|
-
}
|
|
99
|
-
function getGlobal(type) {
|
|
100
|
-
var _a, _b;
|
|
101
|
-
const globalVersion = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) === null || _a === void 0 ? void 0 : _a.version;
|
|
102
|
-
if (!globalVersion || !isCompatible(globalVersion)) return;
|
|
103
|
-
return (_b = _global[GLOBAL_OPENTELEMETRY_API_KEY]) === null || _b === void 0 ? void 0 : _b[type];
|
|
104
|
-
}
|
|
105
|
-
function unregisterGlobal(type, diag) {
|
|
106
|
-
diag.debug(`@opentelemetry/api: Unregistering a global for ${type} v${VERSION}.`);
|
|
107
|
-
const api = _global[GLOBAL_OPENTELEMETRY_API_KEY];
|
|
108
|
-
if (api) delete api[type];
|
|
109
|
-
}
|
|
110
|
-
/**
|
|
111
|
-
* Component Logger which is meant to be used as part of any component which
|
|
112
|
-
* will add automatically additional namespace in front of the log message.
|
|
113
|
-
* It will then forward all message to global diag logger
|
|
114
|
-
* @example
|
|
115
|
-
* const cLogger = diag.createComponentLogger({ namespace: '@opentelemetry/instrumentation-http' });
|
|
116
|
-
* cLogger.debug('test');
|
|
117
|
-
* // @opentelemetry/instrumentation-http test
|
|
118
|
-
*/
|
|
119
|
-
var DiagComponentLogger = class {
|
|
120
|
-
constructor(props) {
|
|
121
|
-
this._namespace = props.namespace || "DiagComponentLogger";
|
|
122
|
-
}
|
|
123
|
-
debug(...args) {
|
|
124
|
-
return logProxy("debug", this._namespace, args);
|
|
125
|
-
}
|
|
126
|
-
error(...args) {
|
|
127
|
-
return logProxy("error", this._namespace, args);
|
|
128
|
-
}
|
|
129
|
-
info(...args) {
|
|
130
|
-
return logProxy("info", this._namespace, args);
|
|
131
|
-
}
|
|
132
|
-
warn(...args) {
|
|
133
|
-
return logProxy("warn", this._namespace, args);
|
|
134
|
-
}
|
|
135
|
-
verbose(...args) {
|
|
136
|
-
return logProxy("verbose", this._namespace, args);
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
function logProxy(funcName, namespace, args) {
|
|
140
|
-
const logger = getGlobal("diag");
|
|
141
|
-
if (!logger) return;
|
|
142
|
-
return logger[funcName](namespace, ...args);
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Defines the available internal logging levels for the diagnostic logger, the numeric values
|
|
146
|
-
* of the levels are defined to match the original values from the initial LogLevel to avoid
|
|
147
|
-
* compatibility/migration issues for any implementation that assume the numeric ordering.
|
|
148
|
-
*/
|
|
149
|
-
var DiagLogLevel;
|
|
150
|
-
(function(DiagLogLevel) {
|
|
151
|
-
/** Diagnostic Logging level setting to disable all logging (except and forced logs) */
|
|
152
|
-
DiagLogLevel[DiagLogLevel["NONE"] = 0] = "NONE";
|
|
153
|
-
/** Identifies an error scenario */
|
|
154
|
-
DiagLogLevel[DiagLogLevel["ERROR"] = 30] = "ERROR";
|
|
155
|
-
/** Identifies a warning scenario */
|
|
156
|
-
DiagLogLevel[DiagLogLevel["WARN"] = 50] = "WARN";
|
|
157
|
-
/** General informational log message */
|
|
158
|
-
DiagLogLevel[DiagLogLevel["INFO"] = 60] = "INFO";
|
|
159
|
-
/** General debug log message */
|
|
160
|
-
DiagLogLevel[DiagLogLevel["DEBUG"] = 70] = "DEBUG";
|
|
161
|
-
/**
|
|
162
|
-
* Detailed trace level logging should only be used for development, should only be set
|
|
163
|
-
* in a development environment.
|
|
164
|
-
*/
|
|
165
|
-
DiagLogLevel[DiagLogLevel["VERBOSE"] = 80] = "VERBOSE";
|
|
166
|
-
/** Used to set the logging level to include all logging */
|
|
167
|
-
DiagLogLevel[DiagLogLevel["ALL"] = 9999] = "ALL";
|
|
168
|
-
})(DiagLogLevel || (DiagLogLevel = {}));
|
|
169
|
-
function createLogLevelDiagLogger(maxLevel, logger) {
|
|
170
|
-
if (maxLevel < DiagLogLevel.NONE) maxLevel = DiagLogLevel.NONE;
|
|
171
|
-
else if (maxLevel > DiagLogLevel.ALL) maxLevel = DiagLogLevel.ALL;
|
|
172
|
-
logger = logger || {};
|
|
173
|
-
function _filterFunc(funcName, theLevel) {
|
|
174
|
-
const theFunc = logger[funcName];
|
|
175
|
-
if (typeof theFunc === "function" && maxLevel >= theLevel) return theFunc.bind(logger);
|
|
176
|
-
return function() {};
|
|
177
|
-
}
|
|
178
|
-
return {
|
|
179
|
-
error: _filterFunc("error", DiagLogLevel.ERROR),
|
|
180
|
-
warn: _filterFunc("warn", DiagLogLevel.WARN),
|
|
181
|
-
info: _filterFunc("info", DiagLogLevel.INFO),
|
|
182
|
-
debug: _filterFunc("debug", DiagLogLevel.DEBUG),
|
|
183
|
-
verbose: _filterFunc("verbose", DiagLogLevel.VERBOSE)
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
const API_NAME = "diag";
|
|
187
|
-
/**
|
|
188
|
-
* Entrypoint for Diag API.
|
|
189
|
-
* Defines Diagnostic handler used for internal diagnostic logging operations.
|
|
190
|
-
* The default provides a Noop DiagLogger implementation which may be changed via the
|
|
191
|
-
* diag.setLogger(logger: DiagLogger) function.
|
|
192
|
-
*
|
|
193
|
-
* @since 1.0.0
|
|
194
|
-
*/
|
|
195
|
-
const diag = class DiagAPI {
|
|
196
|
-
/** Get the singleton instance of the DiagAPI API */
|
|
197
|
-
static instance() {
|
|
198
|
-
if (!this._instance) this._instance = new DiagAPI();
|
|
199
|
-
return this._instance;
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* Private internal constructor
|
|
203
|
-
* @private
|
|
204
|
-
*/
|
|
205
|
-
constructor() {
|
|
206
|
-
function _logProxy(funcName) {
|
|
207
|
-
return function(...args) {
|
|
208
|
-
const logger = getGlobal("diag");
|
|
209
|
-
if (!logger) return;
|
|
210
|
-
return logger[funcName](...args);
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
const self = this;
|
|
214
|
-
const setLogger = (logger, optionsOrLogLevel = { logLevel: DiagLogLevel.INFO }) => {
|
|
215
|
-
var _a, _b, _c;
|
|
216
|
-
if (logger === self) {
|
|
217
|
-
const err = /* @__PURE__ */ new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");
|
|
218
|
-
self.error((_a = err.stack) !== null && _a !== void 0 ? _a : err.message);
|
|
219
|
-
return false;
|
|
220
|
-
}
|
|
221
|
-
if (typeof optionsOrLogLevel === "number") optionsOrLogLevel = { logLevel: optionsOrLogLevel };
|
|
222
|
-
const oldLogger = getGlobal("diag");
|
|
223
|
-
const newLogger = createLogLevelDiagLogger((_b = optionsOrLogLevel.logLevel) !== null && _b !== void 0 ? _b : DiagLogLevel.INFO, logger);
|
|
224
|
-
if (oldLogger && !optionsOrLogLevel.suppressOverrideMessage) {
|
|
225
|
-
const stack = (_c = (/* @__PURE__ */ new Error()).stack) !== null && _c !== void 0 ? _c : "<failed to generate stacktrace>";
|
|
226
|
-
oldLogger.warn(`Current logger will be overwritten from ${stack}`);
|
|
227
|
-
newLogger.warn(`Current logger will overwrite one already registered from ${stack}`);
|
|
228
|
-
}
|
|
229
|
-
return registerGlobal("diag", newLogger, self, true);
|
|
230
|
-
};
|
|
231
|
-
self.setLogger = setLogger;
|
|
232
|
-
self.disable = () => {
|
|
233
|
-
unregisterGlobal(API_NAME, self);
|
|
234
|
-
};
|
|
235
|
-
self.createComponentLogger = (options) => {
|
|
236
|
-
return new DiagComponentLogger(options);
|
|
237
|
-
};
|
|
238
|
-
self.verbose = _logProxy("verbose");
|
|
239
|
-
self.debug = _logProxy("debug");
|
|
240
|
-
self.info = _logProxy("info");
|
|
241
|
-
self.warn = _logProxy("warn");
|
|
242
|
-
self.error = _logProxy("error");
|
|
243
|
-
}
|
|
244
|
-
}.instance();
|
|
245
|
-
const SECOND_TO_NANOSECONDS = Math.pow(10, 9);
|
|
246
|
-
/**
|
|
247
|
-
* Convert hrTime to nanoseconds.
|
|
248
|
-
* @param time
|
|
249
|
-
*/
|
|
250
|
-
function hrTimeToNanoseconds(time) {
|
|
251
|
-
return time[0] * SECOND_TO_NANOSECONDS + time[1];
|
|
252
|
-
}
|
|
253
|
-
function createResource(resource, encoder) {
|
|
254
|
-
const result = {
|
|
255
|
-
attributes: toAttributes(resource.attributes, encoder),
|
|
256
|
-
droppedAttributesCount: 0
|
|
257
|
-
};
|
|
258
|
-
const schemaUrl = resource.schemaUrl;
|
|
259
|
-
if (schemaUrl && schemaUrl !== "") result.schemaUrl = schemaUrl;
|
|
260
|
-
return result;
|
|
261
|
-
}
|
|
262
|
-
function createInstrumentationScope(scope) {
|
|
263
|
-
return {
|
|
264
|
-
name: scope.name,
|
|
265
|
-
version: scope.version
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
function toAttributes(attributes, encoder) {
|
|
269
|
-
return Object.keys(attributes).map((key) => toKeyValue(key, attributes[key], encoder));
|
|
270
|
-
}
|
|
271
|
-
function toKeyValue(key, value, encoder) {
|
|
272
|
-
return {
|
|
273
|
-
key,
|
|
274
|
-
value: toAnyValue(value, encoder)
|
|
275
|
-
};
|
|
276
|
-
}
|
|
277
|
-
function toAnyValue(value, encoder) {
|
|
278
|
-
const t = typeof value;
|
|
279
|
-
if (t === "string") return { stringValue: value };
|
|
280
|
-
if (t === "number") {
|
|
281
|
-
if (!Number.isInteger(value)) return { doubleValue: value };
|
|
282
|
-
return { intValue: value };
|
|
283
|
-
}
|
|
284
|
-
if (t === "boolean") return { boolValue: value };
|
|
285
|
-
if (value instanceof Uint8Array) return { bytesValue: encoder.encodeUint8Array(value) };
|
|
286
|
-
if (Array.isArray(value)) {
|
|
287
|
-
const values = new Array(value.length);
|
|
288
|
-
for (let i = 0; i < value.length; i++) values[i] = toAnyValue(value[i], encoder);
|
|
289
|
-
return { arrayValue: { values } };
|
|
290
|
-
}
|
|
291
|
-
if (t === "object" && value != null) {
|
|
292
|
-
const keys = Object.keys(value);
|
|
293
|
-
const values = new Array(keys.length);
|
|
294
|
-
for (let i = 0; i < keys.length; i++) values[i] = {
|
|
295
|
-
key: keys[i],
|
|
296
|
-
value: toAnyValue(value[keys[i]], encoder)
|
|
297
|
-
};
|
|
298
|
-
return { kvlistValue: { values } };
|
|
299
|
-
}
|
|
300
|
-
return {};
|
|
301
|
-
}
|
|
302
|
-
function createExportLogsServiceRequest(logRecords, encoder) {
|
|
303
|
-
return { resourceLogs: logRecordsToResourceLogs(logRecords, encoder) };
|
|
304
|
-
}
|
|
305
|
-
function createResourceMap$1(logRecords) {
|
|
306
|
-
const resourceMap = /* @__PURE__ */ new Map();
|
|
307
|
-
for (const record of logRecords) {
|
|
308
|
-
const { resource, instrumentationScope: { name, version = "", schemaUrl = "" } } = record;
|
|
309
|
-
let ismMap = resourceMap.get(resource);
|
|
310
|
-
if (!ismMap) {
|
|
311
|
-
ismMap = /* @__PURE__ */ new Map();
|
|
312
|
-
resourceMap.set(resource, ismMap);
|
|
313
|
-
}
|
|
314
|
-
const ismKey = `${name}@${version}:${schemaUrl}`;
|
|
315
|
-
let records = ismMap.get(ismKey);
|
|
316
|
-
if (!records) {
|
|
317
|
-
records = [];
|
|
318
|
-
ismMap.set(ismKey, records);
|
|
319
|
-
}
|
|
320
|
-
records.push(record);
|
|
321
|
-
}
|
|
322
|
-
return resourceMap;
|
|
323
|
-
}
|
|
324
|
-
function logRecordsToResourceLogs(logRecords, encoder) {
|
|
325
|
-
const resourceMap = createResourceMap$1(logRecords);
|
|
326
|
-
return Array.from(resourceMap, ([resource, ismMap]) => {
|
|
327
|
-
const processedResource = createResource(resource, encoder);
|
|
328
|
-
return {
|
|
329
|
-
resource: processedResource,
|
|
330
|
-
scopeLogs: Array.from(ismMap, ([, scopeLogs]) => {
|
|
331
|
-
return {
|
|
332
|
-
scope: createInstrumentationScope(scopeLogs[0].instrumentationScope),
|
|
333
|
-
logRecords: scopeLogs.map((log) => toLogRecord(log, encoder)),
|
|
334
|
-
schemaUrl: scopeLogs[0].instrumentationScope.schemaUrl
|
|
335
|
-
};
|
|
336
|
-
}),
|
|
337
|
-
schemaUrl: processedResource.schemaUrl
|
|
338
|
-
};
|
|
339
|
-
});
|
|
340
|
-
}
|
|
341
|
-
function toLogRecord(log, encoder) {
|
|
342
|
-
return {
|
|
343
|
-
timeUnixNano: encoder.encodeHrTime(log.hrTime),
|
|
344
|
-
observedTimeUnixNano: encoder.encodeHrTime(log.hrTimeObserved),
|
|
345
|
-
severityNumber: toSeverityNumber(log.severityNumber),
|
|
346
|
-
severityText: log.severityText,
|
|
347
|
-
body: toAnyValue(log.body, encoder),
|
|
348
|
-
eventName: log.eventName,
|
|
349
|
-
attributes: toLogAttributes(log.attributes, encoder),
|
|
350
|
-
droppedAttributesCount: log.droppedAttributesCount,
|
|
351
|
-
flags: log.spanContext?.traceFlags,
|
|
352
|
-
traceId: encoder.encodeOptionalSpanContext(log.spanContext?.traceId),
|
|
353
|
-
spanId: encoder.encodeOptionalSpanContext(log.spanContext?.spanId)
|
|
354
|
-
};
|
|
355
|
-
}
|
|
356
|
-
function toSeverityNumber(severityNumber) {
|
|
357
|
-
return severityNumber;
|
|
358
|
-
}
|
|
359
|
-
function toLogAttributes(attributes, encoder) {
|
|
360
|
-
return Object.keys(attributes).map((key) => toKeyValue(key, attributes[key], encoder));
|
|
361
|
-
}
|
|
362
|
-
function hrTimeToNanos(hrTime) {
|
|
363
|
-
const NANOSECONDS = BigInt(1e9);
|
|
364
|
-
return BigInt(Math.trunc(hrTime[0])) * NANOSECONDS + BigInt(Math.trunc(hrTime[1]));
|
|
365
|
-
}
|
|
366
|
-
function encodeAsString(hrTime) {
|
|
367
|
-
return hrTimeToNanos(hrTime).toString();
|
|
368
|
-
}
|
|
369
|
-
const encodeTimestamp = typeof BigInt !== "undefined" ? encodeAsString : hrTimeToNanoseconds;
|
|
370
|
-
function identity(value) {
|
|
371
|
-
return value;
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Encoder for JSON format.
|
|
375
|
-
* Uses string timestamps, hex for span/trace IDs, and base64 for Uint8Array.
|
|
376
|
-
*/
|
|
377
|
-
const JSON_ENCODER = {
|
|
378
|
-
encodeHrTime: encodeTimestamp,
|
|
379
|
-
encodeSpanContext: identity,
|
|
380
|
-
encodeOptionalSpanContext: identity,
|
|
381
|
-
encodeUint8Array: (bytes) => {
|
|
382
|
-
if (typeof Buffer !== "undefined") return Buffer.from(bytes).toString("base64");
|
|
383
|
-
const chars = new Array(bytes.length);
|
|
384
|
-
for (let i = 0; i < bytes.length; i++) chars[i] = String.fromCharCode(bytes[i]);
|
|
385
|
-
return btoa(chars.join(""));
|
|
386
|
-
}
|
|
387
|
-
};
|
|
388
|
-
const JsonLogsSerializer = {
|
|
389
|
-
serializeRequest: (arg) => {
|
|
390
|
-
const request = createExportLogsServiceRequest(arg, JSON_ENCODER);
|
|
391
|
-
return new TextEncoder().encode(JSON.stringify(request));
|
|
392
|
-
},
|
|
393
|
-
deserializeResponse: (arg) => {
|
|
394
|
-
if (arg.length === 0) return {};
|
|
395
|
-
const decoder = new TextDecoder();
|
|
396
|
-
try {
|
|
397
|
-
return JSON.parse(decoder.decode(arg));
|
|
398
|
-
} catch (err) {
|
|
399
|
-
diag.warn(`Failed to parse logs export response: ${err.message}. Returning empty response`);
|
|
400
|
-
return {};
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
};
|
|
404
|
-
const SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 256;
|
|
405
|
-
const SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 512;
|
|
406
|
-
/**
|
|
407
|
-
* Builds the 32-bit span flags value combining the low 8-bit W3C TraceFlags
|
|
408
|
-
* with the HAS_IS_REMOTE and IS_REMOTE bits according to the OTLP spec.
|
|
409
|
-
*/
|
|
410
|
-
function buildSpanFlagsFrom(traceFlags, isRemote) {
|
|
411
|
-
let flags = traceFlags & 255 | SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK;
|
|
412
|
-
if (isRemote) flags |= SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK;
|
|
413
|
-
return flags;
|
|
414
|
-
}
|
|
415
|
-
function sdkSpanToOtlpSpan(span, encoder) {
|
|
416
|
-
const ctx = span.spanContext();
|
|
417
|
-
const status = span.status;
|
|
418
|
-
const parentSpanId = span.parentSpanContext?.spanId ? encoder.encodeSpanContext(span.parentSpanContext?.spanId) : void 0;
|
|
419
|
-
return {
|
|
420
|
-
traceId: encoder.encodeSpanContext(ctx.traceId),
|
|
421
|
-
spanId: encoder.encodeSpanContext(ctx.spanId),
|
|
422
|
-
parentSpanId,
|
|
423
|
-
traceState: ctx.traceState?.serialize(),
|
|
424
|
-
name: span.name,
|
|
425
|
-
kind: span.kind == null ? 0 : span.kind + 1,
|
|
426
|
-
startTimeUnixNano: encoder.encodeHrTime(span.startTime),
|
|
427
|
-
endTimeUnixNano: encoder.encodeHrTime(span.endTime),
|
|
428
|
-
attributes: toAttributes(span.attributes, encoder),
|
|
429
|
-
droppedAttributesCount: span.droppedAttributesCount,
|
|
430
|
-
events: span.events.map((event) => toOtlpSpanEvent(event, encoder)),
|
|
431
|
-
droppedEventsCount: span.droppedEventsCount,
|
|
432
|
-
status: {
|
|
433
|
-
code: status.code,
|
|
434
|
-
message: status.message
|
|
435
|
-
},
|
|
436
|
-
links: span.links.map((link) => toOtlpLink(link, encoder)),
|
|
437
|
-
droppedLinksCount: span.droppedLinksCount,
|
|
438
|
-
flags: buildSpanFlagsFrom(ctx.traceFlags, span.parentSpanContext?.isRemote)
|
|
439
|
-
};
|
|
440
|
-
}
|
|
441
|
-
function toOtlpLink(link, encoder) {
|
|
442
|
-
return {
|
|
443
|
-
attributes: link.attributes ? toAttributes(link.attributes, encoder) : [],
|
|
444
|
-
spanId: encoder.encodeSpanContext(link.context.spanId),
|
|
445
|
-
traceId: encoder.encodeSpanContext(link.context.traceId),
|
|
446
|
-
traceState: link.context.traceState?.serialize(),
|
|
447
|
-
droppedAttributesCount: link.droppedAttributesCount || 0,
|
|
448
|
-
flags: buildSpanFlagsFrom(link.context.traceFlags, link.context.isRemote)
|
|
449
|
-
};
|
|
450
|
-
}
|
|
451
|
-
function toOtlpSpanEvent(timedEvent, encoder) {
|
|
452
|
-
return {
|
|
453
|
-
attributes: timedEvent.attributes ? toAttributes(timedEvent.attributes, encoder) : [],
|
|
454
|
-
name: timedEvent.name,
|
|
455
|
-
timeUnixNano: encoder.encodeHrTime(timedEvent.time),
|
|
456
|
-
droppedAttributesCount: timedEvent.droppedAttributesCount || 0
|
|
457
|
-
};
|
|
458
|
-
}
|
|
459
|
-
function createExportTraceServiceRequest(spans, encoder) {
|
|
460
|
-
return { resourceSpans: spanRecordsToResourceSpans(spans, encoder) };
|
|
461
|
-
}
|
|
462
|
-
function createResourceMap(readableSpans) {
|
|
463
|
-
const resourceMap = /* @__PURE__ */ new Map();
|
|
464
|
-
for (const record of readableSpans) {
|
|
465
|
-
let ilsMap = resourceMap.get(record.resource);
|
|
466
|
-
if (!ilsMap) {
|
|
467
|
-
ilsMap = /* @__PURE__ */ new Map();
|
|
468
|
-
resourceMap.set(record.resource, ilsMap);
|
|
469
|
-
}
|
|
470
|
-
const instrumentationScopeKey = `${record.instrumentationScope.name}@${record.instrumentationScope.version || ""}:${record.instrumentationScope.schemaUrl || ""}`;
|
|
471
|
-
let records = ilsMap.get(instrumentationScopeKey);
|
|
472
|
-
if (!records) {
|
|
473
|
-
records = [];
|
|
474
|
-
ilsMap.set(instrumentationScopeKey, records);
|
|
475
|
-
}
|
|
476
|
-
records.push(record);
|
|
477
|
-
}
|
|
478
|
-
return resourceMap;
|
|
479
|
-
}
|
|
480
|
-
function spanRecordsToResourceSpans(readableSpans, encoder) {
|
|
481
|
-
const resourceMap = createResourceMap(readableSpans);
|
|
482
|
-
const out = [];
|
|
483
|
-
const entryIterator = resourceMap.entries();
|
|
484
|
-
let entry = entryIterator.next();
|
|
485
|
-
while (!entry.done) {
|
|
486
|
-
const [resource, ilmMap] = entry.value;
|
|
487
|
-
const scopeResourceSpans = [];
|
|
488
|
-
const ilmIterator = ilmMap.values();
|
|
489
|
-
let ilmEntry = ilmIterator.next();
|
|
490
|
-
while (!ilmEntry.done) {
|
|
491
|
-
const scopeSpans = ilmEntry.value;
|
|
492
|
-
if (scopeSpans.length > 0) {
|
|
493
|
-
const spans = scopeSpans.map((readableSpan) => sdkSpanToOtlpSpan(readableSpan, encoder));
|
|
494
|
-
scopeResourceSpans.push({
|
|
495
|
-
scope: createInstrumentationScope(scopeSpans[0].instrumentationScope),
|
|
496
|
-
spans,
|
|
497
|
-
schemaUrl: scopeSpans[0].instrumentationScope.schemaUrl
|
|
498
|
-
});
|
|
499
|
-
}
|
|
500
|
-
ilmEntry = ilmIterator.next();
|
|
501
|
-
}
|
|
502
|
-
const processedResource = createResource(resource, encoder);
|
|
503
|
-
const transformedSpans = {
|
|
504
|
-
resource: processedResource,
|
|
505
|
-
scopeSpans: scopeResourceSpans,
|
|
506
|
-
schemaUrl: processedResource.schemaUrl
|
|
507
|
-
};
|
|
508
|
-
out.push(transformedSpans);
|
|
509
|
-
entry = entryIterator.next();
|
|
510
|
-
}
|
|
511
|
-
return out;
|
|
512
|
-
}
|
|
513
|
-
const JsonTraceSerializer = {
|
|
514
|
-
serializeRequest: (arg) => {
|
|
515
|
-
const request = createExportTraceServiceRequest(arg, JSON_ENCODER);
|
|
516
|
-
return new TextEncoder().encode(JSON.stringify(request));
|
|
517
|
-
},
|
|
518
|
-
deserializeResponse: (arg) => {
|
|
519
|
-
if (arg.length === 0) return {};
|
|
520
|
-
const decoder = new TextDecoder();
|
|
521
|
-
try {
|
|
522
|
-
return JSON.parse(decoder.decode(arg));
|
|
523
|
-
} catch (err) {
|
|
524
|
-
diag.warn(`Failed to parse trace export response: ${err.message}. Returning empty response`);
|
|
525
|
-
return {};
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
};
|
|
529
|
-
//#endregion
|
|
530
|
-
exports.JsonLogsSerializer = JsonLogsSerializer;
|
|
531
|
-
exports.JsonTraceSerializer = JsonTraceSerializer;
|
|
532
|
-
|
|
533
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":[],"sources":["../../../../packages/otlp-transformer/dist/index.js"],"sourcesContent":["//#region ../../../../node_modules/@opentelemetry/api/build/esm/version.js\nconst VERSION = \"1.9.1\";\n//#endregion\n//#region ../../../../node_modules/@opentelemetry/api/build/esm/internal/semver.js\nconst re = /^(\\d+)\\.(\\d+)\\.(\\d+)(-(.+))?$/;\n/**\n* Create a function to test an API version to see if it is compatible with the provided ownVersion.\n*\n* The returned function has the following semantics:\n* - Exact match is always compatible\n* - Major versions must match exactly\n* - 1.x package cannot use global 2.x package\n* - 2.x package cannot use global 1.x package\n* - The minor version of the API module requesting access to the global API must be less than or equal to the minor version of this API\n* - 1.3 package may use 1.4 global because the later global contains all functions 1.3 expects\n* - 1.4 package may NOT use 1.3 global because it may try to call functions which don't exist on 1.3\n* - If the major version is 0, the minor version is treated as the major and the patch is treated as the minor\n* - Patch and build tag differences are not considered at this time\n*\n* @param ownVersion version which should be checked against\n*/\nfunction _makeCompatibilityCheck(ownVersion) {\n\tconst acceptedVersions = new Set([ownVersion]);\n\tconst rejectedVersions = /* @__PURE__ */ new Set();\n\tconst myVersionMatch = ownVersion.match(re);\n\tif (!myVersionMatch) return () => false;\n\tconst ownVersionParsed = {\n\t\tmajor: +myVersionMatch[1],\n\t\tminor: +myVersionMatch[2],\n\t\tpatch: +myVersionMatch[3],\n\t\tprerelease: myVersionMatch[4]\n\t};\n\tif (ownVersionParsed.prerelease != null) return function isExactmatch(globalVersion) {\n\t\treturn globalVersion === ownVersion;\n\t};\n\tfunction _reject(v) {\n\t\trejectedVersions.add(v);\n\t\treturn false;\n\t}\n\tfunction _accept(v) {\n\t\tacceptedVersions.add(v);\n\t\treturn true;\n\t}\n\treturn function isCompatible(globalVersion) {\n\t\tif (acceptedVersions.has(globalVersion)) return true;\n\t\tif (rejectedVersions.has(globalVersion)) return false;\n\t\tconst globalVersionMatch = globalVersion.match(re);\n\t\tif (!globalVersionMatch) return _reject(globalVersion);\n\t\tconst globalVersionParsed = {\n\t\t\tmajor: +globalVersionMatch[1],\n\t\t\tminor: +globalVersionMatch[2],\n\t\t\tpatch: +globalVersionMatch[3],\n\t\t\tprerelease: globalVersionMatch[4]\n\t\t};\n\t\tif (globalVersionParsed.prerelease != null) return _reject(globalVersion);\n\t\tif (ownVersionParsed.major !== globalVersionParsed.major) return _reject(globalVersion);\n\t\tif (ownVersionParsed.major === 0) {\n\t\t\tif (ownVersionParsed.minor === globalVersionParsed.minor && ownVersionParsed.patch <= globalVersionParsed.patch) return _accept(globalVersion);\n\t\t\treturn _reject(globalVersion);\n\t\t}\n\t\tif (ownVersionParsed.minor <= globalVersionParsed.minor) return _accept(globalVersion);\n\t\treturn _reject(globalVersion);\n\t};\n}\n/**\n* Test an API version to see if it is compatible with this API.\n*\n* - Exact match is always compatible\n* - Major versions must match exactly\n* - 1.x package cannot use global 2.x package\n* - 2.x package cannot use global 1.x package\n* - The minor version of the API module requesting access to the global API must be less than or equal to the minor version of this API\n* - 1.3 package may use 1.4 global because the later global contains all functions 1.3 expects\n* - 1.4 package may NOT use 1.3 global because it may try to call functions which don't exist on 1.3\n* - If the major version is 0, the minor version is treated as the major and the patch is treated as the minor\n* - Patch and build tag differences are not considered at this time\n*\n* @param version version of the API requesting an instance of the global API\n*/\nconst isCompatible = _makeCompatibilityCheck(VERSION);\n//#endregion\n//#region ../../../../node_modules/@opentelemetry/api/build/esm/internal/global-utils.js\nconst major = VERSION.split(\".\")[0];\nconst GLOBAL_OPENTELEMETRY_API_KEY = Symbol.for(`opentelemetry.js.api.${major}`);\nconst _global = typeof globalThis === \"object\" ? globalThis : typeof self === \"object\" ? self : typeof window === \"object\" ? window : typeof global === \"object\" ? global : {};\nfunction registerGlobal(type, instance, diag, allowOverride = false) {\n\tvar _a;\n\tconst api = _global[GLOBAL_OPENTELEMETRY_API_KEY] = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) !== null && _a !== void 0 ? _a : { version: VERSION };\n\tif (!allowOverride && api[type]) {\n\t\tconst err = /* @__PURE__ */ new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${type}`);\n\t\tdiag.error(err.stack || err.message);\n\t\treturn false;\n\t}\n\tif (api.version !== \"1.9.1\") {\n\t\tconst err = /* @__PURE__ */ new Error(`@opentelemetry/api: Registration of version v${api.version} for ${type} does not match previously registered API v${VERSION}`);\n\t\tdiag.error(err.stack || err.message);\n\t\treturn false;\n\t}\n\tapi[type] = instance;\n\tdiag.debug(`@opentelemetry/api: Registered a global for ${type} v${VERSION}.`);\n\treturn true;\n}\nfunction getGlobal(type) {\n\tvar _a, _b;\n\tconst globalVersion = (_a = _global[GLOBAL_OPENTELEMETRY_API_KEY]) === null || _a === void 0 ? void 0 : _a.version;\n\tif (!globalVersion || !isCompatible(globalVersion)) return;\n\treturn (_b = _global[GLOBAL_OPENTELEMETRY_API_KEY]) === null || _b === void 0 ? void 0 : _b[type];\n}\nfunction unregisterGlobal(type, diag) {\n\tdiag.debug(`@opentelemetry/api: Unregistering a global for ${type} v${VERSION}.`);\n\tconst api = _global[GLOBAL_OPENTELEMETRY_API_KEY];\n\tif (api) delete api[type];\n}\n//#endregion\n//#region ../../../../node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js\n/**\n* Component Logger which is meant to be used as part of any component which\n* will add automatically additional namespace in front of the log message.\n* It will then forward all message to global diag logger\n* @example\n* const cLogger = diag.createComponentLogger({ namespace: '@opentelemetry/instrumentation-http' });\n* cLogger.debug('test');\n* // @opentelemetry/instrumentation-http test\n*/\nvar DiagComponentLogger = class {\n\tconstructor(props) {\n\t\tthis._namespace = props.namespace || \"DiagComponentLogger\";\n\t}\n\tdebug(...args) {\n\t\treturn logProxy(\"debug\", this._namespace, args);\n\t}\n\terror(...args) {\n\t\treturn logProxy(\"error\", this._namespace, args);\n\t}\n\tinfo(...args) {\n\t\treturn logProxy(\"info\", this._namespace, args);\n\t}\n\twarn(...args) {\n\t\treturn logProxy(\"warn\", this._namespace, args);\n\t}\n\tverbose(...args) {\n\t\treturn logProxy(\"verbose\", this._namespace, args);\n\t}\n};\nfunction logProxy(funcName, namespace, args) {\n\tconst logger = getGlobal(\"diag\");\n\tif (!logger) return;\n\treturn logger[funcName](namespace, ...args);\n}\n//#endregion\n//#region ../../../../node_modules/@opentelemetry/api/build/esm/diag/types.js\n/**\n* Defines the available internal logging levels for the diagnostic logger, the numeric values\n* of the levels are defined to match the original values from the initial LogLevel to avoid\n* compatibility/migration issues for any implementation that assume the numeric ordering.\n*/\nvar DiagLogLevel;\n(function(DiagLogLevel) {\n\t/** Diagnostic Logging level setting to disable all logging (except and forced logs) */\n\tDiagLogLevel[DiagLogLevel[\"NONE\"] = 0] = \"NONE\";\n\t/** Identifies an error scenario */\n\tDiagLogLevel[DiagLogLevel[\"ERROR\"] = 30] = \"ERROR\";\n\t/** Identifies a warning scenario */\n\tDiagLogLevel[DiagLogLevel[\"WARN\"] = 50] = \"WARN\";\n\t/** General informational log message */\n\tDiagLogLevel[DiagLogLevel[\"INFO\"] = 60] = \"INFO\";\n\t/** General debug log message */\n\tDiagLogLevel[DiagLogLevel[\"DEBUG\"] = 70] = \"DEBUG\";\n\t/**\n\t* Detailed trace level logging should only be used for development, should only be set\n\t* in a development environment.\n\t*/\n\tDiagLogLevel[DiagLogLevel[\"VERBOSE\"] = 80] = \"VERBOSE\";\n\t/** Used to set the logging level to include all logging */\n\tDiagLogLevel[DiagLogLevel[\"ALL\"] = 9999] = \"ALL\";\n})(DiagLogLevel || (DiagLogLevel = {}));\n//#endregion\n//#region ../../../../node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js\nfunction createLogLevelDiagLogger(maxLevel, logger) {\n\tif (maxLevel < DiagLogLevel.NONE) maxLevel = DiagLogLevel.NONE;\n\telse if (maxLevel > DiagLogLevel.ALL) maxLevel = DiagLogLevel.ALL;\n\tlogger = logger || {};\n\tfunction _filterFunc(funcName, theLevel) {\n\t\tconst theFunc = logger[funcName];\n\t\tif (typeof theFunc === \"function\" && maxLevel >= theLevel) return theFunc.bind(logger);\n\t\treturn function() {};\n\t}\n\treturn {\n\t\terror: _filterFunc(\"error\", DiagLogLevel.ERROR),\n\t\twarn: _filterFunc(\"warn\", DiagLogLevel.WARN),\n\t\tinfo: _filterFunc(\"info\", DiagLogLevel.INFO),\n\t\tdebug: _filterFunc(\"debug\", DiagLogLevel.DEBUG),\n\t\tverbose: _filterFunc(\"verbose\", DiagLogLevel.VERBOSE)\n\t};\n}\n//#endregion\n//#region ../../../../node_modules/@opentelemetry/api/build/esm/api/diag.js\nconst API_NAME = \"diag\";\n//#endregion\n//#region ../../../../node_modules/@opentelemetry/api/build/esm/diag-api.js\n/**\n* Entrypoint for Diag API.\n* Defines Diagnostic handler used for internal diagnostic logging operations.\n* The default provides a Noop DiagLogger implementation which may be changed via the\n* diag.setLogger(logger: DiagLogger) function.\n*\n* @since 1.0.0\n*/\nconst diag = class DiagAPI {\n\t/** Get the singleton instance of the DiagAPI API */\n\tstatic instance() {\n\t\tif (!this._instance) this._instance = new DiagAPI();\n\t\treturn this._instance;\n\t}\n\t/**\n\t* Private internal constructor\n\t* @private\n\t*/\n\tconstructor() {\n\t\tfunction _logProxy(funcName) {\n\t\t\treturn function(...args) {\n\t\t\t\tconst logger = getGlobal(\"diag\");\n\t\t\t\tif (!logger) return;\n\t\t\t\treturn logger[funcName](...args);\n\t\t\t};\n\t\t}\n\t\tconst self = this;\n\t\tconst setLogger = (logger, optionsOrLogLevel = { logLevel: DiagLogLevel.INFO }) => {\n\t\t\tvar _a, _b, _c;\n\t\t\tif (logger === self) {\n\t\t\t\tconst err = /* @__PURE__ */ new Error(\"Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation\");\n\t\t\t\tself.error((_a = err.stack) !== null && _a !== void 0 ? _a : err.message);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (typeof optionsOrLogLevel === \"number\") optionsOrLogLevel = { logLevel: optionsOrLogLevel };\n\t\t\tconst oldLogger = getGlobal(\"diag\");\n\t\t\tconst newLogger = createLogLevelDiagLogger((_b = optionsOrLogLevel.logLevel) !== null && _b !== void 0 ? _b : DiagLogLevel.INFO, logger);\n\t\t\tif (oldLogger && !optionsOrLogLevel.suppressOverrideMessage) {\n\t\t\t\tconst stack = (_c = (/* @__PURE__ */ new Error()).stack) !== null && _c !== void 0 ? _c : \"<failed to generate stacktrace>\";\n\t\t\t\toldLogger.warn(`Current logger will be overwritten from ${stack}`);\n\t\t\t\tnewLogger.warn(`Current logger will overwrite one already registered from ${stack}`);\n\t\t\t}\n\t\t\treturn registerGlobal(\"diag\", newLogger, self, true);\n\t\t};\n\t\tself.setLogger = setLogger;\n\t\tself.disable = () => {\n\t\t\tunregisterGlobal(API_NAME, self);\n\t\t};\n\t\tself.createComponentLogger = (options) => {\n\t\t\treturn new DiagComponentLogger(options);\n\t\t};\n\t\tself.verbose = _logProxy(\"verbose\");\n\t\tself.debug = _logProxy(\"debug\");\n\t\tself.info = _logProxy(\"info\");\n\t\tself.warn = _logProxy(\"warn\");\n\t\tself.error = _logProxy(\"error\");\n\t}\n}.instance();\nconst SECOND_TO_NANOSECONDS = Math.pow(10, 9);\n/**\n* Convert hrTime to nanoseconds.\n* @param time\n*/\nfunction hrTimeToNanoseconds(time) {\n\treturn time[0] * SECOND_TO_NANOSECONDS + time[1];\n}\n//#endregion\n//#region ../../node_modules/@opentelemetry/otlp-transformer/build/esm/common/internal.js\nfunction createResource(resource, encoder) {\n\tconst result = {\n\t\tattributes: toAttributes(resource.attributes, encoder),\n\t\tdroppedAttributesCount: 0\n\t};\n\tconst schemaUrl = resource.schemaUrl;\n\tif (schemaUrl && schemaUrl !== \"\") result.schemaUrl = schemaUrl;\n\treturn result;\n}\nfunction createInstrumentationScope(scope) {\n\treturn {\n\t\tname: scope.name,\n\t\tversion: scope.version\n\t};\n}\nfunction toAttributes(attributes, encoder) {\n\treturn Object.keys(attributes).map((key) => toKeyValue(key, attributes[key], encoder));\n}\nfunction toKeyValue(key, value, encoder) {\n\treturn {\n\t\tkey,\n\t\tvalue: toAnyValue(value, encoder)\n\t};\n}\nfunction toAnyValue(value, encoder) {\n\tconst t = typeof value;\n\tif (t === \"string\") return { stringValue: value };\n\tif (t === \"number\") {\n\t\tif (!Number.isInteger(value)) return { doubleValue: value };\n\t\treturn { intValue: value };\n\t}\n\tif (t === \"boolean\") return { boolValue: value };\n\tif (value instanceof Uint8Array) return { bytesValue: encoder.encodeUint8Array(value) };\n\tif (Array.isArray(value)) {\n\t\tconst values = new Array(value.length);\n\t\tfor (let i = 0; i < value.length; i++) values[i] = toAnyValue(value[i], encoder);\n\t\treturn { arrayValue: { values } };\n\t}\n\tif (t === \"object\" && value != null) {\n\t\tconst keys = Object.keys(value);\n\t\tconst values = new Array(keys.length);\n\t\tfor (let i = 0; i < keys.length; i++) values[i] = {\n\t\t\tkey: keys[i],\n\t\t\tvalue: toAnyValue(value[keys[i]], encoder)\n\t\t};\n\t\treturn { kvlistValue: { values } };\n\t}\n\treturn {};\n}\n//#endregion\n//#region ../../node_modules/@opentelemetry/otlp-transformer/build/esm/logs/internal.js\nfunction createExportLogsServiceRequest(logRecords, encoder) {\n\treturn { resourceLogs: logRecordsToResourceLogs(logRecords, encoder) };\n}\nfunction createResourceMap$1(logRecords) {\n\tconst resourceMap = /* @__PURE__ */ new Map();\n\tfor (const record of logRecords) {\n\t\tconst { resource, instrumentationScope: { name, version = \"\", schemaUrl = \"\" } } = record;\n\t\tlet ismMap = resourceMap.get(resource);\n\t\tif (!ismMap) {\n\t\t\tismMap = /* @__PURE__ */ new Map();\n\t\t\tresourceMap.set(resource, ismMap);\n\t\t}\n\t\tconst ismKey = `${name}@${version}:${schemaUrl}`;\n\t\tlet records = ismMap.get(ismKey);\n\t\tif (!records) {\n\t\t\trecords = [];\n\t\t\tismMap.set(ismKey, records);\n\t\t}\n\t\trecords.push(record);\n\t}\n\treturn resourceMap;\n}\nfunction logRecordsToResourceLogs(logRecords, encoder) {\n\tconst resourceMap = createResourceMap$1(logRecords);\n\treturn Array.from(resourceMap, ([resource, ismMap]) => {\n\t\tconst processedResource = createResource(resource, encoder);\n\t\treturn {\n\t\t\tresource: processedResource,\n\t\t\tscopeLogs: Array.from(ismMap, ([, scopeLogs]) => {\n\t\t\t\treturn {\n\t\t\t\t\tscope: createInstrumentationScope(scopeLogs[0].instrumentationScope),\n\t\t\t\t\tlogRecords: scopeLogs.map((log) => toLogRecord(log, encoder)),\n\t\t\t\t\tschemaUrl: scopeLogs[0].instrumentationScope.schemaUrl\n\t\t\t\t};\n\t\t\t}),\n\t\t\tschemaUrl: processedResource.schemaUrl\n\t\t};\n\t});\n}\nfunction toLogRecord(log, encoder) {\n\treturn {\n\t\ttimeUnixNano: encoder.encodeHrTime(log.hrTime),\n\t\tobservedTimeUnixNano: encoder.encodeHrTime(log.hrTimeObserved),\n\t\tseverityNumber: toSeverityNumber(log.severityNumber),\n\t\tseverityText: log.severityText,\n\t\tbody: toAnyValue(log.body, encoder),\n\t\teventName: log.eventName,\n\t\tattributes: toLogAttributes(log.attributes, encoder),\n\t\tdroppedAttributesCount: log.droppedAttributesCount,\n\t\tflags: log.spanContext?.traceFlags,\n\t\ttraceId: encoder.encodeOptionalSpanContext(log.spanContext?.traceId),\n\t\tspanId: encoder.encodeOptionalSpanContext(log.spanContext?.spanId)\n\t};\n}\nfunction toSeverityNumber(severityNumber) {\n\treturn severityNumber;\n}\nfunction toLogAttributes(attributes, encoder) {\n\treturn Object.keys(attributes).map((key) => toKeyValue(key, attributes[key], encoder));\n}\n//#endregion\n//#region ../../node_modules/@opentelemetry/otlp-transformer/build/esm/common/utils.js\nfunction hrTimeToNanos(hrTime) {\n\tconst NANOSECONDS = BigInt(1e9);\n\treturn BigInt(Math.trunc(hrTime[0])) * NANOSECONDS + BigInt(Math.trunc(hrTime[1]));\n}\nfunction encodeAsString(hrTime) {\n\treturn hrTimeToNanos(hrTime).toString();\n}\nconst encodeTimestamp = typeof BigInt !== \"undefined\" ? encodeAsString : hrTimeToNanoseconds;\nfunction identity(value) {\n\treturn value;\n}\n/**\n* Encoder for JSON format.\n* Uses string timestamps, hex for span/trace IDs, and base64 for Uint8Array.\n*/\nconst JSON_ENCODER = {\n\tencodeHrTime: encodeTimestamp,\n\tencodeSpanContext: identity,\n\tencodeOptionalSpanContext: identity,\n\tencodeUint8Array: (bytes) => {\n\t\tif (typeof Buffer !== \"undefined\") return Buffer.from(bytes).toString(\"base64\");\n\t\tconst chars = new Array(bytes.length);\n\t\tfor (let i = 0; i < bytes.length; i++) chars[i] = String.fromCharCode(bytes[i]);\n\t\treturn btoa(chars.join(\"\"));\n\t}\n};\n//#endregion\n//#region ../../node_modules/@opentelemetry/otlp-transformer/build/esm/logs/json/logs.js\nconst JsonLogsSerializer = {\n\tserializeRequest: (arg) => {\n\t\tconst request = createExportLogsServiceRequest(arg, JSON_ENCODER);\n\t\treturn new TextEncoder().encode(JSON.stringify(request));\n\t},\n\tdeserializeResponse: (arg) => {\n\t\tif (arg.length === 0) return {};\n\t\tconst decoder = new TextDecoder();\n\t\ttry {\n\t\t\treturn JSON.parse(decoder.decode(arg));\n\t\t} catch (err) {\n\t\t\tdiag.warn(`Failed to parse logs export response: ${err.message}. Returning empty response`);\n\t\t\treturn {};\n\t\t}\n\t}\n};\n//#endregion\n//#region ../../node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js\nconst SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 256;\nconst SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 512;\n/**\n* Builds the 32-bit span flags value combining the low 8-bit W3C TraceFlags\n* with the HAS_IS_REMOTE and IS_REMOTE bits according to the OTLP spec.\n*/\nfunction buildSpanFlagsFrom(traceFlags, isRemote) {\n\tlet flags = traceFlags & 255 | SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK;\n\tif (isRemote) flags |= SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK;\n\treturn flags;\n}\nfunction sdkSpanToOtlpSpan(span, encoder) {\n\tconst ctx = span.spanContext();\n\tconst status = span.status;\n\tconst parentSpanId = span.parentSpanContext?.spanId ? encoder.encodeSpanContext(span.parentSpanContext?.spanId) : void 0;\n\treturn {\n\t\ttraceId: encoder.encodeSpanContext(ctx.traceId),\n\t\tspanId: encoder.encodeSpanContext(ctx.spanId),\n\t\tparentSpanId,\n\t\ttraceState: ctx.traceState?.serialize(),\n\t\tname: span.name,\n\t\tkind: span.kind == null ? 0 : span.kind + 1,\n\t\tstartTimeUnixNano: encoder.encodeHrTime(span.startTime),\n\t\tendTimeUnixNano: encoder.encodeHrTime(span.endTime),\n\t\tattributes: toAttributes(span.attributes, encoder),\n\t\tdroppedAttributesCount: span.droppedAttributesCount,\n\t\tevents: span.events.map((event) => toOtlpSpanEvent(event, encoder)),\n\t\tdroppedEventsCount: span.droppedEventsCount,\n\t\tstatus: {\n\t\t\tcode: status.code,\n\t\t\tmessage: status.message\n\t\t},\n\t\tlinks: span.links.map((link) => toOtlpLink(link, encoder)),\n\t\tdroppedLinksCount: span.droppedLinksCount,\n\t\tflags: buildSpanFlagsFrom(ctx.traceFlags, span.parentSpanContext?.isRemote)\n\t};\n}\nfunction toOtlpLink(link, encoder) {\n\treturn {\n\t\tattributes: link.attributes ? toAttributes(link.attributes, encoder) : [],\n\t\tspanId: encoder.encodeSpanContext(link.context.spanId),\n\t\ttraceId: encoder.encodeSpanContext(link.context.traceId),\n\t\ttraceState: link.context.traceState?.serialize(),\n\t\tdroppedAttributesCount: link.droppedAttributesCount || 0,\n\t\tflags: buildSpanFlagsFrom(link.context.traceFlags, link.context.isRemote)\n\t};\n}\nfunction toOtlpSpanEvent(timedEvent, encoder) {\n\treturn {\n\t\tattributes: timedEvent.attributes ? toAttributes(timedEvent.attributes, encoder) : [],\n\t\tname: timedEvent.name,\n\t\ttimeUnixNano: encoder.encodeHrTime(timedEvent.time),\n\t\tdroppedAttributesCount: timedEvent.droppedAttributesCount || 0\n\t};\n}\nfunction createExportTraceServiceRequest(spans, encoder) {\n\treturn { resourceSpans: spanRecordsToResourceSpans(spans, encoder) };\n}\nfunction createResourceMap(readableSpans) {\n\tconst resourceMap = /* @__PURE__ */ new Map();\n\tfor (const record of readableSpans) {\n\t\tlet ilsMap = resourceMap.get(record.resource);\n\t\tif (!ilsMap) {\n\t\t\tilsMap = /* @__PURE__ */ new Map();\n\t\t\tresourceMap.set(record.resource, ilsMap);\n\t\t}\n\t\tconst instrumentationScopeKey = `${record.instrumentationScope.name}@${record.instrumentationScope.version || \"\"}:${record.instrumentationScope.schemaUrl || \"\"}`;\n\t\tlet records = ilsMap.get(instrumentationScopeKey);\n\t\tif (!records) {\n\t\t\trecords = [];\n\t\t\tilsMap.set(instrumentationScopeKey, records);\n\t\t}\n\t\trecords.push(record);\n\t}\n\treturn resourceMap;\n}\nfunction spanRecordsToResourceSpans(readableSpans, encoder) {\n\tconst resourceMap = createResourceMap(readableSpans);\n\tconst out = [];\n\tconst entryIterator = resourceMap.entries();\n\tlet entry = entryIterator.next();\n\twhile (!entry.done) {\n\t\tconst [resource, ilmMap] = entry.value;\n\t\tconst scopeResourceSpans = [];\n\t\tconst ilmIterator = ilmMap.values();\n\t\tlet ilmEntry = ilmIterator.next();\n\t\twhile (!ilmEntry.done) {\n\t\t\tconst scopeSpans = ilmEntry.value;\n\t\t\tif (scopeSpans.length > 0) {\n\t\t\t\tconst spans = scopeSpans.map((readableSpan) => sdkSpanToOtlpSpan(readableSpan, encoder));\n\t\t\t\tscopeResourceSpans.push({\n\t\t\t\t\tscope: createInstrumentationScope(scopeSpans[0].instrumentationScope),\n\t\t\t\t\tspans,\n\t\t\t\t\tschemaUrl: scopeSpans[0].instrumentationScope.schemaUrl\n\t\t\t\t});\n\t\t\t}\n\t\t\tilmEntry = ilmIterator.next();\n\t\t}\n\t\tconst processedResource = createResource(resource, encoder);\n\t\tconst transformedSpans = {\n\t\t\tresource: processedResource,\n\t\t\tscopeSpans: scopeResourceSpans,\n\t\t\tschemaUrl: processedResource.schemaUrl\n\t\t};\n\t\tout.push(transformedSpans);\n\t\tentry = entryIterator.next();\n\t}\n\treturn out;\n}\n//#endregion\n//#region ../../node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/trace.js\nconst JsonTraceSerializer = {\n\tserializeRequest: (arg) => {\n\t\tconst request = createExportTraceServiceRequest(arg, JSON_ENCODER);\n\t\treturn new TextEncoder().encode(JSON.stringify(request));\n\t},\n\tdeserializeResponse: (arg) => {\n\t\tif (arg.length === 0) return {};\n\t\tconst decoder = new TextDecoder();\n\t\ttry {\n\t\t\treturn JSON.parse(decoder.decode(arg));\n\t\t} catch (err) {\n\t\t\tdiag.warn(`Failed to parse trace export response: ${err.message}. Returning empty response`);\n\t\t\treturn {};\n\t\t}\n\t}\n};\n//#endregion\nexport { JsonLogsSerializer, JsonTraceSerializer };\n\n//# sourceMappingURL=index.js.map"],"mappings":";AACA,MAAM,UAAU;AAGhB,MAAM,KAAK;;;;;;;;;;;;;;;;;AAiBX,SAAS,wBAAwB,YAAY;CAC5C,MAAM,mBAAmB,IAAI,IAAI,CAAC,WAAW,CAAC;CAC9C,MAAM,mCAAmC,IAAI,KAAK;CAClD,MAAM,iBAAiB,WAAW,MAAM,GAAG;AAC3C,KAAI,CAAC,eAAgB,cAAa;CAClC,MAAM,mBAAmB;EACxB,OAAO,CAAC,eAAe;EACvB,OAAO,CAAC,eAAe;EACvB,OAAO,CAAC,eAAe;EACvB,YAAY,eAAe;EAC3B;AACD,KAAI,iBAAiB,cAAc,KAAM,QAAO,SAAS,aAAa,eAAe;AACpF,SAAO,kBAAkB;;CAE1B,SAAS,QAAQ,GAAG;AACnB,mBAAiB,IAAI,EAAE;AACvB,SAAO;;CAER,SAAS,QAAQ,GAAG;AACn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OAAI,WAAW,SAAS,GAAG;IAC1B,MAAM,QAAQ,WAAW,KAAK,iBAAiB,kBAAkB,cAAc,QAAQ,CAAC;AACxF,uBAAmB,KAAK;KACvB,OAAO,2BAA2B,WAAW,GAAG,qBAAqB;KACrE;KACA,WAAW,WAAW,GAAG,qBAAqB;KAC9C,CAAC;;AAEH,cAAW,YAAY,MAAM;;EAE9B,MAAM,oBAAoB,eAAe,UAAU,QAAQ;EAC3D,MAAM,mBAAmB;GACxB,UAAU;GACV,YAAY;GACZ,WAAW,kBAAkB;GAC7B;AACD,MAAI,KAAK,iBAAiB;AAC1B,UAAQ,cAAc,MAAM;;AAE7B,QAAO;;AAIR,MAAM,sBAAsB;CAC3B,mBAAmB,QAAQ;EAC1B,MAAM,UAAU,gCAAgC,KAAK,aAAa;AAClE,SAAO,IAAI,aAAa,CAAC,OAAO,KAAK,UAAU,QAAQ,CAAC;;CAEzD,sBAAsB,QAAQ;AAC7B,MAAI,IAAI,WAAW,EAAG,QAAO,EAAE;EAC/B,MAAM,UAAU,IAAI,aAAa;AACjC,MAAI;AACH,UAAO,KAAK,MAAM,QAAQ,OAAO,IAAI,CAAC;WAC9B,KAAK;AACb,QAAK,KAAK,0CAA0C,IAAI,QAAQ,4BAA4B;AAC5F,UAAO,EAAE;;;CAGX"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region packages/otlp-transformer/dist/index.d.ts
|
|
2
|
-
//#endregion
|
|
3
|
-
//#region ../../node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Serializes and deserializes the OTLP request/response to and from {@link Uint8Array}
|
|
6
|
-
*/
|
|
7
|
-
interface ISerializer<Request, Response> {
|
|
8
|
-
serializeRequest(request: Request): Uint8Array | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* Deserialize the response from the backend. The response is expected to be in the form of a
|
|
11
|
-
* {@link Uint8Array} and will be deserialized into the expected response type.
|
|
12
|
-
*
|
|
13
|
-
* @param data
|
|
14
|
-
* @throws {unknown} if the deserialization fails
|
|
15
|
-
* @returns the deserialized response
|
|
16
|
-
*/
|
|
17
|
-
deserializeResponse(data: Uint8Array): Response;
|
|
18
|
-
} //#endregion
|
|
19
|
-
//#region ../../../../node_modules/@opentelemetry/sdk-trace-base/build/src/TimedEvent.d.ts
|
|
20
|
-
/**
|
|
21
|
-
* Represents a timed event.
|
|
22
|
-
* A timed event is an event with a timestamp.
|
|
23
|
-
*/
|
|
24
|
-
//#endregion
|
|
25
|
-
export { type ISerializer };
|
|
26
|
-
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":["IExportTraceServiceResponse","IExportTracePartialSuccess","partialSuccess","rejectedSpans","errorMessage","IExportLogsServiceResponse","IExportLogsPartialSuccess","rejectedLogRecords","Attributes","AttributeValue","attributeKey","Array","HrTime","SpanAttributes","TraceState","set","key","value","unset","get","serialize","SpanContext","traceId","spanId","isRemote","traceFlags","traceState","SpanStatus","SpanStatusCode","code","message","UNSET","OK","ERROR","Link","context","attributes","droppedAttributesCount","SpanKind","INTERNAL","SERVER","CLIENT","PRODUCER","CONSUMER","MaybePromise","T","Promise","RawResourceAttribute","Resource","asyncAttributesPending","schemaUrl","waitForAsyncAttributes","merge","other","getRawAttributes","AnyValueScalar","AnyValueArray","AnyValue","AnyValueMap","Uint8Array","LogBody","LogAttributes","SeverityNumber","UNSPECIFIED","TRACE","TRACE2","TRACE3","TRACE4","DEBUG","DEBUG2","DEBUG3","DEBUG4","INFO","INFO2","INFO3","INFO4","WARN","WARN2","WARN3","WARN4","ERROR2","ERROR3","ERROR4","FATAL","FATAL2","FATAL3","FATAL4","InstrumentationScope","name","version","ReadableLogRecord","hrTime","hrTimeObserved","spanContext","severityText","severityNumber","body","eventName","resource","instrumentationScope","ISerializer","Request","Response","serializeRequest","request","deserializeResponse","data","TimedEvent","time","ReadableSpan","kind","parentSpanContext","startTime","endTime","status","links","events","duration","ended","droppedEventsCount","droppedLinksCount","JsonLogsSerializer","JsonTraceSerializer"],"sources":["../../../../packages/otlp-transformer/dist/index.d.ts"],"mappings":";;;;;;UAqYUoG,WAAAA;EACRG,gBAAAA,CAAiBC,OAAAA,EAASH,OAAAA,GAAU1C,UAAAA;;;;;;;;;EASpC8C,mBAAAA,CAAoBC,IAAAA,EAAM/C,UAAAA,GAAa2C,QAAAA;AAAAA;AAAAA"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region packages/otlp-transformer/dist/index.d.ts
|
|
2
|
-
//#endregion
|
|
3
|
-
//#region ../../node_modules/@opentelemetry/otlp-transformer/build/src/i-serializer.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* Serializes and deserializes the OTLP request/response to and from {@link Uint8Array}
|
|
6
|
-
*/
|
|
7
|
-
interface ISerializer<Request, Response> {
|
|
8
|
-
serializeRequest(request: Request): Uint8Array | undefined;
|
|
9
|
-
/**
|
|
10
|
-
* Deserialize the response from the backend. The response is expected to be in the form of a
|
|
11
|
-
* {@link Uint8Array} and will be deserialized into the expected response type.
|
|
12
|
-
*
|
|
13
|
-
* @param data
|
|
14
|
-
* @throws {unknown} if the deserialization fails
|
|
15
|
-
* @returns the deserialized response
|
|
16
|
-
*/
|
|
17
|
-
deserializeResponse(data: Uint8Array): Response;
|
|
18
|
-
} //#endregion
|
|
19
|
-
//#region ../../../../node_modules/@opentelemetry/sdk-trace-base/build/src/TimedEvent.d.ts
|
|
20
|
-
/**
|
|
21
|
-
* Represents a timed event.
|
|
22
|
-
* A timed event is an event with a timestamp.
|
|
23
|
-
*/
|
|
24
|
-
//#endregion
|
|
25
|
-
export { type ISerializer };
|
|
26
|
-
//# sourceMappingURL=index.d.ts.map
|