@safaricom-mxl/web-sdk 0.0.16 → 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/DATA_EXPORT.md +2 -3
- package/REACT.md +26 -12
- package/README.md +94 -57
- package/UPGRADING.md +29 -19
- package/dist/_virtual/_rolldown/runtime.cjs +2 -0
- package/dist/_virtual/_rolldown/runtime.js +24 -0
- package/dist/api-logs/api/LogAPI/LogAPI.cjs +3 -3
- 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 +3 -3
- 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-logs/manager/types.d.cts +4 -4
- package/dist/api-logs/manager/types.d.cts.map +1 -1
- package/dist/api-logs/manager/types.d.ts +4 -4
- package/dist/api-logs/manager/types.d.ts.map +1 -1
- package/dist/api-page/api/PageAPI/PageAPI.cjs +3 -3
- package/dist/api-page/api/PageAPI/PageAPI.cjs.map +1 -1
- package/dist/api-page/api/PageAPI/PageAPI.js +3 -3
- 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 +9 -9
- package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts +6 -7
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts +6 -7
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts.map +1 -1
- package/dist/api-sessions/api/SessionAPI/SessionAPI.js +9 -9
- package/dist/api-sessions/api/SessionAPI/SessionAPI.js.map +1 -1
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs +47 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.cjs.map +1 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts +31 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.cts.map +1 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts +31 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.d.ts.map +1 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js +46 -0
- package/dist/api-sessions/manager/NoOpUserSessionManager/NoOpUserSessionManager.js.map +1 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs +81 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.cjs.map +1 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts +35 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.cts.map +1 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts +35 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.d.ts.map +1 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js +81 -0
- package/dist/api-sessions/manager/ProxyUserSessionManager/ProxyUserSessionManager.js.map +1 -0
- package/dist/api-sessions/manager/types.d.cts +14 -23
- package/dist/api-sessions/manager/types.d.cts.map +1 -1
- package/dist/api-sessions/manager/types.d.ts +14 -23
- 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 +3 -3
- 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 +3 -3
- package/dist/api-traces/api/TraceAPI/TraceAPI.js.map +1 -1
- package/dist/api-traces/api/TraceAPI/types.d.cts +2 -2
- package/dist/api-traces/api/TraceAPI/types.d.cts.map +1 -1
- package/dist/api-traces/api/TraceAPI/types.d.ts +2 -2
- 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 +3 -3
- package/dist/api-users/api/UserAPI/UserAPI.cjs.map +1 -1
- package/dist/api-users/api/UserAPI/UserAPI.js +3 -3
- 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/common/types.d.cts +2 -0
- package/dist/common/types.d.cts.map +1 -1
- package/dist/common/types.d.ts +2 -0
- package/dist/common/types.d.ts.map +1 -1
- package/dist/constants/attributes.cjs +28 -0
- package/dist/constants/attributes.cjs.map +1 -1
- package/dist/constants/attributes.d.cts +17 -2
- package/dist/constants/attributes.d.cts.map +1 -1
- package/dist/constants/attributes.d.ts +17 -2
- package/dist/constants/attributes.d.ts.map +1 -1
- package/dist/constants/attributes.js +16 -1
- package/dist/constants/attributes.js.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs +4 -4
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts +1 -2
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts +1 -2
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts.map +1 -1
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js +2 -3
- 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/constants.cjs +1 -1
- package/dist/exporters/constants.cjs.map +1 -1
- package/dist/exporters/constants.d.cts +1 -1
- package/dist/exporters/constants.d.ts +1 -1
- package/dist/exporters/constants.js +1 -1
- package/dist/exporters/constants.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.cjs +2 -0
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs +2 -2
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs.map +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts.map +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts.map +1 -1
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js +2 -2
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs +7 -8
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts +5 -6
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts +5 -6
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts.map +1 -1
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js +7 -8
- 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 +8 -8
- 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 +8 -8
- 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 +10 -10
- 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 +10 -10
- 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/document-load/DocumentLoadInstrumentation/utils.cjs +2 -2
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs.map +1 -1
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js +2 -2
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js.map +1 -1
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.cjs +6 -6
- 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 +6 -6
- package/dist/instrumentations/element-timing/ElementTimingInstrumentation/ElementTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs +4 -4
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js +4 -4
- 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 +7 -7
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js +7 -7
- 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 +3 -3
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts +4 -4
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts +4 -4
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts.map +1 -1
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js +3 -3
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs +25 -25
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts +2 -2
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.cts.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts +2 -2
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.d.ts.map +1 -1
- package/dist/instrumentations/loaf/LoafInstrumentation/LoafInstrumentation.js +25 -25
- 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 +6 -6
- 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 +6 -6
- 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 +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts +10 -10
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts +10 -10
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts +2 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts.map +1 -1
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts +2 -2
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/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 +240 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts +51 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts +51 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js +235 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.js.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.cjs +15 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.cjs.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.cts +9 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.cts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.ts +9 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.d.ts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.js +10 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/constants.js.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/types.d.cts +17 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/types.d.ts +17 -0
- package/dist/instrumentations/replay/ReplayInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.cjs +18 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.cjs.map +1 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts +8 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.cts.map +1 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts +8 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.d.ts.map +1 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.js +17 -0
- package/dist/instrumentations/replay/createSessionRecordingControlFromReplay.js.map +1 -0
- 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/replay/utils/session-recording-utils.cjs +79 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.cjs.map +1 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.d.cts +32 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.d.cts.map +1 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.d.ts +32 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.d.ts.map +1 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.js +73 -0
- package/dist/instrumentations/replay/utils/session-recording-utils.js.map +1 -0
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs +6 -6
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.cjs.map +1 -1
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js +6 -6
- package/dist/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/session/types.d.cts +5 -5
- package/dist/instrumentations/session/types.d.cts.map +1 -1
- package/dist/instrumentations/session/types.d.ts +5 -5
- package/dist/instrumentations/session/types.d.ts.map +1 -1
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs +11 -11
- 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 +11 -11
- package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs +16 -16
- 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 +16 -16
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts +1 -3
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts.map +1 -1
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts +1 -3
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts.map +1 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs +0 -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 +0 -1
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js.map +1 -1
- package/dist/managers/MXLConfigManager/constants.cjs +2 -2
- 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 +2 -2
- package/dist/managers/MXLConfigManager/constants.js.map +1 -1
- package/dist/managers/MXLConfigManager/types.d.cts +8 -7
- package/dist/managers/MXLConfigManager/types.d.cts.map +1 -1
- package/dist/managers/MXLConfigManager/types.d.ts +8 -7
- package/dist/managers/MXLConfigManager/types.d.ts.map +1 -1
- package/dist/managers/MXLLimitManager/MXLLimitManager.cjs +20 -20
- package/dist/managers/MXLLimitManager/MXLLimitManager.cjs.map +1 -1
- package/dist/managers/MXLLimitManager/MXLLimitManager.js +20 -20
- package/dist/managers/MXLLimitManager/MXLLimitManager.js.map +1 -1
- package/dist/managers/MXLLimitManager/constants.cjs +20 -20
- package/dist/managers/MXLLimitManager/constants.cjs.map +1 -1
- package/dist/managers/MXLLimitManager/constants.js +20 -20
- package/dist/managers/MXLLimitManager/constants.js.map +1 -1
- package/dist/managers/MXLLimitManager/types.d.cts +8 -8
- package/dist/managers/MXLLimitManager/types.d.cts.map +1 -1
- package/dist/managers/MXLLimitManager/types.d.ts +8 -8
- package/dist/managers/MXLLimitManager/types.d.ts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.cjs +23 -23
- package/dist/managers/MXLLogManager/MXLLogManager.cjs.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.d.cts +2 -2
- package/dist/managers/MXLLogManager/MXLLogManager.d.cts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.d.ts +2 -2
- package/dist/managers/MXLLogManager/MXLLogManager.d.ts.map +1 -1
- package/dist/managers/MXLLogManager/MXLLogManager.js +23 -23
- package/dist/managers/MXLLogManager/MXLLogManager.js.map +1 -1
- package/dist/managers/MXLLogManager/types.d.cts +3 -3
- package/dist/managers/MXLLogManager/types.d.cts.map +1 -1
- package/dist/managers/MXLLogManager/types.d.ts +3 -3
- package/dist/managers/MXLLogManager/types.d.ts.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.cjs +1 -3
- package/dist/managers/MXLPageManager/MXLPageManager.cjs.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.d.cts.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.d.ts.map +1 -1
- package/dist/managers/MXLPageManager/MXLPageManager.js +1 -3
- 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 +0 -4
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts +0 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts +0 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js +0 -4
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.cts +1 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.cts.map +1 -1
- package/dist/managers/MXLSDKFeaturesManager/types.d.ts +1 -1
- 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 +16 -16
- package/dist/managers/MXLUserManager/MXLUserManager.cjs.map +1 -1
- package/dist/managers/MXLUserManager/MXLUserManager.js +15 -15
- 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 +574 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts +142 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts +142 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js +572 -0
- package/dist/managers/MXLUserSessionManager/MXLUserSessionManager.js.map +1 -0
- package/dist/managers/MXLUserSessionManager/constants.cjs +55 -0
- package/dist/managers/MXLUserSessionManager/constants.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/constants.d.cts +31 -0
- package/dist/managers/MXLUserSessionManager/constants.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/constants.d.ts +31 -0
- package/dist/managers/MXLUserSessionManager/constants.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/constants.js +37 -0
- package/dist/managers/MXLUserSessionManager/constants.js.map +1 -0
- package/dist/managers/MXLUserSessionManager/types.d.cts +84 -0
- package/dist/managers/MXLUserSessionManager/types.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/types.d.ts +84 -0
- package/dist/managers/MXLUserSessionManager/types.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.cjs +25 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.d.cts +40 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.d.ts +40 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.js +22 -0
- package/dist/managers/MXLUserSessionManager/utils/activity.js.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/state.cjs +78 -0
- package/dist/managers/MXLUserSessionManager/utils/state.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/state.d.cts +39 -0
- package/dist/managers/MXLUserSessionManager/utils/state.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/state.d.ts +39 -0
- package/dist/managers/MXLUserSessionManager/utils/state.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/state.js +73 -0
- package/dist/managers/MXLUserSessionManager/utils/state.js.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs +132 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.cjs.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts +33 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.cts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts +33 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.d.ts.map +1 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.js +127 -0
- package/dist/managers/MXLUserSessionManager/utils/tabTracking.js.map +1 -0
- package/dist/mxl-web-sdk.js +1 -23
- 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 +2 -2
- package/dist/processors/LogRecordScrubProcessor/types.d.cts.map +1 -1
- package/dist/processors/LogRecordScrubProcessor/types.d.ts +2 -2
- 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 +2 -2
- package/dist/processors/MXLLogRecordProcessor/types.d.cts.map +1 -1
- package/dist/processors/MXLLogRecordProcessor/types.d.ts +2 -2
- 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/MXLNetworkSpanProcessor/types.cjs.map +1 -1
- package/dist/processors/MXLNetworkSpanProcessor/types.js.map +1 -1
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs +74 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.cjs.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts +28 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.cts.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts +28 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.d.ts.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js +72 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/MXLSessionPartBatchedSpanProcessor.js.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts +15 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.cts.map +1 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts +15 -0
- package/dist/processors/MXLSessionPartBatchedSpanProcessor/types.d.ts.map +1 -0
- 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 +34 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.cjs.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts +16 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.cts.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts +16 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.d.ts.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js +32 -0
- package/dist/processors/UserSessionLogRecordProcessor/UserSessionLogRecordProcessor.js.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.cts +9 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.cts.map +1 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.ts +9 -0
- package/dist/processors/UserSessionLogRecordProcessor/types.d.ts.map +1 -0
- 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 +7 -7
- package/dist/resources/appInstanceId.cjs.map +1 -1
- package/dist/resources/appInstanceId.js +5 -5
- 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 +15 -19
- package/dist/resources/webSdkResource.cjs.map +1 -1
- package/dist/resources/webSdkResource.d.cts.map +1 -1
- package/dist/resources/webSdkResource.d.ts.map +1 -1
- package/dist/resources/webSdkResource.js +15 -19
- package/dist/resources/webSdkResource.js.map +1 -1
- package/dist/sdk/defaultAttributeScrubbers.cjs +8 -8
- 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 +8 -8
- package/dist/sdk/defaultAttributeScrubbers.js.map +1 -1
- package/dist/sdk/initSDK.cjs +142 -103
- package/dist/sdk/initSDK.cjs.map +1 -1
- package/dist/sdk/initSDK.d.cts +4 -2
- package/dist/sdk/initSDK.d.cts.map +1 -1
- package/dist/sdk/initSDK.d.ts +4 -2
- package/dist/sdk/initSDK.d.ts.map +1 -1
- package/dist/sdk/initSDK.js +142 -103
- package/dist/sdk/initSDK.js.map +1 -1
- package/dist/sdk/registry.cjs +1 -3
- package/dist/sdk/registry.cjs.map +1 -1
- package/dist/sdk/registry.d.cts.map +1 -1
- package/dist/sdk/registry.d.ts.map +1 -1
- package/dist/sdk/registry.js +1 -3
- package/dist/sdk/registry.js.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.cjs +11 -7
- package/dist/sdk/setupDefaultInstrumentations.cjs.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.d.cts +5 -2
- package/dist/sdk/setupDefaultInstrumentations.d.cts.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.d.ts +5 -2
- package/dist/sdk/setupDefaultInstrumentations.d.ts.map +1 -1
- package/dist/sdk/setupDefaultInstrumentations.js +11 -7
- package/dist/sdk/setupDefaultInstrumentations.js.map +1 -1
- package/dist/sdk/types.d.cts +72 -60
- package/dist/sdk/types.d.cts.map +1 -1
- package/dist/sdk/types.d.ts +72 -60
- package/dist/sdk/types.d.ts.map +1 -1
- package/dist/sdk/utils.cjs +3 -3
- package/dist/sdk/utils.cjs.map +1 -1
- package/dist/sdk/utils.d.cts.map +1 -1
- package/dist/sdk/utils.d.ts.map +1 -1
- package/dist/sdk/utils.js +2 -2
- package/dist/sdk/utils.js.map +1 -1
- package/dist/transport/FetchTransport/FetchTransport.cjs +13 -13
- package/dist/transport/FetchTransport/FetchTransport.cjs.map +1 -1
- package/dist/transport/FetchTransport/FetchTransport.js +13 -13
- package/dist/transport/FetchTransport/FetchTransport.js.map +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.cjs +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.cjs.map +1 -1
- package/dist/transport/RetryingTransport/RetryingTransport.js +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/NamespacedStorage/NamespacedStorage.cjs +69 -24
- package/dist/utils/NamespacedStorage/NamespacedStorage.cjs.map +1 -1
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts +27 -13
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts.map +1 -1
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts +27 -13
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts.map +1 -1
- package/dist/utils/NamespacedStorage/NamespacedStorage.js +68 -24
- package/dist/utils/NamespacedStorage/NamespacedStorage.js.map +1 -1
- package/dist/utils/PerformanceManager/OTelPerformanceManager.cjs.map +1 -1
- package/dist/utils/PerformanceManager/OTelPerformanceManager.js.map +1 -1
- package/dist/utils/clampNumber.cjs +23 -0
- package/dist/utils/clampNumber.cjs.map +1 -0
- package/dist/utils/clampNumber.d.cts +24 -0
- package/dist/utils/clampNumber.d.cts.map +1 -0
- package/dist/utils/clampNumber.d.ts +24 -0
- package/dist/utils/clampNumber.d.ts.map +1 -0
- package/dist/utils/clampNumber.js +22 -0
- package/dist/utils/clampNumber.js.map +1 -0
- package/dist/utils/createSafeProxy/createSafeProxy.cjs +2 -2
- package/dist/utils/createSafeProxy/createSafeProxy.cjs.map +1 -1
- package/dist/utils/createSafeProxy/createSafeProxy.d.cts.map +1 -1
- package/dist/utils/createSafeProxy/createSafeProxy.d.ts.map +1 -1
- package/dist/utils/createSafeProxy/createSafeProxy.js +2 -2
- package/dist/utils/createSafeProxy/createSafeProxy.js.map +1 -1
- package/dist/utils/generateWebVitalID.cjs +1 -3
- package/dist/utils/generateWebVitalID.cjs.map +1 -1
- package/dist/utils/generateWebVitalID.js +1 -3
- package/dist/utils/generateWebVitalID.js.map +1 -1
- package/dist/utils/getIncrementedCount.cjs +2 -2
- package/dist/utils/getIncrementedCount.cjs.map +1 -1
- package/dist/utils/getIncrementedCount.js +2 -2
- package/dist/utils/getIncrementedCount.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/globalConfig.cjs.map +1 -1
- package/dist/utils/globalConfig.d.cts +2 -2
- package/dist/utils/globalConfig.d.cts.map +1 -1
- package/dist/utils/globalConfig.d.ts +2 -2
- package/dist/utils/globalConfig.d.ts.map +1 -1
- package/dist/utils/globalConfig.js.map +1 -1
- package/dist/utils/isDeviceIdEnabled.cjs.map +1 -1
- package/dist/utils/isDeviceIdEnabled.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/dist/utils/performanceObserver/performanceObserver.cjs +3 -3
- package/dist/utils/performanceObserver/performanceObserver.cjs.map +1 -1
- package/dist/utils/performanceObserver/performanceObserver.js +3 -3
- package/dist/utils/performanceObserver/performanceObserver.js.map +1 -1
- package/dist/utils/throttle.cjs +13 -9
- package/dist/utils/throttle.cjs.map +1 -1
- package/dist/utils/throttle.d.cts +6 -3
- package/dist/utils/throttle.d.cts.map +1 -1
- package/dist/utils/throttle.d.ts +6 -3
- package/dist/utils/throttle.d.ts.map +1 -1
- package/dist/utils/throttle.js +13 -9
- package/dist/utils/throttle.js.map +1 -1
- package/package.json +92 -58
- 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/SessionAPI/types.d.cts +0 -8
- package/dist/api-sessions/api/SessionAPI/types.d.cts.map +0 -1
- package/dist/api-sessions/api/SessionAPI/types.d.ts +0 -8
- package/dist/api-sessions/api/SessionAPI/types.d.ts.map +0 -1
- 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/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs +0 -31
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts +0 -24
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts +0 -24
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js +0 -30
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js.map +0 -1
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.cjs +0 -3
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.cts +0 -2
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.ts +0 -2
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.js +0 -2
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs +0 -55
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs.map +0 -1
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts +0 -27
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts.map +0 -1
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts +0 -27
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts.map +0 -1
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js +0 -55
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js.map +0 -1
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.cjs +0 -3
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.cts +0 -2
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.ts +0 -2
- package/dist/api-sessions/manager/ProxySpanSessionManager/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 -34
- 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/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs +0 -27
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts +0 -15
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts +0 -15
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js +0 -25
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.cts +0 -2
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.ts +0 -2
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.js +0 -2
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts +0 -9
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts +0 -9
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/fetch/index.cjs +0 -3
- package/dist/instrumentations/fetch/index.d.cts +0 -3
- package/dist/instrumentations/fetch/index.d.ts +0 -3
- package/dist/instrumentations/fetch/index.js +0 -2
- package/dist/instrumentations/index.cjs +0 -27
- package/dist/instrumentations/index.d.cts +0 -26
- package/dist/instrumentations/index.d.ts +0 -26
- package/dist/instrumentations/index.js +0 -14
- 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/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/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs +0 -60
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts +0 -24
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts +0 -24
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js +0 -59
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs +0 -19
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts +0 -10
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts +0 -10
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js +0 -16
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts +0 -6
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts +0 -6
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs +0 -24
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts +0 -14
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts +0 -14
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js +0 -23
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts +0 -6
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts +0 -6
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs +0 -55
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts +0 -22
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts +0 -22
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js +0 -54
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs +0 -7
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts +0 -5
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts +0 -5
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js +0 -6
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts +0 -6
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts +0 -6
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs +0 -38
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts +0 -17
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts +0 -17
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js +0 -37
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.cts +0 -3
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.ts +0 -3
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.js +0 -2
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts +0 -10
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts +0 -10
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.js +0 -0
- package/dist/instrumentations/session/index.cjs +0 -9
- package/dist/instrumentations/session/index.d.cts +0 -9
- package/dist/instrumentations/session/index.d.ts +0 -9
- package/dist/instrumentations/session/index.js +0 -5
- 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/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs +0 -27
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts +0 -15
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts +0 -15
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js +0 -25
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.cjs +0 -3
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.cts +0 -2
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.ts +0 -2
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.js +0 -2
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts +0 -9
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts +0 -9
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts.map +0 -1
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.js +0 -0
- package/dist/instrumentations/xhr/index.cjs +0 -3
- package/dist/instrumentations/xhr/index.d.cts +0 -3
- package/dist/instrumentations/xhr/index.d.ts +0 -3
- package/dist/instrumentations/xhr/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/MXLSpanSessionManager/MXLSpanSessionManager.cjs +0 -350
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs.map +0 -1
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts +0 -72
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts +0 -72
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js +0 -348
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js.map +0 -1
- package/dist/managers/MXLSpanSessionManager/constants.cjs +0 -11
- package/dist/managers/MXLSpanSessionManager/constants.cjs.map +0 -1
- package/dist/managers/MXLSpanSessionManager/constants.d.cts +0 -7
- package/dist/managers/MXLSpanSessionManager/constants.d.cts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/constants.d.ts +0 -7
- package/dist/managers/MXLSpanSessionManager/constants.d.ts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/constants.js +0 -8
- package/dist/managers/MXLSpanSessionManager/constants.js.map +0 -1
- package/dist/managers/MXLSpanSessionManager/index.cjs +0 -3
- package/dist/managers/MXLSpanSessionManager/index.d.cts +0 -3
- package/dist/managers/MXLSpanSessionManager/index.d.ts +0 -3
- package/dist/managers/MXLSpanSessionManager/index.js +0 -2
- package/dist/managers/MXLSpanSessionManager/types.cjs +0 -0
- package/dist/managers/MXLSpanSessionManager/types.d.cts +0 -41
- package/dist/managers/MXLSpanSessionManager/types.d.cts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/types.d.ts +0 -41
- package/dist/managers/MXLSpanSessionManager/types.d.ts.map +0 -1
- package/dist/managers/MXLSpanSessionManager/types.js +0 -0
- 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/index.cjs +0 -22
- package/dist/managers/index.d.cts +0 -15
- package/dist/managers/index.d.ts +0 -15
- package/dist/managers/index.js +0 -11
- 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/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs +0 -28
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts +0 -16
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts +0 -16
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js +0 -26
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.cjs +0 -3
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.cts +0 -2
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.ts +0 -2
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.js +0 -2
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.cjs +0 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts +0 -9
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts +0 -9
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts.map +0 -1
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.js +0 -0
- 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/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs +0 -95
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts +0 -34
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts +0 -34
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js +0 -93
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.cjs +0 -3
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.cts +0 -2
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.ts +0 -2
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.js +0 -2
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.cjs +0 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts +0 -19
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts +0 -19
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts.map +0 -1
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.js +0 -0
- 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/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 -3
- package/dist/sdk/index.d.ts +0 -3
- package/dist/sdk/index.js +0 -2
- package/dist/sdk/setupSessionRecorder.cjs +0 -87
- package/dist/sdk/setupSessionRecorder.cjs.map +0 -1
- package/dist/sdk/setupSessionRecorder.d.cts +0 -30
- package/dist/sdk/setupSessionRecorder.d.cts.map +0 -1
- package/dist/sdk/setupSessionRecorder.d.ts +0 -30
- package/dist/sdk/setupSessionRecorder.d.ts.map +0 -1
- package/dist/sdk/setupSessionRecorder.js +0 -83
- package/dist/sdk/setupSessionRecorder.js.map +0 -1
- 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/MXLSpanStorage/MXLSpanStorage.cjs +0 -116
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs.map +0 -1
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts +0 -42
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts.map +0 -1
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts +0 -42
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts.map +0 -1
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.js +0 -114
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.js.map +0 -1
- package/dist/utils/MXLSpanStorage/index.cjs +0 -3
- package/dist/utils/MXLSpanStorage/index.d.cts +0 -2
- package/dist/utils/MXLSpanStorage/index.d.ts +0 -2
- package/dist/utils/MXLSpanStorage/index.js +0 -2
- package/dist/utils/MXLSpanStorage/types.cjs +0 -0
- package/dist/utils/MXLSpanStorage/types.d.cts +0 -2
- package/dist/utils/MXLSpanStorage/types.d.ts +0 -2
- package/dist/utils/MXLSpanStorage/types.js +0 -0
- 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.cjs +0 -0
- package/dist/utils/timeout/index.d.cts +0 -2
- package/dist/utils/timeout/index.d.ts +0 -2
- package/dist/utils/timeout/index.js +0 -0
- /package/dist/{api-sessions/api/SessionAPI → instrumentations/replay/ReplayInstrumentation}/types.cjs +0 -0
- /package/dist/{api-sessions/api/SessionAPI → instrumentations/replay/ReplayInstrumentation}/types.js +0 -0
- /package/dist/instrumentations/{fetch/MXLFetchInstrumentation → replay/rrwebLoader}/types.cjs +0 -0
- /package/dist/instrumentations/{fetch/MXLFetchInstrumentation → replay/rrwebLoader}/types.js +0 -0
- /package/dist/{instrumentations/session/SpanSessionBrowserActivityInstrumentation → managers/MXLUserSessionManager}/types.cjs +0 -0
- /package/dist/{instrumentations/session/SpanSessionBrowserActivityInstrumentation → managers/MXLUserSessionManager}/types.js +0 -0
- /package/dist/{instrumentations/session/SpanSessionOnLoadInstrumentation → processors/MXLSessionPartBatchedSpanProcessor}/types.cjs +0 -0
- /package/dist/{instrumentations/session/SpanSessionOnLoadInstrumentation → processors/MXLSessionPartBatchedSpanProcessor}/types.js +0 -0
- /package/dist/{instrumentations/session/SpanSessionTimeoutInstrumentation → processors/UserSessionLogRecordProcessor}/types.cjs +0 -0
- /package/dist/{instrumentations/session/SpanSessionTimeoutInstrumentation → processors/UserSessionLogRecordProcessor}/types.js +0 -0
package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.cjs
ADDED
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_MetricData$1 = require("../export/MetricData.cjs");
|
|
4
|
+
const require_types$1 = require("./types.cjs");
|
|
5
|
+
const require_Buckets$1 = require("./exponential-histogram/Buckets.cjs");
|
|
6
|
+
const require_util$1 = require("./exponential-histogram/util.cjs");
|
|
7
|
+
const require_getMapping$1 = require("./exponential-histogram/mapping/getMapping.cjs");
|
|
8
|
+
//#region ../../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.js
|
|
9
|
+
var require_ExponentialHistogram = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.ExponentialHistogramAggregator = exports.ExponentialHistogramAccumulation = void 0;
|
|
12
|
+
const types_1 = require_types$1.default;
|
|
13
|
+
const MetricData_1 = require_MetricData$1.default;
|
|
14
|
+
const api_1 = require("@opentelemetry/api");
|
|
15
|
+
const Buckets_1 = require_Buckets$1.default;
|
|
16
|
+
const getMapping_1 = require_getMapping$1.default;
|
|
17
|
+
const util_1 = require_util$1.default;
|
|
18
|
+
var HighLow = class HighLow {
|
|
19
|
+
static combine(h1, h2) {
|
|
20
|
+
return new HighLow(Math.min(h1.low, h2.low), Math.max(h1.high, h2.high));
|
|
21
|
+
}
|
|
22
|
+
low;
|
|
23
|
+
high;
|
|
24
|
+
constructor(low, high) {
|
|
25
|
+
this.low = low;
|
|
26
|
+
this.high = high;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const MAX_SCALE = 20;
|
|
30
|
+
const DEFAULT_MAX_SIZE = 160;
|
|
31
|
+
const MIN_MAX_SIZE = 2;
|
|
32
|
+
var ExponentialHistogramAccumulation = class ExponentialHistogramAccumulation {
|
|
33
|
+
startTime;
|
|
34
|
+
_maxSize;
|
|
35
|
+
_recordMinMax;
|
|
36
|
+
_sum;
|
|
37
|
+
_count;
|
|
38
|
+
_zeroCount;
|
|
39
|
+
_min;
|
|
40
|
+
_max;
|
|
41
|
+
_positive;
|
|
42
|
+
_negative;
|
|
43
|
+
_mapping;
|
|
44
|
+
constructor(startTime, maxSize = DEFAULT_MAX_SIZE, recordMinMax = true, sum = 0, count = 0, zeroCount = 0, min = Number.POSITIVE_INFINITY, max = Number.NEGATIVE_INFINITY, positive = new Buckets_1.Buckets(), negative = new Buckets_1.Buckets(), mapping = (0, getMapping_1.getMapping)(MAX_SCALE)) {
|
|
45
|
+
this.startTime = startTime;
|
|
46
|
+
this._maxSize = maxSize;
|
|
47
|
+
this._recordMinMax = recordMinMax;
|
|
48
|
+
this._sum = sum;
|
|
49
|
+
this._count = count;
|
|
50
|
+
this._zeroCount = zeroCount;
|
|
51
|
+
this._min = min;
|
|
52
|
+
this._max = max;
|
|
53
|
+
this._positive = positive;
|
|
54
|
+
this._negative = negative;
|
|
55
|
+
this._mapping = mapping;
|
|
56
|
+
if (this._maxSize < MIN_MAX_SIZE) {
|
|
57
|
+
api_1.diag.warn(`Exponential Histogram Max Size set to ${this._maxSize}, \
|
|
58
|
+
changing to the minimum size of: ${MIN_MAX_SIZE}`);
|
|
59
|
+
this._maxSize = MIN_MAX_SIZE;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* record updates a histogram with a single count
|
|
64
|
+
* @param {Number} value
|
|
65
|
+
*/
|
|
66
|
+
record(value) {
|
|
67
|
+
this.updateByIncrement(value, 1);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Sets the start time for this accumulation
|
|
71
|
+
* @param {HrTime} startTime
|
|
72
|
+
*/
|
|
73
|
+
setStartTime(startTime) {
|
|
74
|
+
this.startTime = startTime;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Returns the datapoint representation of this accumulation
|
|
78
|
+
* @param {HrTime} startTime
|
|
79
|
+
*/
|
|
80
|
+
toPointValue() {
|
|
81
|
+
return {
|
|
82
|
+
hasMinMax: this._recordMinMax,
|
|
83
|
+
min: this.min,
|
|
84
|
+
max: this.max,
|
|
85
|
+
sum: this.sum,
|
|
86
|
+
positive: {
|
|
87
|
+
offset: this.positive.offset,
|
|
88
|
+
bucketCounts: this.positive.counts()
|
|
89
|
+
},
|
|
90
|
+
negative: {
|
|
91
|
+
offset: this.negative.offset,
|
|
92
|
+
bucketCounts: this.negative.counts()
|
|
93
|
+
},
|
|
94
|
+
count: this.count,
|
|
95
|
+
scale: this.scale,
|
|
96
|
+
zeroCount: this.zeroCount
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @returns {Number} The sum of values recorded by this accumulation
|
|
101
|
+
*/
|
|
102
|
+
get sum() {
|
|
103
|
+
return this._sum;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @returns {Number} The minimum value recorded by this accumulation
|
|
107
|
+
*/
|
|
108
|
+
get min() {
|
|
109
|
+
return this._min;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @returns {Number} The maximum value recorded by this accumulation
|
|
113
|
+
*/
|
|
114
|
+
get max() {
|
|
115
|
+
return this._max;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @returns {Number} The count of values recorded by this accumulation
|
|
119
|
+
*/
|
|
120
|
+
get count() {
|
|
121
|
+
return this._count;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @returns {Number} The number of 0 values recorded by this accumulation
|
|
125
|
+
*/
|
|
126
|
+
get zeroCount() {
|
|
127
|
+
return this._zeroCount;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @returns {Number} The scale used by this accumulation
|
|
131
|
+
*/
|
|
132
|
+
get scale() {
|
|
133
|
+
if (this._count === this._zeroCount) return 0;
|
|
134
|
+
return this._mapping.scale;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* positive holds the positive values
|
|
138
|
+
* @returns {Buckets}
|
|
139
|
+
*/
|
|
140
|
+
get positive() {
|
|
141
|
+
return this._positive;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* negative holds the negative values by their absolute value
|
|
145
|
+
* @returns {Buckets}
|
|
146
|
+
*/
|
|
147
|
+
get negative() {
|
|
148
|
+
return this._negative;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* updateByIncr supports updating a histogram with a non-negative
|
|
152
|
+
* increment.
|
|
153
|
+
* @param value
|
|
154
|
+
* @param increment
|
|
155
|
+
*/
|
|
156
|
+
updateByIncrement(value, increment) {
|
|
157
|
+
if (Number.isNaN(value)) return;
|
|
158
|
+
if (value > this._max) this._max = value;
|
|
159
|
+
if (value < this._min) this._min = value;
|
|
160
|
+
this._count += increment;
|
|
161
|
+
if (value === 0) {
|
|
162
|
+
this._zeroCount += increment;
|
|
163
|
+
return;
|
|
164
|
+
}
|
|
165
|
+
this._sum += value * increment;
|
|
166
|
+
if (value > 0) this._updateBuckets(this._positive, value, increment);
|
|
167
|
+
else this._updateBuckets(this._negative, -value, increment);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* merge combines data from previous value into self
|
|
171
|
+
* @param {ExponentialHistogramAccumulation} previous
|
|
172
|
+
*/
|
|
173
|
+
merge(previous) {
|
|
174
|
+
if (this._count === 0) {
|
|
175
|
+
this._min = previous.min;
|
|
176
|
+
this._max = previous.max;
|
|
177
|
+
} else if (previous.count !== 0) {
|
|
178
|
+
if (previous.min < this.min) this._min = previous.min;
|
|
179
|
+
if (previous.max > this.max) this._max = previous.max;
|
|
180
|
+
}
|
|
181
|
+
this.startTime = previous.startTime;
|
|
182
|
+
this._sum += previous.sum;
|
|
183
|
+
this._count += previous.count;
|
|
184
|
+
this._zeroCount += previous.zeroCount;
|
|
185
|
+
const minScale = this._minScale(previous);
|
|
186
|
+
this._downscale(this.scale - minScale);
|
|
187
|
+
this._mergeBuckets(this.positive, previous, previous.positive, minScale);
|
|
188
|
+
this._mergeBuckets(this.negative, previous, previous.negative, minScale);
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* diff subtracts other from self
|
|
192
|
+
* @param {ExponentialHistogramAccumulation} other
|
|
193
|
+
*/
|
|
194
|
+
diff(other) {
|
|
195
|
+
this._min = Infinity;
|
|
196
|
+
this._max = -Infinity;
|
|
197
|
+
this._sum -= other.sum;
|
|
198
|
+
this._count -= other.count;
|
|
199
|
+
this._zeroCount -= other.zeroCount;
|
|
200
|
+
const minScale = this._minScale(other);
|
|
201
|
+
this._downscale(this.scale - minScale);
|
|
202
|
+
this._diffBuckets(this.positive, other, other.positive, minScale);
|
|
203
|
+
this._diffBuckets(this.negative, other, other.negative, minScale);
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* clone returns a deep copy of self
|
|
207
|
+
* @returns {ExponentialHistogramAccumulation}
|
|
208
|
+
*/
|
|
209
|
+
clone() {
|
|
210
|
+
return new ExponentialHistogramAccumulation(this.startTime, this._maxSize, this._recordMinMax, this._sum, this._count, this._zeroCount, this._min, this._max, this.positive.clone(), this.negative.clone(), this._mapping);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* _updateBuckets maps the incoming value to a bucket index for the current
|
|
214
|
+
* scale. If the bucket index is outside of the range of the backing array,
|
|
215
|
+
* it will rescale the backing array and update the mapping for the new scale.
|
|
216
|
+
*/
|
|
217
|
+
_updateBuckets(buckets, value, increment) {
|
|
218
|
+
let index = this._mapping.mapToIndex(value);
|
|
219
|
+
let rescalingNeeded = false;
|
|
220
|
+
let high = 0;
|
|
221
|
+
let low = 0;
|
|
222
|
+
if (buckets.length === 0) {
|
|
223
|
+
buckets.indexStart = index;
|
|
224
|
+
buckets.indexEnd = buckets.indexStart;
|
|
225
|
+
buckets.indexBase = buckets.indexStart;
|
|
226
|
+
} else if (index < buckets.indexStart && buckets.indexEnd - index >= this._maxSize) {
|
|
227
|
+
rescalingNeeded = true;
|
|
228
|
+
low = index;
|
|
229
|
+
high = buckets.indexEnd;
|
|
230
|
+
} else if (index > buckets.indexEnd && index - buckets.indexStart >= this._maxSize) {
|
|
231
|
+
rescalingNeeded = true;
|
|
232
|
+
low = buckets.indexStart;
|
|
233
|
+
high = index;
|
|
234
|
+
}
|
|
235
|
+
if (rescalingNeeded) {
|
|
236
|
+
const change = this._changeScale(high, low);
|
|
237
|
+
this._downscale(change);
|
|
238
|
+
index = this._mapping.mapToIndex(value);
|
|
239
|
+
}
|
|
240
|
+
this._incrementIndexBy(buckets, index, increment);
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* _incrementIndexBy increments the count of the bucket specified by `index`.
|
|
244
|
+
* If the index is outside of the range [buckets.indexStart, buckets.indexEnd]
|
|
245
|
+
* the boundaries of the backing array will be adjusted and more buckets will
|
|
246
|
+
* be added if needed.
|
|
247
|
+
*/
|
|
248
|
+
_incrementIndexBy(buckets, index, increment) {
|
|
249
|
+
if (increment === 0) return;
|
|
250
|
+
if (buckets.length === 0) buckets.indexStart = buckets.indexEnd = buckets.indexBase = index;
|
|
251
|
+
if (index < buckets.indexStart) {
|
|
252
|
+
const span = buckets.indexEnd - index;
|
|
253
|
+
if (span >= buckets.backing.length) this._grow(buckets, span + 1);
|
|
254
|
+
buckets.indexStart = index;
|
|
255
|
+
} else if (index > buckets.indexEnd) {
|
|
256
|
+
const span = index - buckets.indexStart;
|
|
257
|
+
if (span >= buckets.backing.length) this._grow(buckets, span + 1);
|
|
258
|
+
buckets.indexEnd = index;
|
|
259
|
+
}
|
|
260
|
+
let bucketIndex = index - buckets.indexBase;
|
|
261
|
+
if (bucketIndex < 0) bucketIndex += buckets.backing.length;
|
|
262
|
+
buckets.incrementBucket(bucketIndex, increment);
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* grow resizes the backing array by doubling in size up to maxSize.
|
|
266
|
+
* This extends the array with a bunch of zeros and copies the
|
|
267
|
+
* existing counts to the same position.
|
|
268
|
+
*/
|
|
269
|
+
_grow(buckets, needed) {
|
|
270
|
+
const size = buckets.backing.length;
|
|
271
|
+
const bias = buckets.indexBase - buckets.indexStart;
|
|
272
|
+
const oldPositiveLimit = size - bias;
|
|
273
|
+
let newSize = (0, util_1.nextGreaterSquare)(needed);
|
|
274
|
+
if (newSize > this._maxSize) newSize = this._maxSize;
|
|
275
|
+
const newPositiveLimit = newSize - bias;
|
|
276
|
+
buckets.backing.growTo(newSize, oldPositiveLimit, newPositiveLimit);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* _changeScale computes how much downscaling is needed by shifting the
|
|
280
|
+
* high and low values until they are separated by no more than size.
|
|
281
|
+
*/
|
|
282
|
+
_changeScale(high, low) {
|
|
283
|
+
let change = 0;
|
|
284
|
+
while (high - low >= this._maxSize) {
|
|
285
|
+
high >>= 1;
|
|
286
|
+
low >>= 1;
|
|
287
|
+
change++;
|
|
288
|
+
}
|
|
289
|
+
return change;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* _downscale subtracts `change` from the current mapping scale.
|
|
293
|
+
*/
|
|
294
|
+
_downscale(change) {
|
|
295
|
+
if (change === 0) return;
|
|
296
|
+
if (change < 0) throw new Error(`impossible change of scale: ${this.scale}`);
|
|
297
|
+
const newScale = this._mapping.scale - change;
|
|
298
|
+
this._positive.downscale(change);
|
|
299
|
+
this._negative.downscale(change);
|
|
300
|
+
this._mapping = (0, getMapping_1.getMapping)(newScale);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* _minScale is used by diff and merge to compute an ideal combined scale
|
|
304
|
+
*/
|
|
305
|
+
_minScale(other) {
|
|
306
|
+
const minScale = Math.min(this.scale, other.scale);
|
|
307
|
+
const highLowPos = HighLow.combine(this._highLowAtScale(this.positive, this.scale, minScale), this._highLowAtScale(other.positive, other.scale, minScale));
|
|
308
|
+
const highLowNeg = HighLow.combine(this._highLowAtScale(this.negative, this.scale, minScale), this._highLowAtScale(other.negative, other.scale, minScale));
|
|
309
|
+
return Math.min(minScale - this._changeScale(highLowPos.high, highLowPos.low), minScale - this._changeScale(highLowNeg.high, highLowNeg.low));
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* _highLowAtScale is used by diff and merge to compute an ideal combined scale.
|
|
313
|
+
*/
|
|
314
|
+
_highLowAtScale(buckets, currentScale, newScale) {
|
|
315
|
+
if (buckets.length === 0) return new HighLow(0, -1);
|
|
316
|
+
const shift = currentScale - newScale;
|
|
317
|
+
return new HighLow(buckets.indexStart >> shift, buckets.indexEnd >> shift);
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* _mergeBuckets translates index values from another histogram and
|
|
321
|
+
* adds the values into the corresponding buckets of this histogram.
|
|
322
|
+
*/
|
|
323
|
+
_mergeBuckets(ours, other, theirs, scale) {
|
|
324
|
+
const theirOffset = theirs.offset;
|
|
325
|
+
const theirChange = other.scale - scale;
|
|
326
|
+
for (let i = 0; i < theirs.length; i++) this._incrementIndexBy(ours, theirOffset + i >> theirChange, theirs.at(i));
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* _diffBuckets translates index values from another histogram and
|
|
330
|
+
* subtracts the values in the corresponding buckets of this histogram.
|
|
331
|
+
*/
|
|
332
|
+
_diffBuckets(ours, other, theirs, scale) {
|
|
333
|
+
const theirOffset = theirs.offset;
|
|
334
|
+
const theirChange = other.scale - scale;
|
|
335
|
+
for (let i = 0; i < theirs.length; i++) {
|
|
336
|
+
let bucketIndex = (theirOffset + i >> theirChange) - ours.indexBase;
|
|
337
|
+
if (bucketIndex < 0) bucketIndex += ours.backing.length;
|
|
338
|
+
ours.decrementBucket(bucketIndex, theirs.at(i));
|
|
339
|
+
}
|
|
340
|
+
ours.trim();
|
|
341
|
+
}
|
|
342
|
+
};
|
|
343
|
+
exports.ExponentialHistogramAccumulation = ExponentialHistogramAccumulation;
|
|
344
|
+
/**
|
|
345
|
+
* Aggregator for ExponentialHistogramAccumulations
|
|
346
|
+
*/
|
|
347
|
+
var ExponentialHistogramAggregator = class {
|
|
348
|
+
kind = types_1.AggregatorKind.EXPONENTIAL_HISTOGRAM;
|
|
349
|
+
_maxSize;
|
|
350
|
+
_recordMinMax;
|
|
351
|
+
/**
|
|
352
|
+
* @param _maxSize Maximum number of buckets for each of the positive
|
|
353
|
+
* and negative ranges, exclusive of the zero-bucket.
|
|
354
|
+
* @param _recordMinMax If set to true, min and max will be recorded.
|
|
355
|
+
* Otherwise, min and max will not be recorded.
|
|
356
|
+
*/
|
|
357
|
+
constructor(maxSize, recordMinMax) {
|
|
358
|
+
this._maxSize = maxSize;
|
|
359
|
+
this._recordMinMax = recordMinMax;
|
|
360
|
+
}
|
|
361
|
+
createAccumulation(startTime) {
|
|
362
|
+
return new ExponentialHistogramAccumulation(startTime, this._maxSize, this._recordMinMax);
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Return the result of the merge of two exponential histogram accumulations.
|
|
366
|
+
*/
|
|
367
|
+
merge(previous, delta) {
|
|
368
|
+
const result = delta.clone();
|
|
369
|
+
result.merge(previous);
|
|
370
|
+
return result;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* Returns a new DELTA aggregation by comparing two cumulative measurements.
|
|
374
|
+
*/
|
|
375
|
+
diff(previous, current) {
|
|
376
|
+
const result = current.clone();
|
|
377
|
+
result.diff(previous);
|
|
378
|
+
return result;
|
|
379
|
+
}
|
|
380
|
+
toMetricData(descriptor, aggregationTemporality, accumulationByAttributes, endTime) {
|
|
381
|
+
return {
|
|
382
|
+
descriptor,
|
|
383
|
+
aggregationTemporality,
|
|
384
|
+
dataPointType: MetricData_1.DataPointType.EXPONENTIAL_HISTOGRAM,
|
|
385
|
+
dataPoints: accumulationByAttributes.map(([attributes, accumulation]) => {
|
|
386
|
+
const pointValue = accumulation.toPointValue();
|
|
387
|
+
const allowsNegativeValues = descriptor.type === MetricData_1.InstrumentType.GAUGE || descriptor.type === MetricData_1.InstrumentType.UP_DOWN_COUNTER || descriptor.type === MetricData_1.InstrumentType.OBSERVABLE_GAUGE || descriptor.type === MetricData_1.InstrumentType.OBSERVABLE_UP_DOWN_COUNTER;
|
|
388
|
+
return {
|
|
389
|
+
attributes,
|
|
390
|
+
startTime: accumulation.startTime,
|
|
391
|
+
endTime,
|
|
392
|
+
value: {
|
|
393
|
+
min: pointValue.hasMinMax ? pointValue.min : void 0,
|
|
394
|
+
max: pointValue.hasMinMax ? pointValue.max : void 0,
|
|
395
|
+
sum: !allowsNegativeValues ? pointValue.sum : void 0,
|
|
396
|
+
positive: {
|
|
397
|
+
offset: pointValue.positive.offset,
|
|
398
|
+
bucketCounts: pointValue.positive.bucketCounts
|
|
399
|
+
},
|
|
400
|
+
negative: {
|
|
401
|
+
offset: pointValue.negative.offset,
|
|
402
|
+
bucketCounts: pointValue.negative.bucketCounts
|
|
403
|
+
},
|
|
404
|
+
count: pointValue.count,
|
|
405
|
+
scale: pointValue.scale,
|
|
406
|
+
zeroCount: pointValue.zeroCount
|
|
407
|
+
}
|
|
408
|
+
};
|
|
409
|
+
})
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
exports.ExponentialHistogramAggregator = ExponentialHistogramAggregator;
|
|
414
|
+
}));
|
|
415
|
+
//#endregion
|
|
416
|
+
Object.defineProperty(exports, "default", {
|
|
417
|
+
enumerable: true,
|
|
418
|
+
get: function() {
|
|
419
|
+
return require_ExponentialHistogram();
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
|
|
423
|
+
//# sourceMappingURL=ExponentialHistogram.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExponentialHistogram.cjs","names":[],"sources":["../../../../../../../../../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.js"],"sourcesContent":["\"use strict\";\n/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ExponentialHistogramAggregator = exports.ExponentialHistogramAccumulation = void 0;\nconst types_1 = require(\"./types\");\nconst MetricData_1 = require(\"../export/MetricData\");\nconst api_1 = require(\"@opentelemetry/api\");\nconst Buckets_1 = require(\"./exponential-histogram/Buckets\");\nconst getMapping_1 = require(\"./exponential-histogram/mapping/getMapping\");\nconst util_1 = require(\"./exponential-histogram/util\");\n// HighLow is a utility class used for computing a common scale for\n// two exponential histogram accumulations\nclass HighLow {\n static combine(h1, h2) {\n return new HighLow(Math.min(h1.low, h2.low), Math.max(h1.high, h2.high));\n }\n low;\n high;\n constructor(low, high) {\n this.low = low;\n this.high = high;\n }\n}\nconst MAX_SCALE = 20;\nconst DEFAULT_MAX_SIZE = 160;\nconst MIN_MAX_SIZE = 2;\nclass ExponentialHistogramAccumulation {\n startTime;\n _maxSize;\n _recordMinMax;\n _sum;\n _count;\n _zeroCount;\n _min;\n _max;\n _positive;\n _negative;\n _mapping;\n constructor(startTime, maxSize = DEFAULT_MAX_SIZE, recordMinMax = true, sum = 0, count = 0, zeroCount = 0, min = Number.POSITIVE_INFINITY, max = Number.NEGATIVE_INFINITY, positive = new Buckets_1.Buckets(), negative = new Buckets_1.Buckets(), mapping = (0, getMapping_1.getMapping)(MAX_SCALE)) {\n this.startTime = startTime;\n this._maxSize = maxSize;\n this._recordMinMax = recordMinMax;\n this._sum = sum;\n this._count = count;\n this._zeroCount = zeroCount;\n this._min = min;\n this._max = max;\n this._positive = positive;\n this._negative = negative;\n this._mapping = mapping;\n if (this._maxSize < MIN_MAX_SIZE) {\n api_1.diag.warn(`Exponential Histogram Max Size set to ${this._maxSize}, \\\n changing to the minimum size of: ${MIN_MAX_SIZE}`);\n this._maxSize = MIN_MAX_SIZE;\n }\n }\n /**\n * record updates a histogram with a single count\n * @param {Number} value\n */\n record(value) {\n this.updateByIncrement(value, 1);\n }\n /**\n * Sets the start time for this accumulation\n * @param {HrTime} startTime\n */\n setStartTime(startTime) {\n this.startTime = startTime;\n }\n /**\n * Returns the datapoint representation of this accumulation\n * @param {HrTime} startTime\n */\n toPointValue() {\n return {\n hasMinMax: this._recordMinMax,\n min: this.min,\n max: this.max,\n sum: this.sum,\n positive: {\n offset: this.positive.offset,\n bucketCounts: this.positive.counts(),\n },\n negative: {\n offset: this.negative.offset,\n bucketCounts: this.negative.counts(),\n },\n count: this.count,\n scale: this.scale,\n zeroCount: this.zeroCount,\n };\n }\n /**\n * @returns {Number} The sum of values recorded by this accumulation\n */\n get sum() {\n return this._sum;\n }\n /**\n * @returns {Number} The minimum value recorded by this accumulation\n */\n get min() {\n return this._min;\n }\n /**\n * @returns {Number} The maximum value recorded by this accumulation\n */\n get max() {\n return this._max;\n }\n /**\n * @returns {Number} The count of values recorded by this accumulation\n */\n get count() {\n return this._count;\n }\n /**\n * @returns {Number} The number of 0 values recorded by this accumulation\n */\n get zeroCount() {\n return this._zeroCount;\n }\n /**\n * @returns {Number} The scale used by this accumulation\n */\n get scale() {\n if (this._count === this._zeroCount) {\n // all zeros! scale doesn't matter, use zero\n return 0;\n }\n return this._mapping.scale;\n }\n /**\n * positive holds the positive values\n * @returns {Buckets}\n */\n get positive() {\n return this._positive;\n }\n /**\n * negative holds the negative values by their absolute value\n * @returns {Buckets}\n */\n get negative() {\n return this._negative;\n }\n /**\n * updateByIncr supports updating a histogram with a non-negative\n * increment.\n * @param value\n * @param increment\n */\n updateByIncrement(value, increment) {\n // NaN does not fall into any bucket, is not zero and should not be counted,\n // NaN is never greater than max nor less than min, therefore return as there's nothing for us to do.\n if (Number.isNaN(value)) {\n return;\n }\n if (value > this._max) {\n this._max = value;\n }\n if (value < this._min) {\n this._min = value;\n }\n this._count += increment;\n if (value === 0) {\n this._zeroCount += increment;\n return;\n }\n this._sum += value * increment;\n if (value > 0) {\n this._updateBuckets(this._positive, value, increment);\n }\n else {\n this._updateBuckets(this._negative, -value, increment);\n }\n }\n /**\n * merge combines data from previous value into self\n * @param {ExponentialHistogramAccumulation} previous\n */\n merge(previous) {\n if (this._count === 0) {\n this._min = previous.min;\n this._max = previous.max;\n }\n else if (previous.count !== 0) {\n if (previous.min < this.min) {\n this._min = previous.min;\n }\n if (previous.max > this.max) {\n this._max = previous.max;\n }\n }\n this.startTime = previous.startTime;\n this._sum += previous.sum;\n this._count += previous.count;\n this._zeroCount += previous.zeroCount;\n const minScale = this._minScale(previous);\n this._downscale(this.scale - minScale);\n this._mergeBuckets(this.positive, previous, previous.positive, minScale);\n this._mergeBuckets(this.negative, previous, previous.negative, minScale);\n }\n /**\n * diff subtracts other from self\n * @param {ExponentialHistogramAccumulation} other\n */\n diff(other) {\n this._min = Infinity;\n this._max = -Infinity;\n this._sum -= other.sum;\n this._count -= other.count;\n this._zeroCount -= other.zeroCount;\n const minScale = this._minScale(other);\n this._downscale(this.scale - minScale);\n this._diffBuckets(this.positive, other, other.positive, minScale);\n this._diffBuckets(this.negative, other, other.negative, minScale);\n }\n /**\n * clone returns a deep copy of self\n * @returns {ExponentialHistogramAccumulation}\n */\n clone() {\n return new ExponentialHistogramAccumulation(this.startTime, this._maxSize, this._recordMinMax, this._sum, this._count, this._zeroCount, this._min, this._max, this.positive.clone(), this.negative.clone(), this._mapping);\n }\n /**\n * _updateBuckets maps the incoming value to a bucket index for the current\n * scale. If the bucket index is outside of the range of the backing array,\n * it will rescale the backing array and update the mapping for the new scale.\n */\n _updateBuckets(buckets, value, increment) {\n let index = this._mapping.mapToIndex(value);\n // rescale the mapping if needed\n let rescalingNeeded = false;\n let high = 0;\n let low = 0;\n if (buckets.length === 0) {\n buckets.indexStart = index;\n buckets.indexEnd = buckets.indexStart;\n buckets.indexBase = buckets.indexStart;\n }\n else if (index < buckets.indexStart &&\n buckets.indexEnd - index >= this._maxSize) {\n rescalingNeeded = true;\n low = index;\n high = buckets.indexEnd;\n }\n else if (index > buckets.indexEnd &&\n index - buckets.indexStart >= this._maxSize) {\n rescalingNeeded = true;\n low = buckets.indexStart;\n high = index;\n }\n // rescale and compute index at new scale\n if (rescalingNeeded) {\n const change = this._changeScale(high, low);\n this._downscale(change);\n index = this._mapping.mapToIndex(value);\n }\n this._incrementIndexBy(buckets, index, increment);\n }\n /**\n * _incrementIndexBy increments the count of the bucket specified by `index`.\n * If the index is outside of the range [buckets.indexStart, buckets.indexEnd]\n * the boundaries of the backing array will be adjusted and more buckets will\n * be added if needed.\n */\n _incrementIndexBy(buckets, index, increment) {\n if (increment === 0) {\n // nothing to do for a zero increment, can happen during a merge operation\n return;\n }\n if (buckets.length === 0) {\n buckets.indexStart = buckets.indexEnd = buckets.indexBase = index;\n }\n if (index < buckets.indexStart) {\n const span = buckets.indexEnd - index;\n if (span >= buckets.backing.length) {\n this._grow(buckets, span + 1);\n }\n buckets.indexStart = index;\n }\n else if (index > buckets.indexEnd) {\n const span = index - buckets.indexStart;\n if (span >= buckets.backing.length) {\n this._grow(buckets, span + 1);\n }\n buckets.indexEnd = index;\n }\n let bucketIndex = index - buckets.indexBase;\n if (bucketIndex < 0) {\n bucketIndex += buckets.backing.length;\n }\n buckets.incrementBucket(bucketIndex, increment);\n }\n /**\n * grow resizes the backing array by doubling in size up to maxSize.\n * This extends the array with a bunch of zeros and copies the\n * existing counts to the same position.\n */\n _grow(buckets, needed) {\n const size = buckets.backing.length;\n const bias = buckets.indexBase - buckets.indexStart;\n const oldPositiveLimit = size - bias;\n let newSize = (0, util_1.nextGreaterSquare)(needed);\n if (newSize > this._maxSize) {\n newSize = this._maxSize;\n }\n const newPositiveLimit = newSize - bias;\n buckets.backing.growTo(newSize, oldPositiveLimit, newPositiveLimit);\n }\n /**\n * _changeScale computes how much downscaling is needed by shifting the\n * high and low values until they are separated by no more than size.\n */\n _changeScale(high, low) {\n let change = 0;\n while (high - low >= this._maxSize) {\n high >>= 1;\n low >>= 1;\n change++;\n }\n return change;\n }\n /**\n * _downscale subtracts `change` from the current mapping scale.\n */\n _downscale(change) {\n if (change === 0) {\n return;\n }\n if (change < 0) {\n // Note: this should be impossible. If we get here it's because\n // there is a bug in the implementation.\n throw new Error(`impossible change of scale: ${this.scale}`);\n }\n const newScale = this._mapping.scale - change;\n this._positive.downscale(change);\n this._negative.downscale(change);\n this._mapping = (0, getMapping_1.getMapping)(newScale);\n }\n /**\n * _minScale is used by diff and merge to compute an ideal combined scale\n */\n _minScale(other) {\n const minScale = Math.min(this.scale, other.scale);\n const highLowPos = HighLow.combine(this._highLowAtScale(this.positive, this.scale, minScale), this._highLowAtScale(other.positive, other.scale, minScale));\n const highLowNeg = HighLow.combine(this._highLowAtScale(this.negative, this.scale, minScale), this._highLowAtScale(other.negative, other.scale, minScale));\n return Math.min(minScale - this._changeScale(highLowPos.high, highLowPos.low), minScale - this._changeScale(highLowNeg.high, highLowNeg.low));\n }\n /**\n * _highLowAtScale is used by diff and merge to compute an ideal combined scale.\n */\n _highLowAtScale(buckets, currentScale, newScale) {\n if (buckets.length === 0) {\n return new HighLow(0, -1);\n }\n const shift = currentScale - newScale;\n return new HighLow(buckets.indexStart >> shift, buckets.indexEnd >> shift);\n }\n /**\n * _mergeBuckets translates index values from another histogram and\n * adds the values into the corresponding buckets of this histogram.\n */\n _mergeBuckets(ours, other, theirs, scale) {\n const theirOffset = theirs.offset;\n const theirChange = other.scale - scale;\n for (let i = 0; i < theirs.length; i++) {\n this._incrementIndexBy(ours, (theirOffset + i) >> theirChange, theirs.at(i));\n }\n }\n /**\n * _diffBuckets translates index values from another histogram and\n * subtracts the values in the corresponding buckets of this histogram.\n */\n _diffBuckets(ours, other, theirs, scale) {\n const theirOffset = theirs.offset;\n const theirChange = other.scale - scale;\n for (let i = 0; i < theirs.length; i++) {\n const ourIndex = (theirOffset + i) >> theirChange;\n let bucketIndex = ourIndex - ours.indexBase;\n if (bucketIndex < 0) {\n bucketIndex += ours.backing.length;\n }\n ours.decrementBucket(bucketIndex, theirs.at(i));\n }\n ours.trim();\n }\n}\nexports.ExponentialHistogramAccumulation = ExponentialHistogramAccumulation;\n/**\n * Aggregator for ExponentialHistogramAccumulations\n */\nclass ExponentialHistogramAggregator {\n kind = types_1.AggregatorKind.EXPONENTIAL_HISTOGRAM;\n _maxSize;\n _recordMinMax;\n /**\n * @param _maxSize Maximum number of buckets for each of the positive\n * and negative ranges, exclusive of the zero-bucket.\n * @param _recordMinMax If set to true, min and max will be recorded.\n * Otherwise, min and max will not be recorded.\n */\n constructor(maxSize, recordMinMax) {\n this._maxSize = maxSize;\n this._recordMinMax = recordMinMax;\n }\n createAccumulation(startTime) {\n return new ExponentialHistogramAccumulation(startTime, this._maxSize, this._recordMinMax);\n }\n /**\n * Return the result of the merge of two exponential histogram accumulations.\n */\n merge(previous, delta) {\n const result = delta.clone();\n result.merge(previous);\n return result;\n }\n /**\n * Returns a new DELTA aggregation by comparing two cumulative measurements.\n */\n diff(previous, current) {\n const result = current.clone();\n result.diff(previous);\n return result;\n }\n toMetricData(descriptor, aggregationTemporality, accumulationByAttributes, endTime) {\n return {\n descriptor,\n aggregationTemporality,\n dataPointType: MetricData_1.DataPointType.EXPONENTIAL_HISTOGRAM,\n dataPoints: accumulationByAttributes.map(([attributes, accumulation]) => {\n const pointValue = accumulation.toPointValue();\n // determine if instrument allows negative values.\n const allowsNegativeValues = descriptor.type === MetricData_1.InstrumentType.GAUGE ||\n descriptor.type === MetricData_1.InstrumentType.UP_DOWN_COUNTER ||\n descriptor.type === MetricData_1.InstrumentType.OBSERVABLE_GAUGE ||\n descriptor.type === MetricData_1.InstrumentType.OBSERVABLE_UP_DOWN_COUNTER;\n return {\n attributes,\n startTime: accumulation.startTime,\n endTime,\n value: {\n min: pointValue.hasMinMax ? pointValue.min : undefined,\n max: pointValue.hasMinMax ? pointValue.max : undefined,\n sum: !allowsNegativeValues ? pointValue.sum : undefined,\n positive: {\n offset: pointValue.positive.offset,\n bucketCounts: pointValue.positive.bucketCounts,\n },\n negative: {\n offset: pointValue.negative.offset,\n bucketCounts: pointValue.negative.bucketCounts,\n },\n count: pointValue.count,\n scale: pointValue.scale,\n zeroCount: pointValue.zeroCount,\n },\n };\n }),\n };\n }\n}\nexports.ExponentialHistogramAggregator = ExponentialHistogramAggregator;\n//# sourceMappingURL=ExponentialHistogram.js.map"],"x_google_ignoreList":[0],"mappings":"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"}
|
package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { HrTime } from "@opentelemetry/api";
|
package/dist/node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/ExponentialHistogram.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { HrTime } from "@opentelemetry/api";
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_runtime = require("../../../../../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_MetricData$1 = require("../export/MetricData.cjs");
|
|
4
|
+
const require_utils$1 = require("../utils.cjs");
|
|
5
|
+
const require_types$1 = require("./types.cjs");
|
|
6
|
+
//#region ../../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.js
|
|
7
|
+
var require_Histogram = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.HistogramAggregator = exports.HistogramAccumulation = void 0;
|
|
10
|
+
const types_1 = require_types$1.default;
|
|
11
|
+
const MetricData_1 = require_MetricData$1.default;
|
|
12
|
+
const utils_1 = require_utils$1.default;
|
|
13
|
+
function createNewEmptyCheckpoint(boundaries) {
|
|
14
|
+
const counts = boundaries.map(() => 0);
|
|
15
|
+
counts.push(0);
|
|
16
|
+
return {
|
|
17
|
+
buckets: {
|
|
18
|
+
boundaries,
|
|
19
|
+
counts
|
|
20
|
+
},
|
|
21
|
+
sum: 0,
|
|
22
|
+
count: 0,
|
|
23
|
+
hasMinMax: false,
|
|
24
|
+
min: Infinity,
|
|
25
|
+
max: -Infinity
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
var HistogramAccumulation = class {
|
|
29
|
+
startTime;
|
|
30
|
+
_boundaries;
|
|
31
|
+
_recordMinMax;
|
|
32
|
+
_current;
|
|
33
|
+
constructor(startTime, boundaries, recordMinMax = true, current = createNewEmptyCheckpoint(boundaries)) {
|
|
34
|
+
this.startTime = startTime;
|
|
35
|
+
this._boundaries = boundaries;
|
|
36
|
+
this._recordMinMax = recordMinMax;
|
|
37
|
+
this._current = current;
|
|
38
|
+
}
|
|
39
|
+
record(value) {
|
|
40
|
+
if (Number.isNaN(value)) return;
|
|
41
|
+
this._current.count += 1;
|
|
42
|
+
this._current.sum += value;
|
|
43
|
+
if (this._recordMinMax) {
|
|
44
|
+
this._current.min = Math.min(value, this._current.min);
|
|
45
|
+
this._current.max = Math.max(value, this._current.max);
|
|
46
|
+
this._current.hasMinMax = true;
|
|
47
|
+
}
|
|
48
|
+
const idx = (0, utils_1.binarySearchUB)(this._boundaries, value);
|
|
49
|
+
this._current.buckets.counts[idx] += 1;
|
|
50
|
+
}
|
|
51
|
+
setStartTime(startTime) {
|
|
52
|
+
this.startTime = startTime;
|
|
53
|
+
}
|
|
54
|
+
toPointValue() {
|
|
55
|
+
return this._current;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.HistogramAccumulation = HistogramAccumulation;
|
|
59
|
+
/**
|
|
60
|
+
* Basic aggregator which observes events and counts them in pre-defined buckets
|
|
61
|
+
* and provides the total sum and count of all observations.
|
|
62
|
+
*/
|
|
63
|
+
var HistogramAggregator = class {
|
|
64
|
+
kind = types_1.AggregatorKind.HISTOGRAM;
|
|
65
|
+
_boundaries;
|
|
66
|
+
_recordMinMax;
|
|
67
|
+
/**
|
|
68
|
+
* @param _boundaries sorted upper bounds of recorded values.
|
|
69
|
+
* @param _recordMinMax If set to true, min and max will be recorded. Otherwise, min and max will not be recorded.
|
|
70
|
+
*/
|
|
71
|
+
constructor(boundaries, recordMinMax) {
|
|
72
|
+
this._boundaries = boundaries;
|
|
73
|
+
this._recordMinMax = recordMinMax;
|
|
74
|
+
}
|
|
75
|
+
createAccumulation(startTime) {
|
|
76
|
+
return new HistogramAccumulation(startTime, this._boundaries, this._recordMinMax);
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Return the result of the merge of two histogram accumulations. As long as one Aggregator
|
|
80
|
+
* instance produces all Accumulations with constant boundaries we don't need to worry about
|
|
81
|
+
* merging accumulations with different boundaries.
|
|
82
|
+
*/
|
|
83
|
+
merge(previous, delta) {
|
|
84
|
+
const previousValue = previous.toPointValue();
|
|
85
|
+
const deltaValue = delta.toPointValue();
|
|
86
|
+
const previousCounts = previousValue.buckets.counts;
|
|
87
|
+
const deltaCounts = deltaValue.buckets.counts;
|
|
88
|
+
const mergedCounts = new Array(previousCounts.length);
|
|
89
|
+
for (let idx = 0; idx < previousCounts.length; idx++) mergedCounts[idx] = previousCounts[idx] + deltaCounts[idx];
|
|
90
|
+
let min = Infinity;
|
|
91
|
+
let max = -Infinity;
|
|
92
|
+
if (this._recordMinMax) {
|
|
93
|
+
if (previousValue.hasMinMax && deltaValue.hasMinMax) {
|
|
94
|
+
min = Math.min(previousValue.min, deltaValue.min);
|
|
95
|
+
max = Math.max(previousValue.max, deltaValue.max);
|
|
96
|
+
} else if (previousValue.hasMinMax) {
|
|
97
|
+
min = previousValue.min;
|
|
98
|
+
max = previousValue.max;
|
|
99
|
+
} else if (deltaValue.hasMinMax) {
|
|
100
|
+
min = deltaValue.min;
|
|
101
|
+
max = deltaValue.max;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
return new HistogramAccumulation(previous.startTime, previousValue.buckets.boundaries, this._recordMinMax, {
|
|
105
|
+
buckets: {
|
|
106
|
+
boundaries: previousValue.buckets.boundaries,
|
|
107
|
+
counts: mergedCounts
|
|
108
|
+
},
|
|
109
|
+
count: previousValue.count + deltaValue.count,
|
|
110
|
+
sum: previousValue.sum + deltaValue.sum,
|
|
111
|
+
hasMinMax: this._recordMinMax && (previousValue.hasMinMax || deltaValue.hasMinMax),
|
|
112
|
+
min,
|
|
113
|
+
max
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Returns a new DELTA aggregation by comparing two cumulative measurements.
|
|
118
|
+
*/
|
|
119
|
+
diff(previous, current) {
|
|
120
|
+
const previousValue = previous.toPointValue();
|
|
121
|
+
const currentValue = current.toPointValue();
|
|
122
|
+
const previousCounts = previousValue.buckets.counts;
|
|
123
|
+
const currentCounts = currentValue.buckets.counts;
|
|
124
|
+
const diffedCounts = new Array(previousCounts.length);
|
|
125
|
+
for (let idx = 0; idx < previousCounts.length; idx++) diffedCounts[idx] = currentCounts[idx] - previousCounts[idx];
|
|
126
|
+
return new HistogramAccumulation(current.startTime, previousValue.buckets.boundaries, this._recordMinMax, {
|
|
127
|
+
buckets: {
|
|
128
|
+
boundaries: previousValue.buckets.boundaries,
|
|
129
|
+
counts: diffedCounts
|
|
130
|
+
},
|
|
131
|
+
count: currentValue.count - previousValue.count,
|
|
132
|
+
sum: currentValue.sum - previousValue.sum,
|
|
133
|
+
hasMinMax: false,
|
|
134
|
+
min: Infinity,
|
|
135
|
+
max: -Infinity
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
toMetricData(descriptor, aggregationTemporality, accumulationByAttributes, endTime) {
|
|
139
|
+
return {
|
|
140
|
+
descriptor,
|
|
141
|
+
aggregationTemporality,
|
|
142
|
+
dataPointType: MetricData_1.DataPointType.HISTOGRAM,
|
|
143
|
+
dataPoints: accumulationByAttributes.map(([attributes, accumulation]) => {
|
|
144
|
+
const pointValue = accumulation.toPointValue();
|
|
145
|
+
const allowsNegativeValues = descriptor.type === MetricData_1.InstrumentType.GAUGE || descriptor.type === MetricData_1.InstrumentType.UP_DOWN_COUNTER || descriptor.type === MetricData_1.InstrumentType.OBSERVABLE_GAUGE || descriptor.type === MetricData_1.InstrumentType.OBSERVABLE_UP_DOWN_COUNTER;
|
|
146
|
+
return {
|
|
147
|
+
attributes,
|
|
148
|
+
startTime: accumulation.startTime,
|
|
149
|
+
endTime,
|
|
150
|
+
value: {
|
|
151
|
+
min: pointValue.hasMinMax ? pointValue.min : void 0,
|
|
152
|
+
max: pointValue.hasMinMax ? pointValue.max : void 0,
|
|
153
|
+
sum: !allowsNegativeValues ? pointValue.sum : void 0,
|
|
154
|
+
buckets: pointValue.buckets,
|
|
155
|
+
count: pointValue.count
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
})
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
exports.HistogramAggregator = HistogramAggregator;
|
|
163
|
+
}));
|
|
164
|
+
//#endregion
|
|
165
|
+
Object.defineProperty(exports, "default", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function() {
|
|
168
|
+
return require_Histogram();
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
|
|
172
|
+
//# sourceMappingURL=Histogram.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Histogram.cjs","names":[],"sources":["../../../../../../../../../node_modules/@opentelemetry/sdk-metrics/build/src/aggregator/Histogram.js"],"sourcesContent":["\"use strict\";\n/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HistogramAggregator = exports.HistogramAccumulation = void 0;\nconst types_1 = require(\"./types\");\nconst MetricData_1 = require(\"../export/MetricData\");\nconst utils_1 = require(\"../utils\");\nfunction createNewEmptyCheckpoint(boundaries) {\n const counts = boundaries.map(() => 0);\n counts.push(0);\n return {\n buckets: {\n boundaries,\n counts,\n },\n sum: 0,\n count: 0,\n hasMinMax: false,\n min: Infinity,\n max: -Infinity,\n };\n}\nclass HistogramAccumulation {\n startTime;\n _boundaries;\n _recordMinMax;\n _current;\n constructor(startTime, boundaries, recordMinMax = true, current = createNewEmptyCheckpoint(boundaries)) {\n this.startTime = startTime;\n this._boundaries = boundaries;\n this._recordMinMax = recordMinMax;\n this._current = current;\n }\n record(value) {\n // NaN does not fall into any bucket, is not zero and should not be counted,\n // NaN is never greater than max nor less than min, therefore return as there's nothing for us to do.\n if (Number.isNaN(value)) {\n return;\n }\n this._current.count += 1;\n this._current.sum += value;\n if (this._recordMinMax) {\n this._current.min = Math.min(value, this._current.min);\n this._current.max = Math.max(value, this._current.max);\n this._current.hasMinMax = true;\n }\n const idx = (0, utils_1.binarySearchUB)(this._boundaries, value);\n this._current.buckets.counts[idx] += 1;\n }\n setStartTime(startTime) {\n this.startTime = startTime;\n }\n toPointValue() {\n return this._current;\n }\n}\nexports.HistogramAccumulation = HistogramAccumulation;\n/**\n * Basic aggregator which observes events and counts them in pre-defined buckets\n * and provides the total sum and count of all observations.\n */\nclass HistogramAggregator {\n kind = types_1.AggregatorKind.HISTOGRAM;\n _boundaries;\n _recordMinMax;\n /**\n * @param _boundaries sorted upper bounds of recorded values.\n * @param _recordMinMax If set to true, min and max will be recorded. Otherwise, min and max will not be recorded.\n */\n constructor(boundaries, recordMinMax) {\n this._boundaries = boundaries;\n this._recordMinMax = recordMinMax;\n }\n createAccumulation(startTime) {\n return new HistogramAccumulation(startTime, this._boundaries, this._recordMinMax);\n }\n /**\n * Return the result of the merge of two histogram accumulations. As long as one Aggregator\n * instance produces all Accumulations with constant boundaries we don't need to worry about\n * merging accumulations with different boundaries.\n */\n merge(previous, delta) {\n const previousValue = previous.toPointValue();\n const deltaValue = delta.toPointValue();\n const previousCounts = previousValue.buckets.counts;\n const deltaCounts = deltaValue.buckets.counts;\n const mergedCounts = new Array(previousCounts.length);\n for (let idx = 0; idx < previousCounts.length; idx++) {\n mergedCounts[idx] = previousCounts[idx] + deltaCounts[idx];\n }\n let min = Infinity;\n let max = -Infinity;\n if (this._recordMinMax) {\n if (previousValue.hasMinMax && deltaValue.hasMinMax) {\n min = Math.min(previousValue.min, deltaValue.min);\n max = Math.max(previousValue.max, deltaValue.max);\n }\n else if (previousValue.hasMinMax) {\n min = previousValue.min;\n max = previousValue.max;\n }\n else if (deltaValue.hasMinMax) {\n min = deltaValue.min;\n max = deltaValue.max;\n }\n }\n return new HistogramAccumulation(previous.startTime, previousValue.buckets.boundaries, this._recordMinMax, {\n buckets: {\n boundaries: previousValue.buckets.boundaries,\n counts: mergedCounts,\n },\n count: previousValue.count + deltaValue.count,\n sum: previousValue.sum + deltaValue.sum,\n hasMinMax: this._recordMinMax &&\n (previousValue.hasMinMax || deltaValue.hasMinMax),\n min: min,\n max: max,\n });\n }\n /**\n * Returns a new DELTA aggregation by comparing two cumulative measurements.\n */\n diff(previous, current) {\n const previousValue = previous.toPointValue();\n const currentValue = current.toPointValue();\n const previousCounts = previousValue.buckets.counts;\n const currentCounts = currentValue.buckets.counts;\n const diffedCounts = new Array(previousCounts.length);\n for (let idx = 0; idx < previousCounts.length; idx++) {\n diffedCounts[idx] = currentCounts[idx] - previousCounts[idx];\n }\n return new HistogramAccumulation(current.startTime, previousValue.buckets.boundaries, this._recordMinMax, {\n buckets: {\n boundaries: previousValue.buckets.boundaries,\n counts: diffedCounts,\n },\n count: currentValue.count - previousValue.count,\n sum: currentValue.sum - previousValue.sum,\n hasMinMax: false,\n min: Infinity,\n max: -Infinity,\n });\n }\n toMetricData(descriptor, aggregationTemporality, accumulationByAttributes, endTime) {\n return {\n descriptor,\n aggregationTemporality,\n dataPointType: MetricData_1.DataPointType.HISTOGRAM,\n dataPoints: accumulationByAttributes.map(([attributes, accumulation]) => {\n const pointValue = accumulation.toPointValue();\n // determine if instrument allows negative values.\n const allowsNegativeValues = descriptor.type === MetricData_1.InstrumentType.GAUGE ||\n descriptor.type === MetricData_1.InstrumentType.UP_DOWN_COUNTER ||\n descriptor.type === MetricData_1.InstrumentType.OBSERVABLE_GAUGE ||\n descriptor.type === MetricData_1.InstrumentType.OBSERVABLE_UP_DOWN_COUNTER;\n return {\n attributes,\n startTime: accumulation.startTime,\n endTime,\n value: {\n min: pointValue.hasMinMax ? pointValue.min : undefined,\n max: pointValue.hasMinMax ? pointValue.max : undefined,\n sum: !allowsNegativeValues ? pointValue.sum : undefined,\n buckets: pointValue.buckets,\n count: pointValue.count,\n },\n };\n }),\n };\n }\n}\nexports.HistogramAggregator = HistogramAggregator;\n//# sourceMappingURL=Histogram.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAKA,QAAO,eAAe,SAAS,cAAc,EAAE,OAAO,MAAM,CAAC;AAC7D,SAAQ,sBAAsB,QAAQ,wBAAwB,KAAK;CACnE,MAAM,UAAA,gBAAA;CACN,MAAM,eAAA,qBAAA;CACN,MAAM,UAAA,gBAAA;CACN,SAAS,yBAAyB,YAAY;EAC1C,MAAM,SAAS,WAAW,UAAU,EAAE;AACtC,SAAO,KAAK,EAAE;AACd,SAAO;GACH,SAAS;IACL;IACA;IACH;GACD,KAAK;GACL,OAAO;GACP,WAAW;GACX,KAAK;GACL,KAAK;GACR;;CAEL,IAAM,wBAAN,MAA4B;EACxB;EACA;EACA;EACA;EACA,YAAY,WAAW,YAAY,eAAe,MAAM,UAAU,yBAAyB,WAAW,EAAE;AACpG,QAAK,YAAY;AACjB,QAAK,cAAc;AACnB,QAAK,gBAAgB;AACrB,QAAK,WAAW;;EAEpB,OAAO,OAAO;AAGV,OAAI,OAAO,MAAM,MAAM,CACnB;AAEJ,QAAK,SAAS,SAAS;AACvB,QAAK,SAAS,OAAO;AACrB,OAAI,KAAK,eAAe;AACpB,SAAK,SAAS,MAAM,KAAK,IAAI,OAAO,KAAK,SAAS,IAAI;AACtD,SAAK,SAAS,MAAM,KAAK,IAAI,OAAO,KAAK,SAAS,IAAI;AACtD,SAAK,SAAS,YAAY;;GAE9B,MAAM,OAAO,GAAG,QAAQ,gBAAgB,KAAK,aAAa,MAAM;AAChE,QAAK,SAAS,QAAQ,OAAO,QAAQ;;EAEzC,aAAa,WAAW;AACpB,QAAK,YAAY;;EAErB,eAAe;AACX,UAAO,KAAK;;;AAGpB,SAAQ,wBAAwB;;;;;CAKhC,IAAM,sBAAN,MAA0B;EACtB,OAAO,QAAQ,eAAe;EAC9B;EACA;;;;;EAKA,YAAY,YAAY,cAAc;AAClC,QAAK,cAAc;AACnB,QAAK,gBAAgB;;EAEzB,mBAAmB,WAAW;AAC1B,UAAO,IAAI,sBAAsB,WAAW,KAAK,aAAa,KAAK,cAAc;;;;;;;EAOrF,MAAM,UAAU,OAAO;GACnB,MAAM,gBAAgB,SAAS,cAAc;GAC7C,MAAM,aAAa,MAAM,cAAc;GACvC,MAAM,iBAAiB,cAAc,QAAQ;GAC7C,MAAM,cAAc,WAAW,QAAQ;GACvC,MAAM,eAAe,IAAI,MAAM,eAAe,OAAO;AACrD,QAAK,IAAI,MAAM,GAAG,MAAM,eAAe,QAAQ,MAC3C,cAAa,OAAO,eAAe,OAAO,YAAY;GAE1D,IAAI,MAAM;GACV,IAAI,MAAM;AACV,OAAI,KAAK;QACD,cAAc,aAAa,WAAW,WAAW;AACjD,WAAM,KAAK,IAAI,cAAc,KAAK,WAAW,IAAI;AACjD,WAAM,KAAK,IAAI,cAAc,KAAK,WAAW,IAAI;eAE5C,cAAc,WAAW;AAC9B,WAAM,cAAc;AACpB,WAAM,cAAc;eAEf,WAAW,WAAW;AAC3B,WAAM,WAAW;AACjB,WAAM,WAAW;;;AAGzB,UAAO,IAAI,sBAAsB,SAAS,WAAW,cAAc,QAAQ,YAAY,KAAK,eAAe;IACvG,SAAS;KACL,YAAY,cAAc,QAAQ;KAClC,QAAQ;KACX;IACD,OAAO,cAAc,QAAQ,WAAW;IACxC,KAAK,cAAc,MAAM,WAAW;IACpC,WAAW,KAAK,kBACX,cAAc,aAAa,WAAW;IACtC;IACA;IACR,CAAC;;;;;EAKN,KAAK,UAAU,SAAS;GACpB,MAAM,gBAAgB,SAAS,cAAc;GAC7C,MAAM,eAAe,QAAQ,cAAc;GAC3C,MAAM,iBAAiB,cAAc,QAAQ;GAC7C,MAAM,gBAAgB,aAAa,QAAQ;GAC3C,MAAM,eAAe,IAAI,MAAM,eAAe,OAAO;AACrD,QAAK,IAAI,MAAM,GAAG,MAAM,eAAe,QAAQ,MAC3C,cAAa,OAAO,cAAc,OAAO,eAAe;AAE5D,UAAO,IAAI,sBAAsB,QAAQ,WAAW,cAAc,QAAQ,YAAY,KAAK,eAAe;IACtG,SAAS;KACL,YAAY,cAAc,QAAQ;KAClC,QAAQ;KACX;IACD,OAAO,aAAa,QAAQ,cAAc;IAC1C,KAAK,aAAa,MAAM,cAAc;IACtC,WAAW;IACX,KAAK;IACL,KAAK;IACR,CAAC;;EAEN,aAAa,YAAY,wBAAwB,0BAA0B,SAAS;AAChF,UAAO;IACH;IACA;IACA,eAAe,aAAa,cAAc;IAC1C,YAAY,yBAAyB,KAAK,CAAC,YAAY,kBAAkB;KACrE,MAAM,aAAa,aAAa,cAAc;KAE9C,MAAM,uBAAuB,WAAW,SAAS,aAAa,eAAe,SACzE,WAAW,SAAS,aAAa,eAAe,mBAChD,WAAW,SAAS,aAAa,eAAe,oBAChD,WAAW,SAAS,aAAa,eAAe;AACpD,YAAO;MACH;MACA,WAAW,aAAa;MACxB;MACA,OAAO;OACH,KAAK,WAAW,YAAY,WAAW,MAAM,KAAA;OAC7C,KAAK,WAAW,YAAY,WAAW,MAAM,KAAA;OAC7C,KAAK,CAAC,uBAAuB,WAAW,MAAM,KAAA;OAC9C,SAAS,WAAW;OACpB,OAAO,WAAW;OACrB;MACJ;MACH;IACL;;;AAGT,SAAQ,sBAAsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { HrTime } from "@opentelemetry/api";
|