@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
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
+
const require_constants_attributes = require("../../../constants/attributes.cjs");
|
|
4
|
+
const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
|
|
5
|
+
const require_instrumentations_replay_utils_session_recording_utils = require("../utils/session-recording-utils.cjs");
|
|
6
|
+
const require_instrumentations_replay_ReplayInstrumentation_constants = require("./constants.cjs");
|
|
7
|
+
const require_instrumentations_replay_rrwebLoader_loadRrwebModule_esm = require("../rrwebLoader/loadRrwebModule.esm.cjs");
|
|
8
|
+
let _opentelemetry_api_logs = require("@opentelemetry/api-logs");
|
|
9
|
+
//#region src/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.ts
|
|
10
|
+
var ReplayInstrumentation = class extends require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase.MXLInstrumentationBase {
|
|
11
|
+
_flushIntervalMs;
|
|
12
|
+
_maxBufferSize;
|
|
13
|
+
_recordUserSessions;
|
|
14
|
+
_rrwebUserOptions;
|
|
15
|
+
_debug;
|
|
16
|
+
_eventBuffer = [];
|
|
17
|
+
_flushIntervalId;
|
|
18
|
+
_removeSessionEndListener;
|
|
19
|
+
_removeSessionStartedListener;
|
|
20
|
+
_stopRecording;
|
|
21
|
+
_rrwebModule;
|
|
22
|
+
_mutationRateLimiter;
|
|
23
|
+
_lastKnownSession = "";
|
|
24
|
+
_sessionStartTime = 0;
|
|
25
|
+
_paused = false;
|
|
26
|
+
_enableRequested = false;
|
|
27
|
+
_startInProgress = false;
|
|
28
|
+
_queuedFullSnapshotTimeout;
|
|
29
|
+
_destroyed = false;
|
|
30
|
+
constructor({ diag, perf, flushIntervalMs = require_instrumentations_replay_ReplayInstrumentation_constants.DEFAULT_FLUSH_INTERVAL_MS, maxBufferSize = 50, recordUserSessions = true, rrwebOptions } = {}) {
|
|
31
|
+
super({
|
|
32
|
+
config: {},
|
|
33
|
+
diag,
|
|
34
|
+
instrumentationName: "ReplayInstrumentation",
|
|
35
|
+
instrumentationVersion: "1.0.0",
|
|
36
|
+
perf
|
|
37
|
+
});
|
|
38
|
+
this._flushIntervalMs = flushIntervalMs;
|
|
39
|
+
this._maxBufferSize = maxBufferSize;
|
|
40
|
+
this._recordUserSessions = recordUserSessions;
|
|
41
|
+
this._debug = rrwebOptions?.debug ?? false;
|
|
42
|
+
this._rrwebUserOptions = rrwebOptions;
|
|
43
|
+
if (!this._config.enabled) this._diag.debug("disabled, not starting");
|
|
44
|
+
}
|
|
45
|
+
setUserSessionManager(userSessionManager) {
|
|
46
|
+
super.setUserSessionManager(userSessionManager);
|
|
47
|
+
this._registerSessionEndListener();
|
|
48
|
+
}
|
|
49
|
+
isRecording() {
|
|
50
|
+
return Boolean(this._stopRecording) && !this._paused;
|
|
51
|
+
}
|
|
52
|
+
enable(options) {
|
|
53
|
+
if (!this._recordUserSessions && !options?.force) {
|
|
54
|
+
this._diag.debug("recordUserSessions disabled, waiting for manual enable");
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
this._enableRequested = true;
|
|
58
|
+
this._paused = false;
|
|
59
|
+
this._tryStartRecording();
|
|
60
|
+
}
|
|
61
|
+
pause() {
|
|
62
|
+
if (!this._stopRecording) return;
|
|
63
|
+
this._enableRequested = false;
|
|
64
|
+
this._paused = true;
|
|
65
|
+
clearTimeout(this._flushIntervalId);
|
|
66
|
+
this._flushIntervalId = void 0;
|
|
67
|
+
}
|
|
68
|
+
resume() {
|
|
69
|
+
if (!this._stopRecording) {
|
|
70
|
+
this.enable();
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
const wasPaused = this._paused;
|
|
74
|
+
this._enableRequested = true;
|
|
75
|
+
this._paused = false;
|
|
76
|
+
if (wasPaused) {
|
|
77
|
+
this._scheduleFlush();
|
|
78
|
+
this._rrwebModule?.record.takeFullSnapshot();
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
_scheduleFlush() {
|
|
82
|
+
if (this._destroyed || this._flushIntervalId || this._paused || !this._stopRecording) return;
|
|
83
|
+
this._flushIntervalId = setTimeout(() => {
|
|
84
|
+
this._flushIntervalId = void 0;
|
|
85
|
+
if (this._destroyed || this._paused || !this._stopRecording) return;
|
|
86
|
+
this._flush();
|
|
87
|
+
this._scheduleFlush();
|
|
88
|
+
}, this._flushIntervalMs);
|
|
89
|
+
}
|
|
90
|
+
disable() {
|
|
91
|
+
this._destroyed = true;
|
|
92
|
+
this._enableRequested = false;
|
|
93
|
+
this._paused = false;
|
|
94
|
+
clearTimeout(this._flushIntervalId);
|
|
95
|
+
this._flushIntervalId = void 0;
|
|
96
|
+
this._removeSessionEndListener?.();
|
|
97
|
+
this._removeSessionEndListener = void 0;
|
|
98
|
+
this._removeSessionStartedListener?.();
|
|
99
|
+
this._removeSessionStartedListener = void 0;
|
|
100
|
+
clearTimeout(this._queuedFullSnapshotTimeout);
|
|
101
|
+
this._queuedFullSnapshotTimeout = void 0;
|
|
102
|
+
if (this._stopRecording) {
|
|
103
|
+
this._diag.debug("stopping recording");
|
|
104
|
+
this._stopRecording();
|
|
105
|
+
this._stopRecording = void 0;
|
|
106
|
+
this._flush();
|
|
107
|
+
}
|
|
108
|
+
this._mutationRateLimiter?.destroy();
|
|
109
|
+
this._mutationRateLimiter = void 0;
|
|
110
|
+
}
|
|
111
|
+
_registerSessionEndListener() {
|
|
112
|
+
if (!this._stopRecording) return;
|
|
113
|
+
this._removeSessionEndListener?.();
|
|
114
|
+
this._removeSessionEndListener = this.userSessionManager.addSessionPartEndedListener(() => {
|
|
115
|
+
try {
|
|
116
|
+
this._flush();
|
|
117
|
+
} catch (error) {
|
|
118
|
+
this._diag.error("error flushing on session end", error);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
async _tryStartRecording() {
|
|
123
|
+
if (!this._enableRequested || this._stopRecording || this._startInProgress) return;
|
|
124
|
+
if (typeof window === "undefined") {
|
|
125
|
+
this._diag.warn("session replay cannot run in non-browser environments");
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
|
+
if (this.userSessionManager.getUserSessionId() === null) {
|
|
129
|
+
if (!this._removeSessionStartedListener) this._removeSessionStartedListener = this.userSessionManager.addSessionPartStartedListener(() => {
|
|
130
|
+
this._removeSessionStartedListener?.();
|
|
131
|
+
this._removeSessionStartedListener = void 0;
|
|
132
|
+
this._tryStartRecording();
|
|
133
|
+
});
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
this._startInProgress = true;
|
|
137
|
+
try {
|
|
138
|
+
this._rrwebModule = await require_instrumentations_replay_rrwebLoader_loadRrwebModule_esm.loadRrwebModule();
|
|
139
|
+
if (!this._enableRequested || this._stopRecording) return;
|
|
140
|
+
this._lastKnownSession = this.userSessionManager.getUserSessionId() ?? "";
|
|
141
|
+
this._sessionStartTime = Date.now();
|
|
142
|
+
const { record } = this._rrwebModule;
|
|
143
|
+
const { debug: _debug, ...rrwebOptions } = this._rrwebUserOptions ?? {};
|
|
144
|
+
this._mutationRateLimiter = this._mutationRateLimiter ?? new require_instrumentations_replay_utils_session_recording_utils.MutationRateLimiter(record, { onBlockedNode: (id, node) => {
|
|
145
|
+
const message = `MXL Session Replay: Rate limiting recording mutations on node ${id}. This can be due to excessive animations.`;
|
|
146
|
+
if (this._debug) console.warn(message, node);
|
|
147
|
+
clearTimeout(this._queuedFullSnapshotTimeout);
|
|
148
|
+
this._queuedFullSnapshotTimeout = setTimeout(() => {
|
|
149
|
+
record.takeFullSnapshot();
|
|
150
|
+
}, 1e3);
|
|
151
|
+
} });
|
|
152
|
+
const stopFn = record({
|
|
153
|
+
maskAllInputs: true,
|
|
154
|
+
maskTextSelector: "*",
|
|
155
|
+
...rrwebOptions,
|
|
156
|
+
emit: this._onEvent
|
|
157
|
+
});
|
|
158
|
+
if (!stopFn) {
|
|
159
|
+
this._diag.warn("record() returned undefined, did not start");
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
this._stopRecording = stopFn;
|
|
163
|
+
this._scheduleFlush();
|
|
164
|
+
this._registerSessionEndListener();
|
|
165
|
+
this._diag.debug("recording started");
|
|
166
|
+
} catch (error) {
|
|
167
|
+
this._diag.error("failed to start recording", error);
|
|
168
|
+
} finally {
|
|
169
|
+
this._startInProgress = false;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
_onEvent = (srcEvent) => {
|
|
173
|
+
if (this._paused) return;
|
|
174
|
+
const currentSession = this.userSessionManager.getUserSessionId() ?? "";
|
|
175
|
+
if (currentSession !== this._lastKnownSession) {
|
|
176
|
+
if (typeof document !== "undefined" && document.hidden) return;
|
|
177
|
+
this._lastKnownSession = currentSession;
|
|
178
|
+
this._sessionStartTime = Date.now();
|
|
179
|
+
this._rrwebModule?.record.takeFullSnapshot();
|
|
180
|
+
}
|
|
181
|
+
if (srcEvent.timestamp > this._sessionStartTime + 1446e4) return;
|
|
182
|
+
const event = this._mutationRateLimiter ? this._mutationRateLimiter.throttleMutations(srcEvent) : srcEvent;
|
|
183
|
+
if (!event) return;
|
|
184
|
+
this._diag.debug("event received", event.type);
|
|
185
|
+
this._eventBuffer.push(event);
|
|
186
|
+
if (this._eventBuffer.length >= this._maxBufferSize) this._flush();
|
|
187
|
+
};
|
|
188
|
+
_flush() {
|
|
189
|
+
if (this._eventBuffer.length === 0 || this._paused) return;
|
|
190
|
+
this._diag.debug("flushing", this._eventBuffer.length, "events");
|
|
191
|
+
const events = this._eventBuffer;
|
|
192
|
+
this._eventBuffer = [];
|
|
193
|
+
try {
|
|
194
|
+
this._emitEventBatches(events);
|
|
195
|
+
} catch (error) {
|
|
196
|
+
this._diag.error("failed to save events", error);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
_emitEventBatches(events) {
|
|
200
|
+
let batchStart = 0;
|
|
201
|
+
while (batchStart < events.length) {
|
|
202
|
+
let batchEnd = events.length;
|
|
203
|
+
while (batchEnd > batchStart) {
|
|
204
|
+
const slice = events.slice(batchStart, batchEnd);
|
|
205
|
+
const json = require_instrumentations_replay_utils_session_recording_utils.ensureStringifiedMaxMessageSize(JSON.stringify(slice));
|
|
206
|
+
if (json.length <= 5e6) {
|
|
207
|
+
this._emitBatch(slice, json);
|
|
208
|
+
batchStart = batchEnd;
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
batchEnd--;
|
|
212
|
+
}
|
|
213
|
+
if (batchEnd === batchStart) {
|
|
214
|
+
const slice = events.slice(batchStart, batchStart + 1);
|
|
215
|
+
const json = require_instrumentations_replay_utils_session_recording_utils.ensureStringifiedMaxMessageSize(JSON.stringify(slice));
|
|
216
|
+
this._emitBatch(slice, json);
|
|
217
|
+
batchStart++;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
_emitBatch(events, json) {
|
|
222
|
+
if (this._debug) console.log("replay batch", events.length, json.length);
|
|
223
|
+
this.logger.emit({
|
|
224
|
+
attributes: {
|
|
225
|
+
[require_constants_attributes.KEY_MXL_TYPE]: "ux.replay",
|
|
226
|
+
[require_instrumentations_replay_ReplayInstrumentation_constants.KEY_REPLAY_EVENTS]: json,
|
|
227
|
+
[require_instrumentations_replay_ReplayInstrumentation_constants.KEY_REPLAY_COUNT]: events.length
|
|
228
|
+
},
|
|
229
|
+
eventName: "replay",
|
|
230
|
+
severityNumber: _opentelemetry_api_logs.SeverityNumber.INFO
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
//#endregion
|
|
235
|
+
exports.ReplayInstrumentation = ReplayInstrumentation;
|
|
236
|
+
exports.loadRrwebModule = require_instrumentations_replay_rrwebLoader_loadRrwebModule_esm.loadRrwebModule;
|
|
237
|
+
exports.resetRrwebModuleCacheForTests = require_instrumentations_replay_rrwebLoader_loadRrwebModule_esm.resetRrwebModuleCacheForTests;
|
|
238
|
+
exports.setRrwebModuleLoaderForTests = require_instrumentations_replay_rrwebLoader_loadRrwebModule_esm.setRrwebModuleLoaderForTests;
|
|
239
|
+
|
|
240
|
+
//# sourceMappingURL=ReplayInstrumentation.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReplayInstrumentation.cjs","names":["MXLInstrumentationBase","DEFAULT_FLUSH_INTERVAL_MS","loadRrwebModule","MutationRateLimiter","ensureStringifiedMaxMessageSize","KEY_MXL_TYPE","KEY_REPLAY_EVENTS","KEY_REPLAY_COUNT","SeverityNumber"],"sources":["../../../../src/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.ts"],"sourcesContent":["import { SeverityNumber } from '@opentelemetry/api-logs';\nimport type { eventWithTime } from 'rrweb';\nimport { KEY_MXL_TYPE, MXL_TYPES } from '../../../constants/attributes';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/MXLInstrumentationBase';\nimport { MAX_MESSAGE_SIZE, MutationRateLimiter, ensureStringifiedMaxMessageSize } from '../utils/session-recording-utils';\nimport {\n DEFAULT_FLUSH_INTERVAL_MS,\n DEFAULT_MAX_BUFFER_SIZE,\n KEY_REPLAY_COUNT,\n KEY_REPLAY_EVENTS,\n MAX_RECORDING_LENGTH_MS,\n} from './constants';\nimport { loadRrwebModule } from '../rrwebLoader/loadRrwebModule';\nimport type { RrwebModule } from '../rrwebLoader/types';\nimport type { ReplayInstrumentationArgs } from './types';\n\nexport {\n loadRrwebModule,\n resetRrwebModuleCacheForTests,\n setRrwebModuleLoaderForTests,\n} from '../rrwebLoader/loadRrwebModule';\n\nexport class ReplayInstrumentation extends MXLInstrumentationBase {\n private readonly _flushIntervalMs: number;\n private readonly _maxBufferSize: number;\n private readonly _recordUserSessions: boolean;\n private readonly _rrwebUserOptions: ReplayInstrumentationArgs['rrwebOptions'];\n private readonly _debug: boolean;\n\n private _eventBuffer: eventWithTime[] = [];\n private _flushIntervalId?: ReturnType<typeof setTimeout>;\n private _removeSessionEndListener?: () => void;\n private _removeSessionStartedListener?: () => void;\n private _stopRecording?: () => void;\n private _rrwebModule?: RrwebModule;\n private _mutationRateLimiter?: MutationRateLimiter;\n private _lastKnownSession = '';\n private _sessionStartTime = 0;\n private _paused = false;\n private _enableRequested = false;\n private _startInProgress = false;\n private _queuedFullSnapshotTimeout?: ReturnType<typeof setTimeout>;\n private _destroyed = false;\n\n public constructor({\n diag,\n perf,\n flushIntervalMs = DEFAULT_FLUSH_INTERVAL_MS,\n maxBufferSize = DEFAULT_MAX_BUFFER_SIZE,\n recordUserSessions = true,\n rrwebOptions,\n }: ReplayInstrumentationArgs = {}) {\n super({\n config: {},\n diag,\n instrumentationName: 'ReplayInstrumentation',\n instrumentationVersion: '1.0.0',\n perf,\n });\n\n this._flushIntervalMs = flushIntervalMs;\n this._maxBufferSize = maxBufferSize;\n this._recordUserSessions = recordUserSessions;\n this._debug = rrwebOptions?.debug ?? false;\n this._rrwebUserOptions = rrwebOptions;\n\n if (!this._config.enabled) {\n this._diag.debug('disabled, not starting');\n }\n }\n\n public override setUserSessionManager(\n userSessionManager: Parameters<\n MXLInstrumentationBase['setUserSessionManager']\n >[0],\n ): void {\n super.setUserSessionManager(userSessionManager);\n this._registerSessionEndListener();\n }\n\n public isRecording(): boolean {\n return Boolean(this._stopRecording) && !this._paused;\n }\n\n public enable(options?: { force?: boolean }): void {\n if (!this._recordUserSessions && !options?.force) {\n this._diag.debug(\n 'recordUserSessions disabled, waiting for manual enable',\n );\n return;\n }\n\n this._enableRequested = true;\n this._paused = false;\n void this._tryStartRecording();\n }\n\n public pause(): void {\n if (!this._stopRecording) {\n return;\n }\n\n this._enableRequested = false;\n this._paused = true;\n clearTimeout(this._flushIntervalId);\n this._flushIntervalId = undefined;\n }\n\n public resume(): void {\n if (!this._stopRecording) {\n this.enable();\n return;\n }\n\n const wasPaused = this._paused;\n this._enableRequested = true;\n this._paused = false;\n\n if (wasPaused) {\n this._scheduleFlush();\n this._rrwebModule?.record.takeFullSnapshot();\n }\n }\n\n private _scheduleFlush(): void {\n if (\n this._destroyed ||\n this._flushIntervalId ||\n this._paused ||\n !this._stopRecording\n ) {\n return;\n }\n\n this._flushIntervalId = setTimeout(() => {\n this._flushIntervalId = undefined;\n if (this._destroyed || this._paused || !this._stopRecording) {\n return;\n }\n this._flush();\n this._scheduleFlush();\n }, this._flushIntervalMs);\n }\n\n public disable(): void {\n this._destroyed = true;\n this._enableRequested = false;\n this._paused = false;\n\n clearTimeout(this._flushIntervalId);\n this._flushIntervalId = undefined;\n this._removeSessionEndListener?.();\n this._removeSessionEndListener = undefined;\n this._removeSessionStartedListener?.();\n this._removeSessionStartedListener = undefined;\n clearTimeout(this._queuedFullSnapshotTimeout);\n this._queuedFullSnapshotTimeout = undefined;\n\n if (this._stopRecording) {\n this._diag.debug('stopping recording');\n this._stopRecording();\n this._stopRecording = undefined;\n this._flush();\n }\n\n this._mutationRateLimiter?.destroy();\n this._mutationRateLimiter = undefined;\n }\n\n private _registerSessionEndListener(): void {\n if (!this._stopRecording) {\n return;\n }\n\n this._removeSessionEndListener?.();\n this._removeSessionEndListener =\n this.userSessionManager.addSessionPartEndedListener(() => {\n try {\n this._flush();\n } catch (error) {\n this._diag.error('error flushing on session end', error);\n }\n });\n }\n\n private async _tryStartRecording(): Promise<void> {\n if (\n !this._enableRequested ||\n this._stopRecording ||\n this._startInProgress\n ) {\n return;\n }\n\n if (typeof window === 'undefined') {\n this._diag.warn('session replay cannot run in non-browser environments');\n return;\n }\n\n if (this.userSessionManager.getUserSessionId() === null) {\n if (!this._removeSessionStartedListener) {\n this._removeSessionStartedListener =\n this.userSessionManager.addSessionPartStartedListener(() => {\n this._removeSessionStartedListener?.();\n this._removeSessionStartedListener = undefined;\n void this._tryStartRecording();\n });\n }\n return;\n }\n\n this._startInProgress = true;\n\n try {\n this._rrwebModule = await loadRrwebModule();\n if (!this._enableRequested || this._stopRecording) {\n return;\n }\n\n this._lastKnownSession = this.userSessionManager.getUserSessionId() ?? '';\n this._sessionStartTime = Date.now();\n\n const { record } = this._rrwebModule;\n const { debug: _debug, ...rrwebOptions } = this._rrwebUserOptions ?? {};\n\n this._mutationRateLimiter =\n this._mutationRateLimiter ??\n new MutationRateLimiter(record, {\n onBlockedNode: (id, node) => {\n const message = `MXL Session Replay: Rate limiting recording mutations on node ${id}. This can be due to excessive animations.`;\n if (this._debug) {\n // oxlint-disable-next-line no-console -- debug-only replay diagnostics\n console.warn(message, node);\n }\n\n clearTimeout(this._queuedFullSnapshotTimeout);\n this._queuedFullSnapshotTimeout = setTimeout(() => {\n record.takeFullSnapshot();\n }, 1000);\n },\n });\n\n const stopFn = record({\n maskAllInputs: true,\n maskTextSelector: '*',\n ...rrwebOptions,\n emit: this._onEvent,\n });\n\n if (!stopFn) {\n this._diag.warn('record() returned undefined, did not start');\n return;\n }\n\n this._stopRecording = stopFn;\n this._scheduleFlush();\n this._registerSessionEndListener();\n this._diag.debug('recording started');\n } catch (error) {\n this._diag.error('failed to start recording', error);\n } finally {\n this._startInProgress = false;\n }\n }\n\n private readonly _onEvent = (srcEvent: eventWithTime) => {\n if (this._paused) {\n return;\n }\n\n const currentSession = this.userSessionManager.getUserSessionId() ?? '';\n if (currentSession !== this._lastKnownSession) {\n if (typeof document !== 'undefined' && document.hidden) {\n return;\n }\n this._lastKnownSession = currentSession;\n this._sessionStartTime = Date.now();\n this._rrwebModule?.record.takeFullSnapshot();\n }\n\n if (srcEvent.timestamp > this._sessionStartTime + MAX_RECORDING_LENGTH_MS) {\n return;\n }\n\n const event = this._mutationRateLimiter\n ? this._mutationRateLimiter.throttleMutations(srcEvent)\n : srcEvent;\n\n if (!event) {\n return;\n }\n\n this._diag.debug('event received', event.type);\n this._eventBuffer.push(event);\n if (this._eventBuffer.length >= this._maxBufferSize) {\n this._flush();\n }\n };\n\n private _flush(): void {\n if (this._eventBuffer.length === 0 || this._paused) {\n return;\n }\n\n this._diag.debug('flushing', this._eventBuffer.length, 'events');\n const events = this._eventBuffer;\n this._eventBuffer = [];\n\n try {\n this._emitEventBatches(events);\n } catch (error) {\n this._diag.error('failed to save events', error);\n }\n }\n\n private _emitEventBatches(events: eventWithTime[]): void {\n let batchStart = 0;\n\n while (batchStart < events.length) {\n let batchEnd = events.length;\n\n while (batchEnd > batchStart) {\n const slice = events.slice(batchStart, batchEnd);\n const json = ensureStringifiedMaxMessageSize(JSON.stringify(slice));\n\n if (json.length <= MAX_MESSAGE_SIZE) {\n this._emitBatch(slice, json);\n batchStart = batchEnd;\n break;\n }\n\n batchEnd--;\n }\n\n if (batchEnd === batchStart) {\n const slice = events.slice(batchStart, batchStart + 1);\n const json = ensureStringifiedMaxMessageSize(JSON.stringify(slice));\n this._emitBatch(slice, json);\n batchStart++;\n }\n }\n }\n\n private _emitBatch(events: eventWithTime[], json: string): void {\n if (this._debug) {\n // oxlint-disable-next-line no-console -- debug-only replay diagnostics\n console.log('replay batch', events.length, json.length);\n }\n\n this.logger.emit({\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.Replay,\n [KEY_REPLAY_EVENTS]: json,\n [KEY_REPLAY_COUNT]: events.length,\n },\n eventName: 'replay',\n severityNumber: SeverityNumber.INFO,\n });\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.cjs";
|
|
2
|
+
import { ReplayInstrumentationArgs } from "./types.cjs";
|
|
3
|
+
import { loadRrwebModule, resetRrwebModuleCacheForTests, setRrwebModuleLoaderForTests } from "../rrwebLoader/loadRrwebModule.esm.cjs";
|
|
4
|
+
//#region src/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts
|
|
5
|
+
declare class ReplayInstrumentation extends MXLInstrumentationBase {
|
|
6
|
+
private readonly _flushIntervalMs;
|
|
7
|
+
private readonly _maxBufferSize;
|
|
8
|
+
private readonly _recordUserSessions;
|
|
9
|
+
private readonly _rrwebUserOptions;
|
|
10
|
+
private readonly _debug;
|
|
11
|
+
private _eventBuffer;
|
|
12
|
+
private _flushIntervalId?;
|
|
13
|
+
private _removeSessionEndListener?;
|
|
14
|
+
private _removeSessionStartedListener?;
|
|
15
|
+
private _stopRecording?;
|
|
16
|
+
private _rrwebModule?;
|
|
17
|
+
private _mutationRateLimiter?;
|
|
18
|
+
private _lastKnownSession;
|
|
19
|
+
private _sessionStartTime;
|
|
20
|
+
private _paused;
|
|
21
|
+
private _enableRequested;
|
|
22
|
+
private _startInProgress;
|
|
23
|
+
private _queuedFullSnapshotTimeout?;
|
|
24
|
+
private _destroyed;
|
|
25
|
+
constructor({
|
|
26
|
+
diag,
|
|
27
|
+
perf,
|
|
28
|
+
flushIntervalMs,
|
|
29
|
+
maxBufferSize,
|
|
30
|
+
recordUserSessions,
|
|
31
|
+
rrwebOptions
|
|
32
|
+
}?: ReplayInstrumentationArgs);
|
|
33
|
+
setUserSessionManager(userSessionManager: Parameters<MXLInstrumentationBase['setUserSessionManager']>[0]): void;
|
|
34
|
+
isRecording(): boolean;
|
|
35
|
+
enable(options?: {
|
|
36
|
+
force?: boolean;
|
|
37
|
+
}): void;
|
|
38
|
+
pause(): void;
|
|
39
|
+
resume(): void;
|
|
40
|
+
private _scheduleFlush;
|
|
41
|
+
disable(): void;
|
|
42
|
+
private _registerSessionEndListener;
|
|
43
|
+
private _tryStartRecording;
|
|
44
|
+
private readonly _onEvent;
|
|
45
|
+
private _flush;
|
|
46
|
+
private _emitEventBatches;
|
|
47
|
+
private _emitBatch;
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { ReplayInstrumentation, loadRrwebModule, resetRrwebModuleCacheForTests, setRrwebModuleLoaderForTests };
|
|
51
|
+
//# sourceMappingURL=ReplayInstrumentation.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReplayInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.ts"],"mappings":";;;;cAsBa,qBAAA,SAA8B,sBAAA;EAAA,iBACxB,gBAAA;EAAA,iBACA,cAAA;EAAA,iBACA,mBAAA;EAAA,iBACA,iBAAA;EAAA,iBACA,MAAA;EAAA,QAET,YAAA;EAAA,QACA,gBAAA;EAAA,QACA,yBAAA;EAAA,QACA,6BAAA;EAAA,QACA,cAAA;EAAA,QACA,YAAA;EAAA,QACA,oBAAA;EAAA,QACA,iBAAA;EAAA,QACA,iBAAA;EAAA,QACA,OAAA;EAAA,QACA,gBAAA;EAAA,QACA,gBAAA;EAAA,QACA,0BAAA;EAAA,QACA,UAAA;;IAGN,IAAA;IACA,IAAA;IACA,eAAA;IACA,aAAA;IACA,kBAAA;IACA;EAAA,IACC,yBAAA;EAoBa,qBAAA,CACd,kBAAA,EAAoB,UAAA,CAClB,sBAAA;EAOG,WAAA,CAAA;EAIA,MAAA,CAAO,OAAA;IAAY,KAAA;EAAA;EAanB,KAAA,CAAA;EAWA,MAAA,CAAA;EAAA,QAgBC,cAAA;EAoBD,OAAA,CAAA;EAAA,QAyBC,2BAAA;EAAA,QAgBM,kBAAA;EAAA,iBAgFG,QAAA;EAAA,QAkCT,MAAA;EAAA,QAgBA,iBAAA;EAAA,QA4BA,UAAA;AAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
+
import { ReplayInstrumentationArgs } from "./types.js";
|
|
3
|
+
import { loadRrwebModule, resetRrwebModuleCacheForTests, setRrwebModuleLoaderForTests } from "../rrwebLoader/loadRrwebModule.esm.js";
|
|
4
|
+
//#region src/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.d.ts
|
|
5
|
+
declare class ReplayInstrumentation extends MXLInstrumentationBase {
|
|
6
|
+
private readonly _flushIntervalMs;
|
|
7
|
+
private readonly _maxBufferSize;
|
|
8
|
+
private readonly _recordUserSessions;
|
|
9
|
+
private readonly _rrwebUserOptions;
|
|
10
|
+
private readonly _debug;
|
|
11
|
+
private _eventBuffer;
|
|
12
|
+
private _flushIntervalId?;
|
|
13
|
+
private _removeSessionEndListener?;
|
|
14
|
+
private _removeSessionStartedListener?;
|
|
15
|
+
private _stopRecording?;
|
|
16
|
+
private _rrwebModule?;
|
|
17
|
+
private _mutationRateLimiter?;
|
|
18
|
+
private _lastKnownSession;
|
|
19
|
+
private _sessionStartTime;
|
|
20
|
+
private _paused;
|
|
21
|
+
private _enableRequested;
|
|
22
|
+
private _startInProgress;
|
|
23
|
+
private _queuedFullSnapshotTimeout?;
|
|
24
|
+
private _destroyed;
|
|
25
|
+
constructor({
|
|
26
|
+
diag,
|
|
27
|
+
perf,
|
|
28
|
+
flushIntervalMs,
|
|
29
|
+
maxBufferSize,
|
|
30
|
+
recordUserSessions,
|
|
31
|
+
rrwebOptions
|
|
32
|
+
}?: ReplayInstrumentationArgs);
|
|
33
|
+
setUserSessionManager(userSessionManager: Parameters<MXLInstrumentationBase['setUserSessionManager']>[0]): void;
|
|
34
|
+
isRecording(): boolean;
|
|
35
|
+
enable(options?: {
|
|
36
|
+
force?: boolean;
|
|
37
|
+
}): void;
|
|
38
|
+
pause(): void;
|
|
39
|
+
resume(): void;
|
|
40
|
+
private _scheduleFlush;
|
|
41
|
+
disable(): void;
|
|
42
|
+
private _registerSessionEndListener;
|
|
43
|
+
private _tryStartRecording;
|
|
44
|
+
private readonly _onEvent;
|
|
45
|
+
private _flush;
|
|
46
|
+
private _emitEventBatches;
|
|
47
|
+
private _emitBatch;
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { ReplayInstrumentation, loadRrwebModule, resetRrwebModuleCacheForTests, setRrwebModuleLoaderForTests };
|
|
51
|
+
//# sourceMappingURL=ReplayInstrumentation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReplayInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.ts"],"mappings":";;;;cAsBa,qBAAA,SAA8B,sBAAA;EAAA,iBACxB,gBAAA;EAAA,iBACA,cAAA;EAAA,iBACA,mBAAA;EAAA,iBACA,iBAAA;EAAA,iBACA,MAAA;EAAA,QAET,YAAA;EAAA,QACA,gBAAA;EAAA,QACA,yBAAA;EAAA,QACA,6BAAA;EAAA,QACA,cAAA;EAAA,QACA,YAAA;EAAA,QACA,oBAAA;EAAA,QACA,iBAAA;EAAA,QACA,iBAAA;EAAA,QACA,OAAA;EAAA,QACA,gBAAA;EAAA,QACA,gBAAA;EAAA,QACA,0BAAA;EAAA,QACA,UAAA;;IAGN,IAAA;IACA,IAAA;IACA,eAAA;IACA,aAAA;IACA,kBAAA;IACA;EAAA,IACC,yBAAA;EAoBa,qBAAA,CACd,kBAAA,EAAoB,UAAA,CAClB,sBAAA;EAOG,WAAA,CAAA;EAIA,MAAA,CAAO,OAAA;IAAY,KAAA;EAAA;EAanB,KAAA,CAAA;EAWA,MAAA,CAAA;EAAA,QAgBC,cAAA;EAoBD,OAAA,CAAA;EAAA,QAyBC,2BAAA;EAAA,QAgBM,kBAAA;EAAA,iBAgFG,QAAA;EAAA,QAkCT,MAAA;EAAA,QAgBA,iBAAA;EAAA,QA4BA,UAAA;AAAA"}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
import { KEY_MXL_TYPE } from "../../../constants/attributes.js";
|
|
2
|
+
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
3
|
+
import { MutationRateLimiter, ensureStringifiedMaxMessageSize } from "../utils/session-recording-utils.js";
|
|
4
|
+
import { DEFAULT_FLUSH_INTERVAL_MS, KEY_REPLAY_COUNT, KEY_REPLAY_EVENTS } from "./constants.js";
|
|
5
|
+
import { loadRrwebModule, resetRrwebModuleCacheForTests, setRrwebModuleLoaderForTests } from "../rrwebLoader/loadRrwebModule.esm.js";
|
|
6
|
+
import { SeverityNumber } from "@opentelemetry/api-logs";
|
|
7
|
+
//#region src/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.ts
|
|
8
|
+
var ReplayInstrumentation = class extends MXLInstrumentationBase {
|
|
9
|
+
_flushIntervalMs;
|
|
10
|
+
_maxBufferSize;
|
|
11
|
+
_recordUserSessions;
|
|
12
|
+
_rrwebUserOptions;
|
|
13
|
+
_debug;
|
|
14
|
+
_eventBuffer = [];
|
|
15
|
+
_flushIntervalId;
|
|
16
|
+
_removeSessionEndListener;
|
|
17
|
+
_removeSessionStartedListener;
|
|
18
|
+
_stopRecording;
|
|
19
|
+
_rrwebModule;
|
|
20
|
+
_mutationRateLimiter;
|
|
21
|
+
_lastKnownSession = "";
|
|
22
|
+
_sessionStartTime = 0;
|
|
23
|
+
_paused = false;
|
|
24
|
+
_enableRequested = false;
|
|
25
|
+
_startInProgress = false;
|
|
26
|
+
_queuedFullSnapshotTimeout;
|
|
27
|
+
_destroyed = false;
|
|
28
|
+
constructor({ diag, perf, flushIntervalMs = DEFAULT_FLUSH_INTERVAL_MS, maxBufferSize = 50, recordUserSessions = true, rrwebOptions } = {}) {
|
|
29
|
+
super({
|
|
30
|
+
config: {},
|
|
31
|
+
diag,
|
|
32
|
+
instrumentationName: "ReplayInstrumentation",
|
|
33
|
+
instrumentationVersion: "1.0.0",
|
|
34
|
+
perf
|
|
35
|
+
});
|
|
36
|
+
this._flushIntervalMs = flushIntervalMs;
|
|
37
|
+
this._maxBufferSize = maxBufferSize;
|
|
38
|
+
this._recordUserSessions = recordUserSessions;
|
|
39
|
+
this._debug = rrwebOptions?.debug ?? false;
|
|
40
|
+
this._rrwebUserOptions = rrwebOptions;
|
|
41
|
+
if (!this._config.enabled) this._diag.debug("disabled, not starting");
|
|
42
|
+
}
|
|
43
|
+
setUserSessionManager(userSessionManager) {
|
|
44
|
+
super.setUserSessionManager(userSessionManager);
|
|
45
|
+
this._registerSessionEndListener();
|
|
46
|
+
}
|
|
47
|
+
isRecording() {
|
|
48
|
+
return Boolean(this._stopRecording) && !this._paused;
|
|
49
|
+
}
|
|
50
|
+
enable(options) {
|
|
51
|
+
if (!this._recordUserSessions && !options?.force) {
|
|
52
|
+
this._diag.debug("recordUserSessions disabled, waiting for manual enable");
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
this._enableRequested = true;
|
|
56
|
+
this._paused = false;
|
|
57
|
+
this._tryStartRecording();
|
|
58
|
+
}
|
|
59
|
+
pause() {
|
|
60
|
+
if (!this._stopRecording) return;
|
|
61
|
+
this._enableRequested = false;
|
|
62
|
+
this._paused = true;
|
|
63
|
+
clearTimeout(this._flushIntervalId);
|
|
64
|
+
this._flushIntervalId = void 0;
|
|
65
|
+
}
|
|
66
|
+
resume() {
|
|
67
|
+
if (!this._stopRecording) {
|
|
68
|
+
this.enable();
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
const wasPaused = this._paused;
|
|
72
|
+
this._enableRequested = true;
|
|
73
|
+
this._paused = false;
|
|
74
|
+
if (wasPaused) {
|
|
75
|
+
this._scheduleFlush();
|
|
76
|
+
this._rrwebModule?.record.takeFullSnapshot();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
_scheduleFlush() {
|
|
80
|
+
if (this._destroyed || this._flushIntervalId || this._paused || !this._stopRecording) return;
|
|
81
|
+
this._flushIntervalId = setTimeout(() => {
|
|
82
|
+
this._flushIntervalId = void 0;
|
|
83
|
+
if (this._destroyed || this._paused || !this._stopRecording) return;
|
|
84
|
+
this._flush();
|
|
85
|
+
this._scheduleFlush();
|
|
86
|
+
}, this._flushIntervalMs);
|
|
87
|
+
}
|
|
88
|
+
disable() {
|
|
89
|
+
this._destroyed = true;
|
|
90
|
+
this._enableRequested = false;
|
|
91
|
+
this._paused = false;
|
|
92
|
+
clearTimeout(this._flushIntervalId);
|
|
93
|
+
this._flushIntervalId = void 0;
|
|
94
|
+
this._removeSessionEndListener?.();
|
|
95
|
+
this._removeSessionEndListener = void 0;
|
|
96
|
+
this._removeSessionStartedListener?.();
|
|
97
|
+
this._removeSessionStartedListener = void 0;
|
|
98
|
+
clearTimeout(this._queuedFullSnapshotTimeout);
|
|
99
|
+
this._queuedFullSnapshotTimeout = void 0;
|
|
100
|
+
if (this._stopRecording) {
|
|
101
|
+
this._diag.debug("stopping recording");
|
|
102
|
+
this._stopRecording();
|
|
103
|
+
this._stopRecording = void 0;
|
|
104
|
+
this._flush();
|
|
105
|
+
}
|
|
106
|
+
this._mutationRateLimiter?.destroy();
|
|
107
|
+
this._mutationRateLimiter = void 0;
|
|
108
|
+
}
|
|
109
|
+
_registerSessionEndListener() {
|
|
110
|
+
if (!this._stopRecording) return;
|
|
111
|
+
this._removeSessionEndListener?.();
|
|
112
|
+
this._removeSessionEndListener = this.userSessionManager.addSessionPartEndedListener(() => {
|
|
113
|
+
try {
|
|
114
|
+
this._flush();
|
|
115
|
+
} catch (error) {
|
|
116
|
+
this._diag.error("error flushing on session end", error);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
async _tryStartRecording() {
|
|
121
|
+
if (!this._enableRequested || this._stopRecording || this._startInProgress) return;
|
|
122
|
+
if (typeof window === "undefined") {
|
|
123
|
+
this._diag.warn("session replay cannot run in non-browser environments");
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
if (this.userSessionManager.getUserSessionId() === null) {
|
|
127
|
+
if (!this._removeSessionStartedListener) this._removeSessionStartedListener = this.userSessionManager.addSessionPartStartedListener(() => {
|
|
128
|
+
this._removeSessionStartedListener?.();
|
|
129
|
+
this._removeSessionStartedListener = void 0;
|
|
130
|
+
this._tryStartRecording();
|
|
131
|
+
});
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
this._startInProgress = true;
|
|
135
|
+
try {
|
|
136
|
+
this._rrwebModule = await loadRrwebModule();
|
|
137
|
+
if (!this._enableRequested || this._stopRecording) return;
|
|
138
|
+
this._lastKnownSession = this.userSessionManager.getUserSessionId() ?? "";
|
|
139
|
+
this._sessionStartTime = Date.now();
|
|
140
|
+
const { record } = this._rrwebModule;
|
|
141
|
+
const { debug: _debug, ...rrwebOptions } = this._rrwebUserOptions ?? {};
|
|
142
|
+
this._mutationRateLimiter = this._mutationRateLimiter ?? new MutationRateLimiter(record, { onBlockedNode: (id, node) => {
|
|
143
|
+
const message = `MXL Session Replay: Rate limiting recording mutations on node ${id}. This can be due to excessive animations.`;
|
|
144
|
+
if (this._debug) console.warn(message, node);
|
|
145
|
+
clearTimeout(this._queuedFullSnapshotTimeout);
|
|
146
|
+
this._queuedFullSnapshotTimeout = setTimeout(() => {
|
|
147
|
+
record.takeFullSnapshot();
|
|
148
|
+
}, 1e3);
|
|
149
|
+
} });
|
|
150
|
+
const stopFn = record({
|
|
151
|
+
maskAllInputs: true,
|
|
152
|
+
maskTextSelector: "*",
|
|
153
|
+
...rrwebOptions,
|
|
154
|
+
emit: this._onEvent
|
|
155
|
+
});
|
|
156
|
+
if (!stopFn) {
|
|
157
|
+
this._diag.warn("record() returned undefined, did not start");
|
|
158
|
+
return;
|
|
159
|
+
}
|
|
160
|
+
this._stopRecording = stopFn;
|
|
161
|
+
this._scheduleFlush();
|
|
162
|
+
this._registerSessionEndListener();
|
|
163
|
+
this._diag.debug("recording started");
|
|
164
|
+
} catch (error) {
|
|
165
|
+
this._diag.error("failed to start recording", error);
|
|
166
|
+
} finally {
|
|
167
|
+
this._startInProgress = false;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
_onEvent = (srcEvent) => {
|
|
171
|
+
if (this._paused) return;
|
|
172
|
+
const currentSession = this.userSessionManager.getUserSessionId() ?? "";
|
|
173
|
+
if (currentSession !== this._lastKnownSession) {
|
|
174
|
+
if (typeof document !== "undefined" && document.hidden) return;
|
|
175
|
+
this._lastKnownSession = currentSession;
|
|
176
|
+
this._sessionStartTime = Date.now();
|
|
177
|
+
this._rrwebModule?.record.takeFullSnapshot();
|
|
178
|
+
}
|
|
179
|
+
if (srcEvent.timestamp > this._sessionStartTime + 1446e4) return;
|
|
180
|
+
const event = this._mutationRateLimiter ? this._mutationRateLimiter.throttleMutations(srcEvent) : srcEvent;
|
|
181
|
+
if (!event) return;
|
|
182
|
+
this._diag.debug("event received", event.type);
|
|
183
|
+
this._eventBuffer.push(event);
|
|
184
|
+
if (this._eventBuffer.length >= this._maxBufferSize) this._flush();
|
|
185
|
+
};
|
|
186
|
+
_flush() {
|
|
187
|
+
if (this._eventBuffer.length === 0 || this._paused) return;
|
|
188
|
+
this._diag.debug("flushing", this._eventBuffer.length, "events");
|
|
189
|
+
const events = this._eventBuffer;
|
|
190
|
+
this._eventBuffer = [];
|
|
191
|
+
try {
|
|
192
|
+
this._emitEventBatches(events);
|
|
193
|
+
} catch (error) {
|
|
194
|
+
this._diag.error("failed to save events", error);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
_emitEventBatches(events) {
|
|
198
|
+
let batchStart = 0;
|
|
199
|
+
while (batchStart < events.length) {
|
|
200
|
+
let batchEnd = events.length;
|
|
201
|
+
while (batchEnd > batchStart) {
|
|
202
|
+
const slice = events.slice(batchStart, batchEnd);
|
|
203
|
+
const json = ensureStringifiedMaxMessageSize(JSON.stringify(slice));
|
|
204
|
+
if (json.length <= 5e6) {
|
|
205
|
+
this._emitBatch(slice, json);
|
|
206
|
+
batchStart = batchEnd;
|
|
207
|
+
break;
|
|
208
|
+
}
|
|
209
|
+
batchEnd--;
|
|
210
|
+
}
|
|
211
|
+
if (batchEnd === batchStart) {
|
|
212
|
+
const slice = events.slice(batchStart, batchStart + 1);
|
|
213
|
+
const json = ensureStringifiedMaxMessageSize(JSON.stringify(slice));
|
|
214
|
+
this._emitBatch(slice, json);
|
|
215
|
+
batchStart++;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
_emitBatch(events, json) {
|
|
220
|
+
if (this._debug) console.log("replay batch", events.length, json.length);
|
|
221
|
+
this.logger.emit({
|
|
222
|
+
attributes: {
|
|
223
|
+
[KEY_MXL_TYPE]: "ux.replay",
|
|
224
|
+
[KEY_REPLAY_EVENTS]: json,
|
|
225
|
+
[KEY_REPLAY_COUNT]: events.length
|
|
226
|
+
},
|
|
227
|
+
eventName: "replay",
|
|
228
|
+
severityNumber: SeverityNumber.INFO
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
//#endregion
|
|
233
|
+
export { ReplayInstrumentation, loadRrwebModule, resetRrwebModuleCacheForTests, setRrwebModuleLoaderForTests };
|
|
234
|
+
|
|
235
|
+
//# sourceMappingURL=ReplayInstrumentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReplayInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/replay/ReplayInstrumentation/ReplayInstrumentation.ts"],"sourcesContent":["import { SeverityNumber } from '@opentelemetry/api-logs';\nimport type { eventWithTime } from 'rrweb';\nimport { KEY_MXL_TYPE, MXL_TYPES } from '../../../constants/attributes';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/MXLInstrumentationBase';\nimport { MAX_MESSAGE_SIZE, MutationRateLimiter, ensureStringifiedMaxMessageSize } from '../utils/session-recording-utils';\nimport {\n DEFAULT_FLUSH_INTERVAL_MS,\n DEFAULT_MAX_BUFFER_SIZE,\n KEY_REPLAY_COUNT,\n KEY_REPLAY_EVENTS,\n MAX_RECORDING_LENGTH_MS,\n} from './constants';\nimport { loadRrwebModule } from '../rrwebLoader/loadRrwebModule';\nimport type { RrwebModule } from '../rrwebLoader/types';\nimport type { ReplayInstrumentationArgs } from './types';\n\nexport {\n loadRrwebModule,\n resetRrwebModuleCacheForTests,\n setRrwebModuleLoaderForTests,\n} from '../rrwebLoader/loadRrwebModule';\n\nexport class ReplayInstrumentation extends MXLInstrumentationBase {\n private readonly _flushIntervalMs: number;\n private readonly _maxBufferSize: number;\n private readonly _recordUserSessions: boolean;\n private readonly _rrwebUserOptions: ReplayInstrumentationArgs['rrwebOptions'];\n private readonly _debug: boolean;\n\n private _eventBuffer: eventWithTime[] = [];\n private _flushIntervalId?: ReturnType<typeof setTimeout>;\n private _removeSessionEndListener?: () => void;\n private _removeSessionStartedListener?: () => void;\n private _stopRecording?: () => void;\n private _rrwebModule?: RrwebModule;\n private _mutationRateLimiter?: MutationRateLimiter;\n private _lastKnownSession = '';\n private _sessionStartTime = 0;\n private _paused = false;\n private _enableRequested = false;\n private _startInProgress = false;\n private _queuedFullSnapshotTimeout?: ReturnType<typeof setTimeout>;\n private _destroyed = false;\n\n public constructor({\n diag,\n perf,\n flushIntervalMs = DEFAULT_FLUSH_INTERVAL_MS,\n maxBufferSize = DEFAULT_MAX_BUFFER_SIZE,\n recordUserSessions = true,\n rrwebOptions,\n }: ReplayInstrumentationArgs = {}) {\n super({\n config: {},\n diag,\n instrumentationName: 'ReplayInstrumentation',\n instrumentationVersion: '1.0.0',\n perf,\n });\n\n this._flushIntervalMs = flushIntervalMs;\n this._maxBufferSize = maxBufferSize;\n this._recordUserSessions = recordUserSessions;\n this._debug = rrwebOptions?.debug ?? false;\n this._rrwebUserOptions = rrwebOptions;\n\n if (!this._config.enabled) {\n this._diag.debug('disabled, not starting');\n }\n }\n\n public override setUserSessionManager(\n userSessionManager: Parameters<\n MXLInstrumentationBase['setUserSessionManager']\n >[0],\n ): void {\n super.setUserSessionManager(userSessionManager);\n this._registerSessionEndListener();\n }\n\n public isRecording(): boolean {\n return Boolean(this._stopRecording) && !this._paused;\n }\n\n public enable(options?: { force?: boolean }): void {\n if (!this._recordUserSessions && !options?.force) {\n this._diag.debug(\n 'recordUserSessions disabled, waiting for manual enable',\n );\n return;\n }\n\n this._enableRequested = true;\n this._paused = false;\n void this._tryStartRecording();\n }\n\n public pause(): void {\n if (!this._stopRecording) {\n return;\n }\n\n this._enableRequested = false;\n this._paused = true;\n clearTimeout(this._flushIntervalId);\n this._flushIntervalId = undefined;\n }\n\n public resume(): void {\n if (!this._stopRecording) {\n this.enable();\n return;\n }\n\n const wasPaused = this._paused;\n this._enableRequested = true;\n this._paused = false;\n\n if (wasPaused) {\n this._scheduleFlush();\n this._rrwebModule?.record.takeFullSnapshot();\n }\n }\n\n private _scheduleFlush(): void {\n if (\n this._destroyed ||\n this._flushIntervalId ||\n this._paused ||\n !this._stopRecording\n ) {\n return;\n }\n\n this._flushIntervalId = setTimeout(() => {\n this._flushIntervalId = undefined;\n if (this._destroyed || this._paused || !this._stopRecording) {\n return;\n }\n this._flush();\n this._scheduleFlush();\n }, this._flushIntervalMs);\n }\n\n public disable(): void {\n this._destroyed = true;\n this._enableRequested = false;\n this._paused = false;\n\n clearTimeout(this._flushIntervalId);\n this._flushIntervalId = undefined;\n this._removeSessionEndListener?.();\n this._removeSessionEndListener = undefined;\n this._removeSessionStartedListener?.();\n this._removeSessionStartedListener = undefined;\n clearTimeout(this._queuedFullSnapshotTimeout);\n this._queuedFullSnapshotTimeout = undefined;\n\n if (this._stopRecording) {\n this._diag.debug('stopping recording');\n this._stopRecording();\n this._stopRecording = undefined;\n this._flush();\n }\n\n this._mutationRateLimiter?.destroy();\n this._mutationRateLimiter = undefined;\n }\n\n private _registerSessionEndListener(): void {\n if (!this._stopRecording) {\n return;\n }\n\n this._removeSessionEndListener?.();\n this._removeSessionEndListener =\n this.userSessionManager.addSessionPartEndedListener(() => {\n try {\n this._flush();\n } catch (error) {\n this._diag.error('error flushing on session end', error);\n }\n });\n }\n\n private async _tryStartRecording(): Promise<void> {\n if (\n !this._enableRequested ||\n this._stopRecording ||\n this._startInProgress\n ) {\n return;\n }\n\n if (typeof window === 'undefined') {\n this._diag.warn('session replay cannot run in non-browser environments');\n return;\n }\n\n if (this.userSessionManager.getUserSessionId() === null) {\n if (!this._removeSessionStartedListener) {\n this._removeSessionStartedListener =\n this.userSessionManager.addSessionPartStartedListener(() => {\n this._removeSessionStartedListener?.();\n this._removeSessionStartedListener = undefined;\n void this._tryStartRecording();\n });\n }\n return;\n }\n\n this._startInProgress = true;\n\n try {\n this._rrwebModule = await loadRrwebModule();\n if (!this._enableRequested || this._stopRecording) {\n return;\n }\n\n this._lastKnownSession = this.userSessionManager.getUserSessionId() ?? '';\n this._sessionStartTime = Date.now();\n\n const { record } = this._rrwebModule;\n const { debug: _debug, ...rrwebOptions } = this._rrwebUserOptions ?? {};\n\n this._mutationRateLimiter =\n this._mutationRateLimiter ??\n new MutationRateLimiter(record, {\n onBlockedNode: (id, node) => {\n const message = `MXL Session Replay: Rate limiting recording mutations on node ${id}. This can be due to excessive animations.`;\n if (this._debug) {\n // oxlint-disable-next-line no-console -- debug-only replay diagnostics\n console.warn(message, node);\n }\n\n clearTimeout(this._queuedFullSnapshotTimeout);\n this._queuedFullSnapshotTimeout = setTimeout(() => {\n record.takeFullSnapshot();\n }, 1000);\n },\n });\n\n const stopFn = record({\n maskAllInputs: true,\n maskTextSelector: '*',\n ...rrwebOptions,\n emit: this._onEvent,\n });\n\n if (!stopFn) {\n this._diag.warn('record() returned undefined, did not start');\n return;\n }\n\n this._stopRecording = stopFn;\n this._scheduleFlush();\n this._registerSessionEndListener();\n this._diag.debug('recording started');\n } catch (error) {\n this._diag.error('failed to start recording', error);\n } finally {\n this._startInProgress = false;\n }\n }\n\n private readonly _onEvent = (srcEvent: eventWithTime) => {\n if (this._paused) {\n return;\n }\n\n const currentSession = this.userSessionManager.getUserSessionId() ?? '';\n if (currentSession !== this._lastKnownSession) {\n if (typeof document !== 'undefined' && document.hidden) {\n return;\n }\n this._lastKnownSession = currentSession;\n this._sessionStartTime = Date.now();\n this._rrwebModule?.record.takeFullSnapshot();\n }\n\n if (srcEvent.timestamp > this._sessionStartTime + MAX_RECORDING_LENGTH_MS) {\n return;\n }\n\n const event = this._mutationRateLimiter\n ? this._mutationRateLimiter.throttleMutations(srcEvent)\n : srcEvent;\n\n if (!event) {\n return;\n }\n\n this._diag.debug('event received', event.type);\n this._eventBuffer.push(event);\n if (this._eventBuffer.length >= this._maxBufferSize) {\n this._flush();\n }\n };\n\n private _flush(): void {\n if (this._eventBuffer.length === 0 || this._paused) {\n return;\n }\n\n this._diag.debug('flushing', this._eventBuffer.length, 'events');\n const events = this._eventBuffer;\n this._eventBuffer = [];\n\n try {\n this._emitEventBatches(events);\n } catch (error) {\n this._diag.error('failed to save events', error);\n }\n }\n\n private _emitEventBatches(events: eventWithTime[]): void {\n let batchStart = 0;\n\n while (batchStart < events.length) {\n let batchEnd = events.length;\n\n while (batchEnd > batchStart) {\n const slice = events.slice(batchStart, batchEnd);\n const json = ensureStringifiedMaxMessageSize(JSON.stringify(slice));\n\n if (json.length <= MAX_MESSAGE_SIZE) {\n this._emitBatch(slice, json);\n batchStart = batchEnd;\n break;\n }\n\n batchEnd--;\n }\n\n if (batchEnd === batchStart) {\n const slice = events.slice(batchStart, batchStart + 1);\n const json = ensureStringifiedMaxMessageSize(JSON.stringify(slice));\n this._emitBatch(slice, json);\n batchStart++;\n }\n }\n }\n\n private _emitBatch(events: eventWithTime[], json: string): void {\n if (this._debug) {\n // oxlint-disable-next-line no-console -- debug-only replay diagnostics\n console.log('replay batch', events.length, json.length);\n }\n\n this.logger.emit({\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.Replay,\n [KEY_REPLAY_EVENTS]: json,\n [KEY_REPLAY_COUNT]: events.length,\n },\n eventName: 'replay',\n severityNumber: SeverityNumber.INFO,\n });\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
//#region src/instrumentations/replay/ReplayInstrumentation/constants.ts
|
|
3
|
+
const DEFAULT_FLUSH_INTERVAL_MS = 3e3;
|
|
4
|
+
const DEFAULT_MAX_BUFFER_SIZE = 50;
|
|
5
|
+
const MAX_RECORDING_LENGTH_MS = 14460 * 1e3;
|
|
6
|
+
const KEY_REPLAY_EVENTS = "replay.events";
|
|
7
|
+
const KEY_REPLAY_COUNT = "replay.count";
|
|
8
|
+
//#endregion
|
|
9
|
+
exports.DEFAULT_FLUSH_INTERVAL_MS = DEFAULT_FLUSH_INTERVAL_MS;
|
|
10
|
+
exports.DEFAULT_MAX_BUFFER_SIZE = DEFAULT_MAX_BUFFER_SIZE;
|
|
11
|
+
exports.KEY_REPLAY_COUNT = KEY_REPLAY_COUNT;
|
|
12
|
+
exports.KEY_REPLAY_EVENTS = KEY_REPLAY_EVENTS;
|
|
13
|
+
exports.MAX_RECORDING_LENGTH_MS = MAX_RECORDING_LENGTH_MS;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=constants.cjs.map
|