@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,32 @@
|
|
|
1
|
+
import { eventWithTime, record } from "rrweb";
|
|
2
|
+
|
|
3
|
+
//#region src/instrumentations/replay/utils/session-recording-utils.d.ts
|
|
4
|
+
type rrwebRecord = typeof record;
|
|
5
|
+
declare const replacementImageURI = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNOCAwSDE2TDAgMTZWOEw4IDBaIiBmaWxsPSIjMkQyRDJEIi8+CjxwYXRoIGQ9Ik0xNiA4VjE2SDhMMTYgOFoiIGZpbGw9IiMyRDJEMkQiLz4KPC9zdmc+Cg==";
|
|
6
|
+
declare const INCREMENTAL_SNAPSHOT_EVENT_TYPE = 3;
|
|
7
|
+
declare const MUTATION_SOURCE_TYPE = 0;
|
|
8
|
+
declare const MAX_MESSAGE_SIZE = 5000000;
|
|
9
|
+
declare function ensureStringifiedMaxMessageSize(stringifiedData: string): string;
|
|
10
|
+
declare class MutationRateLimiter {
|
|
11
|
+
private readonly rrweb;
|
|
12
|
+
private readonly options;
|
|
13
|
+
private bucketSize;
|
|
14
|
+
private refillRate;
|
|
15
|
+
private mutationBuckets;
|
|
16
|
+
private loggedTracker;
|
|
17
|
+
private lastRefillMs;
|
|
18
|
+
constructor(rrweb: rrwebRecord, options?: {
|
|
19
|
+
bucketSize?: number;
|
|
20
|
+
refillRate?: number;
|
|
21
|
+
onBlockedNode?: (id: number, node: Node | null) => void;
|
|
22
|
+
});
|
|
23
|
+
destroy(): void;
|
|
24
|
+
private maybeRefillBuckets;
|
|
25
|
+
private refillBuckets;
|
|
26
|
+
private getNodeOrRelevantParent;
|
|
27
|
+
private numberOfChanges;
|
|
28
|
+
throttleMutations: (event: eventWithTime) => eventWithTime | undefined;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { INCREMENTAL_SNAPSHOT_EVENT_TYPE, MAX_MESSAGE_SIZE, MUTATION_SOURCE_TYPE, MutationRateLimiter, ensureStringifiedMaxMessageSize, replacementImageURI };
|
|
32
|
+
//# sourceMappingURL=session-recording-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-recording-utils.d.ts","names":[],"sources":["../../../../src/instrumentations/replay/utils/session-recording-utils.ts"],"mappings":";;;KA0BK,WAAA,UAAqB,MAAA;AAAA,cAEb,mBAAA;AAAA,cAGA,+BAAA;AAAA,cACA,oBAAA;AAAA,cAEA,gBAAA;AAAA,iBAEG,+BAAA,CACd,eAAA;AAAA,cAoBW,mBAAA;EAAA,iBAQQ,KAAA;EAAA,iBACA,OAAA;EAAA,QARX,UAAA;EAAA,QACA,UAAA;EAAA,QACA,eAAA;EAAA,QACA,aAAA;EAAA,QACA,YAAA;cAGW,KAAA,EAAO,WAAA,EACP,OAAA;IACf,UAAA;IACA,UAAA;IACA,aAAA,IAAiB,EAAA,UAAY,IAAA,EAAM,IAAA;EAAA;EAOhC,OAAA,CAAA;EAAA,QAIC,kBAAA;EAAA,QASA,aAAA;EAAA,QAUA,uBAAA;EAAA,QAcA,eAAA;EAMD,iBAAA,GAAqB,KAAA,EAAO,aAAA,KAAa,aAAA;AAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
//#region src/instrumentations/replay/utils/session-recording-utils.ts
|
|
2
|
+
const replacementImageURI = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNOCAwSDE2TDAgMTZWOEw4IDBaIiBmaWxsPSIjMkQyRDJEIi8+CjxwYXRoIGQ9Ik0xNiA4VjE2SDhMMTYgOFoiIGZpbGw9IiMyRDJEMkQiLz4KPC9zdmc+Cg==";
|
|
3
|
+
const INCREMENTAL_SNAPSHOT_EVENT_TYPE = 3;
|
|
4
|
+
const MUTATION_SOURCE_TYPE = 0;
|
|
5
|
+
const MAX_MESSAGE_SIZE = 5e6;
|
|
6
|
+
function ensureStringifiedMaxMessageSize(stringifiedData) {
|
|
7
|
+
if (stringifiedData.length > 5e6) {
|
|
8
|
+
const matches = stringifiedData.matchAll(/data:([\w/\-.]+);(\w+),([^)"]*)/gim);
|
|
9
|
+
for (const match of matches) if (match[1].toLocaleLowerCase().slice(0, 6) === "image/") stringifiedData = stringifiedData.replace(match[0], replacementImageURI);
|
|
10
|
+
else stringifiedData = stringifiedData.replace(match[0], "");
|
|
11
|
+
}
|
|
12
|
+
return stringifiedData;
|
|
13
|
+
}
|
|
14
|
+
var MutationRateLimiter = class {
|
|
15
|
+
bucketSize = 100;
|
|
16
|
+
refillRate = 10;
|
|
17
|
+
mutationBuckets = {};
|
|
18
|
+
loggedTracker = {};
|
|
19
|
+
lastRefillMs = 0;
|
|
20
|
+
constructor(rrweb, options = {}) {
|
|
21
|
+
this.rrweb = rrweb;
|
|
22
|
+
this.options = options;
|
|
23
|
+
this.refillRate = this.options.refillRate ?? this.refillRate;
|
|
24
|
+
this.bucketSize = this.options.bucketSize ?? this.bucketSize;
|
|
25
|
+
}
|
|
26
|
+
destroy() {}
|
|
27
|
+
maybeRefillBuckets = (now = Date.now()) => {
|
|
28
|
+
if (now - this.lastRefillMs < 1e3) return;
|
|
29
|
+
this.lastRefillMs = now;
|
|
30
|
+
this.refillBuckets();
|
|
31
|
+
};
|
|
32
|
+
refillBuckets = () => {
|
|
33
|
+
Object.keys(this.mutationBuckets).forEach((key) => {
|
|
34
|
+
this.mutationBuckets[key] = this.mutationBuckets[key] + this.refillRate;
|
|
35
|
+
if (this.mutationBuckets[key] >= this.bucketSize) delete this.mutationBuckets[key];
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
getNodeOrRelevantParent = (id) => {
|
|
39
|
+
const node = this.rrweb.mirror.getNode(id);
|
|
40
|
+
if (node?.nodeName !== "svg" && node instanceof Element) {
|
|
41
|
+
const closestSVG = node.closest("svg");
|
|
42
|
+
if (closestSVG) return [this.rrweb.mirror.getId(closestSVG), closestSVG];
|
|
43
|
+
}
|
|
44
|
+
return [id, node];
|
|
45
|
+
};
|
|
46
|
+
numberOfChanges = (data) => (data.removes?.length ?? 0) + (data.attributes?.length ?? 0) + (data.texts?.length ?? 0) + (data.adds?.length ?? 0);
|
|
47
|
+
throttleMutations = (event) => {
|
|
48
|
+
this.maybeRefillBuckets();
|
|
49
|
+
if (event.type !== 3 || typeof event.data !== "object" || event.data === null || !("source" in event.data) || event.data.source !== 0) return event;
|
|
50
|
+
const data = event.data;
|
|
51
|
+
const initialMutationCount = this.numberOfChanges(data);
|
|
52
|
+
if (data.attributes) data.attributes = data.attributes.filter((attr) => {
|
|
53
|
+
const [nodeId, node] = this.getNodeOrRelevantParent(attr.id);
|
|
54
|
+
if (this.mutationBuckets[nodeId] === 0) return false;
|
|
55
|
+
this.mutationBuckets[nodeId] = this.mutationBuckets[nodeId] ?? this.bucketSize;
|
|
56
|
+
this.mutationBuckets[nodeId] = Math.max(this.mutationBuckets[nodeId] - 1, 0);
|
|
57
|
+
if (this.mutationBuckets[nodeId] === 0) {
|
|
58
|
+
if (!this.loggedTracker[nodeId]) {
|
|
59
|
+
this.loggedTracker[nodeId] = true;
|
|
60
|
+
this.options.onBlockedNode?.(nodeId, node);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return attr;
|
|
64
|
+
});
|
|
65
|
+
const mutationCount = this.numberOfChanges(data);
|
|
66
|
+
if (mutationCount === 0 && initialMutationCount !== mutationCount) return;
|
|
67
|
+
return event;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
//#endregion
|
|
71
|
+
export { INCREMENTAL_SNAPSHOT_EVENT_TYPE, MAX_MESSAGE_SIZE, MUTATION_SOURCE_TYPE, MutationRateLimiter, ensureStringifiedMaxMessageSize, replacementImageURI };
|
|
72
|
+
|
|
73
|
+
//# sourceMappingURL=session-recording-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-recording-utils.js","names":[],"sources":["../../../../src/instrumentations/replay/utils/session-recording-utils.ts"],"sourcesContent":["/**\nCopyright 2023 DeploySentinel, Inc.\n\nCopyright 2020 Posthog / Hiberly, Inc.\n\nCopyright 2015 Mixpanel, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License below, or at:\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\nSource: https://github.com/PostHog/posthog-js/blob/b6e3855a7f4339fba011e9a747be67c3a9c78955/src/extensions/sessionrecording-utils.ts\n*/\n\nimport type { attributeMutation, mutationCallbackParam } from '@rrweb/types';\nimport type { record } from 'rrweb';\nimport type { eventWithTime } from 'rrweb';\n\ntype rrwebRecord = typeof record;\n\nexport const replacementImageURI =\n 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNOCAwSDE2TDAgMTZWOEw4IDBaIiBmaWxsPSIjMkQyRDJEIi8+CjxwYXRoIGQ9Ik0xNiA4VjE2SDhMMTYgOFoiIGZpbGw9IiMyRDJEMkQiLz4KPC9zdmc+Cg==';\n\nexport const INCREMENTAL_SNAPSHOT_EVENT_TYPE = 3;\nexport const MUTATION_SOURCE_TYPE = 0;\n\nexport const MAX_MESSAGE_SIZE = 5_000_000;\n\nexport function ensureStringifiedMaxMessageSize(\n stringifiedData: string,\n): string {\n if (stringifiedData.length > MAX_MESSAGE_SIZE) {\n const dataURIRegex = /data:([\\w/\\-.]+);(\\w+),([^)\"]*)/gim;\n const matches = stringifiedData.matchAll(dataURIRegex);\n for (const match of matches) {\n if (match[1].toLocaleLowerCase().slice(0, 6) === 'image/') {\n stringifiedData = stringifiedData.replace(\n match[0],\n replacementImageURI,\n );\n } else {\n stringifiedData = stringifiedData.replace(match[0], '');\n }\n }\n }\n\n return stringifiedData;\n}\n\nexport class MutationRateLimiter {\n private bucketSize = 100;\n private refillRate = 10;\n private mutationBuckets: Record<string, number> = {};\n private loggedTracker: Record<string, boolean> = {};\n private lastRefillMs = 0;\n\n public constructor(\n private readonly rrweb: rrwebRecord,\n private readonly options: {\n bucketSize?: number;\n refillRate?: number;\n onBlockedNode?: (id: number, node: Node | null) => void;\n } = {},\n ) {\n this.refillRate = this.options.refillRate ?? this.refillRate;\n this.bucketSize = this.options.bucketSize ?? this.bucketSize;\n }\n\n public destroy(): void {\n // No persistent resources when refilling on demand.\n }\n\n private maybeRefillBuckets = (now = Date.now()) => {\n if (now - this.lastRefillMs < 1000) {\n return;\n }\n\n this.lastRefillMs = now;\n this.refillBuckets();\n };\n\n private refillBuckets = () => {\n Object.keys(this.mutationBuckets).forEach((key) => {\n this.mutationBuckets[key] = this.mutationBuckets[key] + this.refillRate;\n\n if (this.mutationBuckets[key] >= this.bucketSize) {\n delete this.mutationBuckets[key];\n }\n });\n };\n\n private getNodeOrRelevantParent = (id: number): [number, Node | null] => {\n const node = this.rrweb.mirror.getNode(id);\n\n if (node?.nodeName !== 'svg' && node instanceof Element) {\n const closestSVG = node.closest('svg');\n\n if (closestSVG) {\n return [this.rrweb.mirror.getId(closestSVG), closestSVG];\n }\n }\n\n return [id, node];\n };\n\n private numberOfChanges = (data: Partial<mutationCallbackParam>) =>\n (data.removes?.length ?? 0) +\n (data.attributes?.length ?? 0) +\n (data.texts?.length ?? 0) +\n (data.adds?.length ?? 0);\n\n public throttleMutations = (event: eventWithTime) => {\n this.maybeRefillBuckets();\n\n if (\n event.type !== INCREMENTAL_SNAPSHOT_EVENT_TYPE ||\n typeof event.data !== 'object' ||\n event.data === null ||\n !('source' in event.data) ||\n event.data.source !== MUTATION_SOURCE_TYPE\n ) {\n return event;\n }\n\n const data = event.data as Partial<mutationCallbackParam>;\n const initialMutationCount = this.numberOfChanges(data);\n\n if (data.attributes) {\n data.attributes = data.attributes.filter((attr: attributeMutation) => {\n const [nodeId, node] = this.getNodeOrRelevantParent(attr.id);\n\n if (this.mutationBuckets[nodeId] === 0) {\n return false;\n }\n\n this.mutationBuckets[nodeId] =\n this.mutationBuckets[nodeId] ?? this.bucketSize;\n this.mutationBuckets[nodeId] = Math.max(\n this.mutationBuckets[nodeId] - 1,\n 0,\n );\n\n if (this.mutationBuckets[nodeId] === 0) {\n if (!this.loggedTracker[nodeId]) {\n this.loggedTracker[nodeId] = true;\n this.options.onBlockedNode?.(nodeId, node);\n }\n }\n\n return attr;\n });\n }\n\n const mutationCount = this.numberOfChanges(data);\n\n if (mutationCount === 0 && initialMutationCount !== mutationCount) {\n return;\n }\n return event;\n };\n}\n"],"mappings":";AA4BA,MAAa,sBACX;AAEF,MAAa,kCAAkC;AAC/C,MAAa,uBAAuB;AAEpC,MAAa,mBAAmB;AAEhC,SAAgB,gCACd,iBACQ;AACR,KAAI,gBAAgB,SAAA,KAA2B;EAE7C,MAAM,UAAU,gBAAgB,SAAS,qCAAa;AACtD,OAAK,MAAM,SAAS,QAClB,KAAI,MAAM,GAAG,mBAAmB,CAAC,MAAM,GAAG,EAAE,KAAK,SAC/C,mBAAkB,gBAAgB,QAChC,MAAM,IACN,oBACD;MAED,mBAAkB,gBAAgB,QAAQ,MAAM,IAAI,GAAG;;AAK7D,QAAO;;AAGT,IAAa,sBAAb,MAAiC;CAC/B,aAAqB;CACrB,aAAqB;CACrB,kBAAkD,EAAE;CACpD,gBAAiD,EAAE;CACnD,eAAuB;CAEvB,YACE,OACA,UAII,EAAE,EACN;AANiB,OAAA,QAAA;AACA,OAAA,UAAA;AAMjB,OAAK,aAAa,KAAK,QAAQ,cAAc,KAAK;AAClD,OAAK,aAAa,KAAK,QAAQ,cAAc,KAAK;;CAGpD,UAAuB;CAIvB,sBAA8B,MAAM,KAAK,KAAK,KAAK;AACjD,MAAI,MAAM,KAAK,eAAe,IAC5B;AAGF,OAAK,eAAe;AACpB,OAAK,eAAe;;CAGtB,sBAA8B;AAC5B,SAAO,KAAK,KAAK,gBAAgB,CAAC,SAAS,QAAQ;AACjD,QAAK,gBAAgB,OAAO,KAAK,gBAAgB,OAAO,KAAK;AAE7D,OAAI,KAAK,gBAAgB,QAAQ,KAAK,WACpC,QAAO,KAAK,gBAAgB;IAE9B;;CAGJ,2BAAmC,OAAsC;EACvE,MAAM,OAAO,KAAK,MAAM,OAAO,QAAQ,GAAG;AAE1C,MAAI,MAAM,aAAa,SAAS,gBAAgB,SAAS;GACvD,MAAM,aAAa,KAAK,QAAQ,MAAM;AAEtC,OAAI,WACF,QAAO,CAAC,KAAK,MAAM,OAAO,MAAM,WAAW,EAAE,WAAW;;AAI5D,SAAO,CAAC,IAAI,KAAK;;CAGnB,mBAA2B,UACxB,KAAK,SAAS,UAAU,MACxB,KAAK,YAAY,UAAU,MAC3B,KAAK,OAAO,UAAU,MACtB,KAAK,MAAM,UAAU;CAExB,qBAA4B,UAAyB;AACnD,OAAK,oBAAoB;AAEzB,MACE,MAAM,SAAA,KACN,OAAO,MAAM,SAAS,YACtB,MAAM,SAAS,QACf,EAAE,YAAY,MAAM,SACpB,MAAM,KAAK,WAAA,EAEX,QAAO;EAGT,MAAM,OAAO,MAAM;EACnB,MAAM,uBAAuB,KAAK,gBAAgB,KAAK;AAEvD,MAAI,KAAK,WACP,MAAK,aAAa,KAAK,WAAW,QAAQ,SAA4B;GACpE,MAAM,CAAC,QAAQ,QAAQ,KAAK,wBAAwB,KAAK,GAAG;AAE5D,OAAI,KAAK,gBAAgB,YAAY,EACnC,QAAO;AAGT,QAAK,gBAAgB,UACnB,KAAK,gBAAgB,WAAW,KAAK;AACvC,QAAK,gBAAgB,UAAU,KAAK,IAClC,KAAK,gBAAgB,UAAU,GAC/B,EACD;AAED,OAAI,KAAK,gBAAgB,YAAY;QAC/B,CAAC,KAAK,cAAc,SAAS;AAC/B,UAAK,cAAc,UAAU;AAC7B,UAAK,QAAQ,gBAAgB,QAAQ,KAAK;;;AAI9C,UAAO;IACP;EAGJ,MAAM,gBAAgB,KAAK,gBAAgB,KAAK;AAEhD,MAAI,kBAAkB,KAAK,yBAAyB,cAClD;AAEF,SAAO"}
|
|
@@ -10,12 +10,12 @@ var ServerTimingInstrumentation = class extends require_instrumentations_MXLInst
|
|
|
10
10
|
_performanceCollected = false;
|
|
11
11
|
constructor({ diag, perf, limitManager } = {}) {
|
|
12
12
|
super({
|
|
13
|
+
config: {},
|
|
14
|
+
diag,
|
|
13
15
|
instrumentationName: "ServerTimingInstrumentation",
|
|
14
16
|
instrumentationVersion: "1.0.0",
|
|
15
|
-
diag,
|
|
16
|
-
perf,
|
|
17
17
|
limitManager,
|
|
18
|
-
|
|
18
|
+
perf
|
|
19
19
|
});
|
|
20
20
|
this._onLoad = () => {
|
|
21
21
|
this._readServerTiming();
|
|
@@ -41,14 +41,14 @@ var ServerTimingInstrumentation = class extends require_instrumentations_MXLInst
|
|
|
41
41
|
for (const entry of serverTiming) {
|
|
42
42
|
if (this.limitManager?.limitServerTimingEntry()) return;
|
|
43
43
|
this.logger.emit({
|
|
44
|
-
eventName: require_instrumentations_server_timing_ServerTimingInstrumentation_constants.SERVER_TIMING_EVENT_NAME,
|
|
45
|
-
severityNumber: _opentelemetry_api_logs.SeverityNumber.INFO,
|
|
46
44
|
attributes: {
|
|
47
45
|
[require_constants_attributes.KEY_MXL_TYPE]: "ux.server_timing",
|
|
48
46
|
[require_instrumentations_server_timing_ServerTimingInstrumentation_constants.KEY_MXL_SERVER_TIMING_NAME]: entry.name,
|
|
49
47
|
[require_instrumentations_server_timing_ServerTimingInstrumentation_constants.KEY_MXL_SERVER_TIMING_DURATION]: entry.duration,
|
|
50
48
|
[require_instrumentations_server_timing_ServerTimingInstrumentation_constants.KEY_MXL_SERVER_TIMING_DESCRIPTION]: entry.description
|
|
51
|
-
}
|
|
49
|
+
},
|
|
50
|
+
eventName: require_instrumentations_server_timing_ServerTimingInstrumentation_constants.SERVER_TIMING_EVENT_NAME,
|
|
51
|
+
severityNumber: _opentelemetry_api_logs.SeverityNumber.INFO
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerTimingInstrumentation.cjs","names":["MXLInstrumentationBase","
|
|
1
|
+
{"version":3,"file":"ServerTimingInstrumentation.cjs","names":["MXLInstrumentationBase","KEY_MXL_TYPE","KEY_MXL_SERVER_TIMING_NAME","KEY_MXL_SERVER_TIMING_DURATION","KEY_MXL_SERVER_TIMING_DESCRIPTION","SERVER_TIMING_EVENT_NAME","SeverityNumber"],"sources":["../../../../src/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.ts"],"sourcesContent":["import { SeverityNumber } from '@opentelemetry/api-logs';\nimport { KEY_MXL_TYPE, MXL_TYPES } from '../../../constants/attributes';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/MXLInstrumentationBase';\nimport {\n KEY_MXL_SERVER_TIMING_DESCRIPTION,\n KEY_MXL_SERVER_TIMING_DURATION,\n KEY_MXL_SERVER_TIMING_NAME,\n SERVER_TIMING_EVENT_NAME,\n} from './constants';\nimport type { ServerTimingInstrumentationArgs } from './types';\n\nexport class ServerTimingInstrumentation extends MXLInstrumentationBase {\n private readonly _onLoad: () => void;\n private _performanceCollected = false;\n\n public constructor({\n diag,\n perf,\n limitManager,\n }: ServerTimingInstrumentationArgs = {}) {\n super({\n config: {},\n diag,\n instrumentationName: 'ServerTimingInstrumentation',\n instrumentationVersion: '1.0.0',\n limitManager,\n perf,\n });\n\n this._onLoad = () => {\n this._readServerTiming();\n };\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public enable(): void {\n window.removeEventListener('load', this._onLoad);\n\n if (window.document.readyState === 'complete') {\n this._readServerTiming();\n return;\n }\n\n window.addEventListener('load', this._onLoad);\n }\n\n public disable(): void {\n window.removeEventListener('load', this._onLoad);\n }\n\n private _readServerTiming(): void {\n if (this._performanceCollected) {\n return;\n }\n this._performanceCollected = true;\n\n const navEntries = performance.getEntriesByType(\n 'navigation',\n ) as PerformanceNavigationTiming[];\n const serverTiming = navEntries[0]?.serverTiming;\n\n if (!serverTiming?.length) {\n return;\n }\n\n for (const entry of serverTiming) {\n if (this.limitManager?.limitServerTimingEntry()) {\n return;\n }\n\n this.logger.emit({\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.ServerTiming,\n [KEY_MXL_SERVER_TIMING_NAME]: entry.name,\n [KEY_MXL_SERVER_TIMING_DURATION]: entry.duration,\n [KEY_MXL_SERVER_TIMING_DESCRIPTION]: entry.description,\n },\n eventName: SERVER_TIMING_EVENT_NAME,\n severityNumber: SeverityNumber.INFO,\n });\n }\n }\n}\n"],"mappings":";;;;;;;AAWA,IAAa,8BAAb,cAAiDA,uEAAAA,uBAAuB;CACtE;CACA,wBAAgC;CAEhC,YAAmB,EACjB,MACA,MACA,iBACmC,EAAE,EAAE;AACvC,QAAM;GACJ,QAAQ,EAAE;GACV;GACA,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACD,CAAC;AAEF,OAAK,gBAAgB;AACnB,QAAK,mBAAmB;;AAG1B,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,SAAsB;AACpB,SAAO,oBAAoB,QAAQ,KAAK,QAAQ;AAEhD,MAAI,OAAO,SAAS,eAAe,YAAY;AAC7C,QAAK,mBAAmB;AACxB;;AAGF,SAAO,iBAAiB,QAAQ,KAAK,QAAQ;;CAG/C,UAAuB;AACrB,SAAO,oBAAoB,QAAQ,KAAK,QAAQ;;CAGlD,oBAAkC;AAChC,MAAI,KAAK,sBACP;AAEF,OAAK,wBAAwB;EAK7B,MAAM,eAHa,YAAY,iBAC7B,aAE6B,CAAC,IAAI;AAEpC,MAAI,CAAC,cAAc,OACjB;AAGF,OAAK,MAAM,SAAS,cAAc;AAChC,OAAI,KAAK,cAAc,wBAAwB,CAC7C;AAGF,QAAK,OAAO,KAAK;IACf,YAAY;MACTC,6BAAAA,eAAAA;MACAC,6EAAAA,6BAA6B,MAAM;MACnCC,6EAAAA,iCAAiC,MAAM;MACvCC,6EAAAA,oCAAoC,MAAM;KAC5C;IACD,WAAWC,6EAAAA;IACX,gBAAgBC,wBAAAA,eAAe;IAChC,CAAC"}
|
|
@@ -8,12 +8,12 @@ var ServerTimingInstrumentation = class extends MXLInstrumentationBase {
|
|
|
8
8
|
_performanceCollected = false;
|
|
9
9
|
constructor({ diag, perf, limitManager } = {}) {
|
|
10
10
|
super({
|
|
11
|
+
config: {},
|
|
12
|
+
diag,
|
|
11
13
|
instrumentationName: "ServerTimingInstrumentation",
|
|
12
14
|
instrumentationVersion: "1.0.0",
|
|
13
|
-
diag,
|
|
14
|
-
perf,
|
|
15
15
|
limitManager,
|
|
16
|
-
|
|
16
|
+
perf
|
|
17
17
|
});
|
|
18
18
|
this._onLoad = () => {
|
|
19
19
|
this._readServerTiming();
|
|
@@ -39,14 +39,14 @@ var ServerTimingInstrumentation = class extends MXLInstrumentationBase {
|
|
|
39
39
|
for (const entry of serverTiming) {
|
|
40
40
|
if (this.limitManager?.limitServerTimingEntry()) return;
|
|
41
41
|
this.logger.emit({
|
|
42
|
-
eventName: SERVER_TIMING_EVENT_NAME,
|
|
43
|
-
severityNumber: SeverityNumber.INFO,
|
|
44
42
|
attributes: {
|
|
45
43
|
[KEY_MXL_TYPE]: "ux.server_timing",
|
|
46
44
|
[KEY_MXL_SERVER_TIMING_NAME]: entry.name,
|
|
47
45
|
[KEY_MXL_SERVER_TIMING_DURATION]: entry.duration,
|
|
48
46
|
[KEY_MXL_SERVER_TIMING_DESCRIPTION]: entry.description
|
|
49
|
-
}
|
|
47
|
+
},
|
|
48
|
+
eventName: SERVER_TIMING_EVENT_NAME,
|
|
49
|
+
severityNumber: SeverityNumber.INFO
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerTimingInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.ts"],"sourcesContent":["import { SeverityNumber } from '@opentelemetry/api-logs';\nimport { KEY_MXL_TYPE, MXL_TYPES } from '../../../constants';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase';\nimport {\n KEY_MXL_SERVER_TIMING_DESCRIPTION,\n KEY_MXL_SERVER_TIMING_DURATION,\n KEY_MXL_SERVER_TIMING_NAME,\n SERVER_TIMING_EVENT_NAME,\n} from './constants';\nimport type { ServerTimingInstrumentationArgs } from './types';\n\nexport class ServerTimingInstrumentation extends MXLInstrumentationBase {\n private readonly _onLoad: () => void;\n private _performanceCollected = false;\n\n public constructor({\n diag,\n perf,\n limitManager,\n }: ServerTimingInstrumentationArgs = {}) {\n super({\n instrumentationName: 'ServerTimingInstrumentation',\n instrumentationVersion: '1.0.0',\n
|
|
1
|
+
{"version":3,"file":"ServerTimingInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/server-timing/ServerTimingInstrumentation/ServerTimingInstrumentation.ts"],"sourcesContent":["import { SeverityNumber } from '@opentelemetry/api-logs';\nimport { KEY_MXL_TYPE, MXL_TYPES } from '../../../constants/attributes';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/MXLInstrumentationBase';\nimport {\n KEY_MXL_SERVER_TIMING_DESCRIPTION,\n KEY_MXL_SERVER_TIMING_DURATION,\n KEY_MXL_SERVER_TIMING_NAME,\n SERVER_TIMING_EVENT_NAME,\n} from './constants';\nimport type { ServerTimingInstrumentationArgs } from './types';\n\nexport class ServerTimingInstrumentation extends MXLInstrumentationBase {\n private readonly _onLoad: () => void;\n private _performanceCollected = false;\n\n public constructor({\n diag,\n perf,\n limitManager,\n }: ServerTimingInstrumentationArgs = {}) {\n super({\n config: {},\n diag,\n instrumentationName: 'ServerTimingInstrumentation',\n instrumentationVersion: '1.0.0',\n limitManager,\n perf,\n });\n\n this._onLoad = () => {\n this._readServerTiming();\n };\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public enable(): void {\n window.removeEventListener('load', this._onLoad);\n\n if (window.document.readyState === 'complete') {\n this._readServerTiming();\n return;\n }\n\n window.addEventListener('load', this._onLoad);\n }\n\n public disable(): void {\n window.removeEventListener('load', this._onLoad);\n }\n\n private _readServerTiming(): void {\n if (this._performanceCollected) {\n return;\n }\n this._performanceCollected = true;\n\n const navEntries = performance.getEntriesByType(\n 'navigation',\n ) as PerformanceNavigationTiming[];\n const serverTiming = navEntries[0]?.serverTiming;\n\n if (!serverTiming?.length) {\n return;\n }\n\n for (const entry of serverTiming) {\n if (this.limitManager?.limitServerTimingEntry()) {\n return;\n }\n\n this.logger.emit({\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.ServerTiming,\n [KEY_MXL_SERVER_TIMING_NAME]: entry.name,\n [KEY_MXL_SERVER_TIMING_DURATION]: entry.duration,\n [KEY_MXL_SERVER_TIMING_DESCRIPTION]: entry.description,\n },\n eventName: SERVER_TIMING_EVENT_NAME,\n severityNumber: SeverityNumber.INFO,\n });\n }\n }\n}\n"],"mappings":";;;;;AAWA,IAAa,8BAAb,cAAiD,uBAAuB;CACtE;CACA,wBAAgC;CAEhC,YAAmB,EACjB,MACA,MACA,iBACmC,EAAE,EAAE;AACvC,QAAM;GACJ,QAAQ,EAAE;GACV;GACA,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACD,CAAC;AAEF,OAAK,gBAAgB;AACnB,QAAK,mBAAmB;;AAG1B,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,SAAsB;AACpB,SAAO,oBAAoB,QAAQ,KAAK,QAAQ;AAEhD,MAAI,OAAO,SAAS,eAAe,YAAY;AAC7C,QAAK,mBAAmB;AACxB;;AAGF,SAAO,iBAAiB,QAAQ,KAAK,QAAQ;;CAG/C,UAAuB;AACrB,SAAO,oBAAoB,QAAQ,KAAK,QAAQ;;CAGlD,oBAAkC;AAChC,MAAI,KAAK,sBACP;AAEF,OAAK,wBAAwB;EAK7B,MAAM,eAHa,YAAY,iBAC7B,aAE6B,CAAC,IAAI;AAEpC,MAAI,CAAC,cAAc,OACjB;AAGF,OAAK,MAAM,SAAS,cAAc;AAChC,OAAI,KAAK,cAAc,wBAAwB,CAC7C;AAGF,QAAK,OAAO,KAAK;IACf,YAAY;MACT,eAAA;MACA,6BAA6B,MAAM;MACnC,iCAAiC,MAAM;MACvC,oCAAoC,MAAM;KAC5C;IACD,WAAW;IACX,gBAAgB,eAAe;IAChC,CAAC"}
|
|
@@ -3,12 +3,12 @@ import { Attributes } from "@opentelemetry/api";
|
|
|
3
3
|
import { ReadableSpan } from "@opentelemetry/sdk-trace-web";
|
|
4
4
|
|
|
5
5
|
//#region src/instrumentations/session/types.d.ts
|
|
6
|
-
interface
|
|
7
|
-
[KEY_MXL_TYPE]: MXL_TYPES.
|
|
6
|
+
interface SessionPartSpanAttributes extends Attributes {
|
|
7
|
+
[KEY_MXL_TYPE]: MXL_TYPES.SessionPart;
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
10
|
-
attributes:
|
|
9
|
+
interface SessionPartSpan extends ReadableSpan {
|
|
10
|
+
attributes: SessionPartSpanAttributes;
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
|
-
export {
|
|
13
|
+
export { SessionPartSpan };
|
|
14
14
|
//# sourceMappingURL=types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../src/instrumentations/session/types.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"types.d.cts","names":[],"sources":["../../../src/instrumentations/session/types.ts"],"mappings":";;;;;UAGU,yBAAA,SAAkC,UAAA;EAAA,CACzC,YAAA,GAAe,SAAA,CAAU,WAAA;AAAA;AAAA,UAGX,eAAA,SAAwB,YAAA;EACvC,UAAA,EAAY,yBAAA;AAAA"}
|
|
@@ -3,12 +3,12 @@ import { Attributes } from "@opentelemetry/api";
|
|
|
3
3
|
import { ReadableSpan } from "@opentelemetry/sdk-trace-web";
|
|
4
4
|
|
|
5
5
|
//#region src/instrumentations/session/types.d.ts
|
|
6
|
-
interface
|
|
7
|
-
[KEY_MXL_TYPE]: MXL_TYPES.
|
|
6
|
+
interface SessionPartSpanAttributes extends Attributes {
|
|
7
|
+
[KEY_MXL_TYPE]: MXL_TYPES.SessionPart;
|
|
8
8
|
}
|
|
9
|
-
interface
|
|
10
|
-
attributes:
|
|
9
|
+
interface SessionPartSpan extends ReadableSpan {
|
|
10
|
+
attributes: SessionPartSpanAttributes;
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
|
-
export {
|
|
13
|
+
export { SessionPartSpan };
|
|
14
14
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/instrumentations/session/types.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"types.d.ts","names":[],"sources":["../../../src/instrumentations/session/types.ts"],"mappings":";;;;;UAGU,yBAAA,SAAkC,UAAA;EAAA,CACzC,YAAA,GAAe,SAAA,CAAU,WAAA;AAAA;AAAA,UAGX,eAAA,SAAwB,YAAA;EACvC,UAAA,EAAY,yBAAA;AAAA"}
|
package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
3
3
|
const require_constants_attributes = require("../../../constants/attributes.cjs");
|
|
4
|
-
const require_utils_performanceObserver_performanceObserver = require("../../../utils/performanceObserver/performanceObserver.cjs");
|
|
5
4
|
const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
|
|
5
|
+
const require_utils_performanceObserver_performanceObserver = require("../../../utils/performanceObserver/performanceObserver.cjs");
|
|
6
6
|
const require_instrumentations_user_timing_UserTimingInstrumentation_constants = require("./constants.cjs");
|
|
7
7
|
let _opentelemetry_api_logs = require("@opentelemetry/api-logs");
|
|
8
8
|
//#region src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts
|
|
@@ -14,12 +14,12 @@ var UserTimingInstrumentation = class extends require_instrumentations_MXLInstru
|
|
|
14
14
|
_allowedEntries;
|
|
15
15
|
constructor({ diag, perf, limitManager, allowedEntries } = {}) {
|
|
16
16
|
super({
|
|
17
|
+
config: {},
|
|
18
|
+
diag,
|
|
17
19
|
instrumentationName: "UserTimingInstrumentation",
|
|
18
20
|
instrumentationVersion: "1.0.0",
|
|
19
|
-
diag,
|
|
20
|
-
perf,
|
|
21
21
|
limitManager,
|
|
22
|
-
|
|
22
|
+
perf
|
|
23
23
|
});
|
|
24
24
|
this._allowedEntries = allowedEntries;
|
|
25
25
|
if (this._config.enabled) this.enable();
|
|
@@ -60,7 +60,6 @@ var UserTimingInstrumentation = class extends require_instrumentations_MXLInstru
|
|
|
60
60
|
if (entry.entryType === "measure") {
|
|
61
61
|
const measureDetail = entry.detail;
|
|
62
62
|
this.tracer.startSpan(entry.name, {
|
|
63
|
-
startTime: this.perf.epochMillisFromOriginOffset(entry.startTime),
|
|
64
63
|
attributes: {
|
|
65
64
|
[require_constants_attributes.KEY_MXL_TYPE]: "ux.user_timing",
|
|
66
65
|
[require_constants_attributes.KEY_MXL_INSTRUMENTATION]: "user_timing",
|
|
@@ -68,16 +67,14 @@ var UserTimingInstrumentation = class extends require_instrumentations_MXLInstru
|
|
|
68
67
|
[require_instrumentations_user_timing_UserTimingInstrumentation_constants.KEY_MXL_USER_TIMING_START_TIME]: this.perf.millisFromZeroTime(entry.startTime),
|
|
69
68
|
[require_instrumentations_user_timing_UserTimingInstrumentation_constants.KEY_MXL_USER_TIMING_DURATION]: entry.duration,
|
|
70
69
|
...measureDetail != null && { ["mxl.user_timing.detail"]: JSON.stringify(measureDetail) }
|
|
71
|
-
}
|
|
70
|
+
},
|
|
71
|
+
startTime: this.perf.epochMillisFromOriginOffset(entry.startTime)
|
|
72
72
|
}).end(this.perf.epochMillisFromOriginOffset(entry.startTime + entry.duration));
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
|
-
const detail = entry
|
|
75
|
+
const { detail } = entry;
|
|
76
76
|
const body = detail != null ? JSON.stringify(detail) : void 0;
|
|
77
77
|
this.logger.emit({
|
|
78
|
-
timestamp: this.perf.epochMillisFromOriginOffset(entry.startTime),
|
|
79
|
-
eventName: require_instrumentations_user_timing_UserTimingInstrumentation_constants.USER_TIMING_EVENT_NAME,
|
|
80
|
-
severityNumber: _opentelemetry_api_logs.SeverityNumber.INFO,
|
|
81
78
|
attributes: {
|
|
82
79
|
[require_constants_attributes.KEY_MXL_TYPE]: "ux.user_timing",
|
|
83
80
|
[require_instrumentations_user_timing_UserTimingInstrumentation_constants.KEY_MXL_USER_TIMING_NAME]: entry.name,
|
|
@@ -85,7 +82,10 @@ var UserTimingInstrumentation = class extends require_instrumentations_MXLInstru
|
|
|
85
82
|
[require_instrumentations_user_timing_UserTimingInstrumentation_constants.KEY_MXL_USER_TIMING_DURATION]: entry.duration,
|
|
86
83
|
[require_instrumentations_user_timing_UserTimingInstrumentation_constants.KEY_MXL_USER_TIMING_ENTRY_TYPE]: entry.entryType
|
|
87
84
|
},
|
|
88
|
-
body
|
|
85
|
+
body,
|
|
86
|
+
eventName: require_instrumentations_user_timing_UserTimingInstrumentation_constants.USER_TIMING_EVENT_NAME,
|
|
87
|
+
severityNumber: _opentelemetry_api_logs.SeverityNumber.INFO,
|
|
88
|
+
timestamp: this.perf.epochMillisFromOriginOffset(entry.startTime)
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTimingInstrumentation.cjs","names":["MXLInstrumentationBase","createPerformanceObserver","KEY_MXL_TYPE","KEY_MXL_INSTRUMENTATION","KEY_MXL_USER_TIMING_ENTRY_TYPE","KEY_MXL_USER_TIMING_START_TIME","KEY_MXL_USER_TIMING_DURATION","
|
|
1
|
+
{"version":3,"file":"UserTimingInstrumentation.cjs","names":["MXLInstrumentationBase","createPerformanceObserver","KEY_MXL_TYPE","KEY_MXL_INSTRUMENTATION","KEY_MXL_USER_TIMING_ENTRY_TYPE","KEY_MXL_USER_TIMING_START_TIME","KEY_MXL_USER_TIMING_DURATION","KEY_MXL_USER_TIMING_NAME","USER_TIMING_EVENT_NAME","SeverityNumber"],"sources":["../../../../src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts"],"sourcesContent":["import { SeverityNumber } from '@opentelemetry/api-logs';\nimport { KEY_MXL_INSTRUMENTATION, KEY_MXL_TYPE, MXL_TYPES } from '../../../constants/attributes';\nimport { MXL_PERFORMANCE_INSTRUMENTATIONS } from '../../../constants/attributes';\nimport { createPerformanceObserver } from '../../../utils/performanceObserver/performanceObserver';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/MXLInstrumentationBase';\nimport {\n KEY_MXL_USER_TIMING_DETAIL,\n KEY_MXL_USER_TIMING_DURATION,\n KEY_MXL_USER_TIMING_ENTRY_TYPE,\n KEY_MXL_USER_TIMING_NAME,\n KEY_MXL_USER_TIMING_START_TIME,\n USER_TIMING_EVENT_NAME,\n} from './constants';\nimport type {\n UserTimingEntryFilter,\n UserTimingInstrumentationArgs,\n} from './types';\n\nexport class UserTimingInstrumentation extends MXLInstrumentationBase {\n private _markObserver: PerformanceObserver | null = null;\n private _measureObserver: PerformanceObserver | null = null;\n private _seenEntries = new Set<string>();\n private _isEnabled = false;\n private readonly _allowedEntries: UserTimingEntryFilter | undefined;\n\n public constructor({\n diag,\n perf,\n limitManager,\n allowedEntries,\n }: UserTimingInstrumentationArgs = {}) {\n super({\n config: {},\n diag,\n instrumentationName: 'UserTimingInstrumentation',\n instrumentationVersion: '1.0.0',\n limitManager,\n perf,\n });\n this._allowedEntries = allowedEntries;\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public enable(): void {\n if (this._isEnabled) {\n return;\n }\n\n this._isEnabled = true;\n this._seenEntries = new Set();\n\n if (this._markObserver) {\n this._markObserver.disconnect();\n }\n if (this._measureObserver) {\n this._measureObserver.disconnect();\n }\n\n this._markObserver = createPerformanceObserver<PerformanceMark>(\n 'mark',\n this._processEntry.bind(this),\n { diag: this._diag },\n );\n\n if (!this._markObserver) {\n this._diag.error('failed to enable mark observer');\n }\n\n this._measureObserver = createPerformanceObserver<PerformanceMeasure>(\n 'measure',\n (entry) => this._processEntry(entry),\n { diag: this._diag },\n );\n\n if (!this._measureObserver) {\n this._diag.error('failed to enable measure observer');\n }\n\n if (!this._markObserver && !this._measureObserver) {\n this._isEnabled = false;\n }\n }\n\n public disable(): void {\n this._isEnabled = false;\n\n if (this._markObserver) {\n this._markObserver.disconnect();\n this._markObserver = null;\n }\n\n if (this._measureObserver) {\n this._measureObserver.disconnect();\n this._measureObserver = null;\n }\n\n this._seenEntries = new Set();\n }\n\n private _processEntry(entry: PerformanceMark | PerformanceMeasure): void {\n if (!this._isEnabled) {\n return;\n }\n\n if (this._allowedEntries !== undefined) {\n const allowed = Array.isArray(this._allowedEntries)\n ? this._allowedEntries.includes(entry.name)\n : this._allowedEntries(entry);\n if (!allowed) {\n return;\n }\n }\n\n const key = `${location.href}::${entry.name}`;\n // De-duplicate entries by name and page URL, only processing the first occurrence of each unique name on each page URL\n if (this._seenEntries.has(key)) {\n return;\n }\n this._seenEntries.add(key);\n\n if (\n this.limitManager?.limitUserTimingEntry(\n entry.entryType as 'mark' | 'measure',\n )\n ) {\n return;\n }\n\n if (entry.entryType === 'measure') {\n const measureDetail = (entry as PerformanceMeasure).detail;\n const span = this.tracer.startSpan(entry.name, {\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.UserTiming,\n [KEY_MXL_INSTRUMENTATION]:\n MXL_PERFORMANCE_INSTRUMENTATIONS.UserTiming,\n [KEY_MXL_USER_TIMING_ENTRY_TYPE]: entry.entryType,\n [KEY_MXL_USER_TIMING_START_TIME]: this.perf.millisFromZeroTime(\n entry.startTime,\n ),\n [KEY_MXL_USER_TIMING_DURATION]: entry.duration,\n ...(measureDetail != null && {\n [KEY_MXL_USER_TIMING_DETAIL]: JSON.stringify(measureDetail),\n }),\n },\n startTime: this.perf.epochMillisFromOriginOffset(entry.startTime),\n });\n span.end(\n this.perf.epochMillisFromOriginOffset(entry.startTime + entry.duration),\n );\n return;\n }\n\n const { detail } = entry as PerformanceMark;\n const body = detail != null ? JSON.stringify(detail) : undefined;\n\n this.logger.emit({\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.UserTiming,\n [KEY_MXL_USER_TIMING_NAME]: entry.name,\n [KEY_MXL_USER_TIMING_START_TIME]: this.perf.millisFromZeroTime(\n entry.startTime,\n ),\n [KEY_MXL_USER_TIMING_DURATION]: entry.duration,\n [KEY_MXL_USER_TIMING_ENTRY_TYPE]: entry.entryType,\n },\n body,\n eventName: USER_TIMING_EVENT_NAME,\n severityNumber: SeverityNumber.INFO,\n timestamp: this.perf.epochMillisFromOriginOffset(entry.startTime),\n });\n }\n}\n"],"mappings":";;;;;;;;AAkBA,IAAa,4BAAb,cAA+CA,uEAAAA,uBAAuB;CACpE,gBAAoD;CACpD,mBAAuD;CACvD,+BAAuB,IAAI,KAAa;CACxC,aAAqB;CACrB;CAEA,YAAmB,EACjB,MACA,MACA,cACA,mBACiC,EAAE,EAAE;AACrC,QAAM;GACJ,QAAQ,EAAE;GACV;GACA,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACD,CAAC;AACF,OAAK,kBAAkB;AAEvB,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,SAAsB;AACpB,MAAI,KAAK,WACP;AAGF,OAAK,aAAa;AAClB,OAAK,+BAAe,IAAI,KAAK;AAE7B,MAAI,KAAK,cACP,MAAK,cAAc,YAAY;AAEjC,MAAI,KAAK,iBACP,MAAK,iBAAiB,YAAY;AAGpC,OAAK,gBAAgBC,sDAAAA,0BACnB,QACA,KAAK,cAAc,KAAK,KAAK,EAC7B,EAAE,MAAM,KAAK,OAAO,CACrB;AAED,MAAI,CAAC,KAAK,cACR,MAAK,MAAM,MAAM,iCAAiC;AAGpD,OAAK,mBAAmBA,sDAAAA,0BACtB,YACC,UAAU,KAAK,cAAc,MAAM,EACpC,EAAE,MAAM,KAAK,OAAO,CACrB;AAED,MAAI,CAAC,KAAK,iBACR,MAAK,MAAM,MAAM,oCAAoC;AAGvD,MAAI,CAAC,KAAK,iBAAiB,CAAC,KAAK,iBAC/B,MAAK,aAAa;;CAItB,UAAuB;AACrB,OAAK,aAAa;AAElB,MAAI,KAAK,eAAe;AACtB,QAAK,cAAc,YAAY;AAC/B,QAAK,gBAAgB;;AAGvB,MAAI,KAAK,kBAAkB;AACzB,QAAK,iBAAiB,YAAY;AAClC,QAAK,mBAAmB;;AAG1B,OAAK,+BAAe,IAAI,KAAK;;CAG/B,cAAsB,OAAmD;AACvE,MAAI,CAAC,KAAK,WACR;AAGF,MAAI,KAAK,oBAAoB,KAAA;OAIvB,EAHY,MAAM,QAAQ,KAAK,gBAAgB,GAC/C,KAAK,gBAAgB,SAAS,MAAM,KAAK,GACzC,KAAK,gBAAgB,MAAM,EAE7B;;EAIJ,MAAM,MAAM,GAAG,SAAS,KAAK,IAAI,MAAM;AAEvC,MAAI,KAAK,aAAa,IAAI,IAAI,CAC5B;AAEF,OAAK,aAAa,IAAI,IAAI;AAE1B,MACE,KAAK,cAAc,qBACjB,MAAM,UACP,CAED;AAGF,MAAI,MAAM,cAAc,WAAW;GACjC,MAAM,gBAAiB,MAA6B;AACvC,QAAK,OAAO,UAAU,MAAM,MAAM;IAC7C,YAAY;MACTC,6BAAAA,eAAAA;MACAC,6BAAAA,0BAAAA;MAEAC,yEAAAA,iCAAiC,MAAM;MACvCC,yEAAAA,iCAAiC,KAAK,KAAK,mBAC1C,MAAM,UACP;MACAC,yEAAAA,+BAA+B,MAAM;KACtC,GAAI,iBAAiB,QAAQ,GAAA,2BACG,KAAK,UAAU,cAAc,EAC5D;KACF;IACD,WAAW,KAAK,KAAK,4BAA4B,MAAM,UAAU;IAClE,CACG,CAAC,IACH,KAAK,KAAK,4BAA4B,MAAM,YAAY,MAAM,SAAS,CACxE;AACD;;EAGF,MAAM,EAAE,WAAW;EACnB,MAAM,OAAO,UAAU,OAAO,KAAK,UAAU,OAAO,GAAG,KAAA;AAEvD,OAAK,OAAO,KAAK;GACf,YAAY;KACTJ,6BAAAA,eAAAA;KACAK,yEAAAA,2BAA2B,MAAM;KACjCF,yEAAAA,iCAAiC,KAAK,KAAK,mBAC1C,MAAM,UACP;KACAC,yEAAAA,+BAA+B,MAAM;KACrCF,yEAAAA,iCAAiC,MAAM;IACzC;GACD;GACA,WAAWI,yEAAAA;GACX,gBAAgBC,wBAAAA,eAAe;GAC/B,WAAW,KAAK,KAAK,4BAA4B,MAAM,UAAU;GAClE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTimingInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"UserTimingInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts"],"mappings":";;;;cAkBa,yBAAA,SAAkC,sBAAA;EAAA,QACrC,aAAA;EAAA,QACA,gBAAA;EAAA,QACA,YAAA;EAAA,QACA,UAAA;EAAA,iBACS,eAAA;;IAGf,IAAA;IACA,IAAA;IACA,YAAA;IACA;EAAA,IACC,6BAAA;EAgBI,MAAA,CAAA;EAwCA,OAAA,CAAA;EAAA,QAgBC,aAAA;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTimingInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"UserTimingInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts"],"mappings":";;;;cAkBa,yBAAA,SAAkC,sBAAA;EAAA,QACrC,aAAA;EAAA,QACA,gBAAA;EAAA,QACA,YAAA;EAAA,QACA,UAAA;EAAA,iBACS,eAAA;;IAGf,IAAA;IACA,IAAA;IACA,YAAA;IACA;EAAA,IACC,6BAAA;EAgBI,MAAA,CAAA;EAwCA,OAAA,CAAA;EAAA,QAgBC,aAAA;AAAA"}
|
package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KEY_MXL_INSTRUMENTATION, KEY_MXL_TYPE } from "../../../constants/attributes.js";
|
|
2
|
-
import { createPerformanceObserver } from "../../../utils/performanceObserver/performanceObserver.js";
|
|
3
2
|
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
3
|
+
import { createPerformanceObserver } from "../../../utils/performanceObserver/performanceObserver.js";
|
|
4
4
|
import { KEY_MXL_USER_TIMING_DURATION, KEY_MXL_USER_TIMING_ENTRY_TYPE, KEY_MXL_USER_TIMING_NAME, KEY_MXL_USER_TIMING_START_TIME, USER_TIMING_EVENT_NAME } from "./constants.js";
|
|
5
5
|
import { SeverityNumber } from "@opentelemetry/api-logs";
|
|
6
6
|
//#region src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts
|
|
@@ -12,12 +12,12 @@ var UserTimingInstrumentation = class extends MXLInstrumentationBase {
|
|
|
12
12
|
_allowedEntries;
|
|
13
13
|
constructor({ diag, perf, limitManager, allowedEntries } = {}) {
|
|
14
14
|
super({
|
|
15
|
+
config: {},
|
|
16
|
+
diag,
|
|
15
17
|
instrumentationName: "UserTimingInstrumentation",
|
|
16
18
|
instrumentationVersion: "1.0.0",
|
|
17
|
-
diag,
|
|
18
|
-
perf,
|
|
19
19
|
limitManager,
|
|
20
|
-
|
|
20
|
+
perf
|
|
21
21
|
});
|
|
22
22
|
this._allowedEntries = allowedEntries;
|
|
23
23
|
if (this._config.enabled) this.enable();
|
|
@@ -58,7 +58,6 @@ var UserTimingInstrumentation = class extends MXLInstrumentationBase {
|
|
|
58
58
|
if (entry.entryType === "measure") {
|
|
59
59
|
const measureDetail = entry.detail;
|
|
60
60
|
this.tracer.startSpan(entry.name, {
|
|
61
|
-
startTime: this.perf.epochMillisFromOriginOffset(entry.startTime),
|
|
62
61
|
attributes: {
|
|
63
62
|
[KEY_MXL_TYPE]: "ux.user_timing",
|
|
64
63
|
[KEY_MXL_INSTRUMENTATION]: "user_timing",
|
|
@@ -66,16 +65,14 @@ var UserTimingInstrumentation = class extends MXLInstrumentationBase {
|
|
|
66
65
|
[KEY_MXL_USER_TIMING_START_TIME]: this.perf.millisFromZeroTime(entry.startTime),
|
|
67
66
|
[KEY_MXL_USER_TIMING_DURATION]: entry.duration,
|
|
68
67
|
...measureDetail != null && { ["mxl.user_timing.detail"]: JSON.stringify(measureDetail) }
|
|
69
|
-
}
|
|
68
|
+
},
|
|
69
|
+
startTime: this.perf.epochMillisFromOriginOffset(entry.startTime)
|
|
70
70
|
}).end(this.perf.epochMillisFromOriginOffset(entry.startTime + entry.duration));
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
|
-
const detail = entry
|
|
73
|
+
const { detail } = entry;
|
|
74
74
|
const body = detail != null ? JSON.stringify(detail) : void 0;
|
|
75
75
|
this.logger.emit({
|
|
76
|
-
timestamp: this.perf.epochMillisFromOriginOffset(entry.startTime),
|
|
77
|
-
eventName: USER_TIMING_EVENT_NAME,
|
|
78
|
-
severityNumber: SeverityNumber.INFO,
|
|
79
76
|
attributes: {
|
|
80
77
|
[KEY_MXL_TYPE]: "ux.user_timing",
|
|
81
78
|
[KEY_MXL_USER_TIMING_NAME]: entry.name,
|
|
@@ -83,7 +80,10 @@ var UserTimingInstrumentation = class extends MXLInstrumentationBase {
|
|
|
83
80
|
[KEY_MXL_USER_TIMING_DURATION]: entry.duration,
|
|
84
81
|
[KEY_MXL_USER_TIMING_ENTRY_TYPE]: entry.entryType
|
|
85
82
|
},
|
|
86
|
-
body
|
|
83
|
+
body,
|
|
84
|
+
eventName: USER_TIMING_EVENT_NAME,
|
|
85
|
+
severityNumber: SeverityNumber.INFO,
|
|
86
|
+
timestamp: this.perf.epochMillisFromOriginOffset(entry.startTime)
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
};
|
package/dist/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserTimingInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts"],"sourcesContent":["import { SeverityNumber } from '@opentelemetry/api-logs';\nimport {
|
|
1
|
+
{"version":3,"file":"UserTimingInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/user-timing/UserTimingInstrumentation/UserTimingInstrumentation.ts"],"sourcesContent":["import { SeverityNumber } from '@opentelemetry/api-logs';\nimport { KEY_MXL_INSTRUMENTATION, KEY_MXL_TYPE, MXL_TYPES } from '../../../constants/attributes';\nimport { MXL_PERFORMANCE_INSTRUMENTATIONS } from '../../../constants/attributes';\nimport { createPerformanceObserver } from '../../../utils/performanceObserver/performanceObserver';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/MXLInstrumentationBase';\nimport {\n KEY_MXL_USER_TIMING_DETAIL,\n KEY_MXL_USER_TIMING_DURATION,\n KEY_MXL_USER_TIMING_ENTRY_TYPE,\n KEY_MXL_USER_TIMING_NAME,\n KEY_MXL_USER_TIMING_START_TIME,\n USER_TIMING_EVENT_NAME,\n} from './constants';\nimport type {\n UserTimingEntryFilter,\n UserTimingInstrumentationArgs,\n} from './types';\n\nexport class UserTimingInstrumentation extends MXLInstrumentationBase {\n private _markObserver: PerformanceObserver | null = null;\n private _measureObserver: PerformanceObserver | null = null;\n private _seenEntries = new Set<string>();\n private _isEnabled = false;\n private readonly _allowedEntries: UserTimingEntryFilter | undefined;\n\n public constructor({\n diag,\n perf,\n limitManager,\n allowedEntries,\n }: UserTimingInstrumentationArgs = {}) {\n super({\n config: {},\n diag,\n instrumentationName: 'UserTimingInstrumentation',\n instrumentationVersion: '1.0.0',\n limitManager,\n perf,\n });\n this._allowedEntries = allowedEntries;\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public enable(): void {\n if (this._isEnabled) {\n return;\n }\n\n this._isEnabled = true;\n this._seenEntries = new Set();\n\n if (this._markObserver) {\n this._markObserver.disconnect();\n }\n if (this._measureObserver) {\n this._measureObserver.disconnect();\n }\n\n this._markObserver = createPerformanceObserver<PerformanceMark>(\n 'mark',\n this._processEntry.bind(this),\n { diag: this._diag },\n );\n\n if (!this._markObserver) {\n this._diag.error('failed to enable mark observer');\n }\n\n this._measureObserver = createPerformanceObserver<PerformanceMeasure>(\n 'measure',\n (entry) => this._processEntry(entry),\n { diag: this._diag },\n );\n\n if (!this._measureObserver) {\n this._diag.error('failed to enable measure observer');\n }\n\n if (!this._markObserver && !this._measureObserver) {\n this._isEnabled = false;\n }\n }\n\n public disable(): void {\n this._isEnabled = false;\n\n if (this._markObserver) {\n this._markObserver.disconnect();\n this._markObserver = null;\n }\n\n if (this._measureObserver) {\n this._measureObserver.disconnect();\n this._measureObserver = null;\n }\n\n this._seenEntries = new Set();\n }\n\n private _processEntry(entry: PerformanceMark | PerformanceMeasure): void {\n if (!this._isEnabled) {\n return;\n }\n\n if (this._allowedEntries !== undefined) {\n const allowed = Array.isArray(this._allowedEntries)\n ? this._allowedEntries.includes(entry.name)\n : this._allowedEntries(entry);\n if (!allowed) {\n return;\n }\n }\n\n const key = `${location.href}::${entry.name}`;\n // De-duplicate entries by name and page URL, only processing the first occurrence of each unique name on each page URL\n if (this._seenEntries.has(key)) {\n return;\n }\n this._seenEntries.add(key);\n\n if (\n this.limitManager?.limitUserTimingEntry(\n entry.entryType as 'mark' | 'measure',\n )\n ) {\n return;\n }\n\n if (entry.entryType === 'measure') {\n const measureDetail = (entry as PerformanceMeasure).detail;\n const span = this.tracer.startSpan(entry.name, {\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.UserTiming,\n [KEY_MXL_INSTRUMENTATION]:\n MXL_PERFORMANCE_INSTRUMENTATIONS.UserTiming,\n [KEY_MXL_USER_TIMING_ENTRY_TYPE]: entry.entryType,\n [KEY_MXL_USER_TIMING_START_TIME]: this.perf.millisFromZeroTime(\n entry.startTime,\n ),\n [KEY_MXL_USER_TIMING_DURATION]: entry.duration,\n ...(measureDetail != null && {\n [KEY_MXL_USER_TIMING_DETAIL]: JSON.stringify(measureDetail),\n }),\n },\n startTime: this.perf.epochMillisFromOriginOffset(entry.startTime),\n });\n span.end(\n this.perf.epochMillisFromOriginOffset(entry.startTime + entry.duration),\n );\n return;\n }\n\n const { detail } = entry as PerformanceMark;\n const body = detail != null ? JSON.stringify(detail) : undefined;\n\n this.logger.emit({\n attributes: {\n [KEY_MXL_TYPE]: MXL_TYPES.UserTiming,\n [KEY_MXL_USER_TIMING_NAME]: entry.name,\n [KEY_MXL_USER_TIMING_START_TIME]: this.perf.millisFromZeroTime(\n entry.startTime,\n ),\n [KEY_MXL_USER_TIMING_DURATION]: entry.duration,\n [KEY_MXL_USER_TIMING_ENTRY_TYPE]: entry.entryType,\n },\n body,\n eventName: USER_TIMING_EVENT_NAME,\n severityNumber: SeverityNumber.INFO,\n timestamp: this.perf.epochMillisFromOriginOffset(entry.startTime),\n });\n }\n}\n"],"mappings":";;;;;;AAkBA,IAAa,4BAAb,cAA+C,uBAAuB;CACpE,gBAAoD;CACpD,mBAAuD;CACvD,+BAAuB,IAAI,KAAa;CACxC,aAAqB;CACrB;CAEA,YAAmB,EACjB,MACA,MACA,cACA,mBACiC,EAAE,EAAE;AACrC,QAAM;GACJ,QAAQ,EAAE;GACV;GACA,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACD,CAAC;AACF,OAAK,kBAAkB;AAEvB,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,SAAsB;AACpB,MAAI,KAAK,WACP;AAGF,OAAK,aAAa;AAClB,OAAK,+BAAe,IAAI,KAAK;AAE7B,MAAI,KAAK,cACP,MAAK,cAAc,YAAY;AAEjC,MAAI,KAAK,iBACP,MAAK,iBAAiB,YAAY;AAGpC,OAAK,gBAAgB,0BACnB,QACA,KAAK,cAAc,KAAK,KAAK,EAC7B,EAAE,MAAM,KAAK,OAAO,CACrB;AAED,MAAI,CAAC,KAAK,cACR,MAAK,MAAM,MAAM,iCAAiC;AAGpD,OAAK,mBAAmB,0BACtB,YACC,UAAU,KAAK,cAAc,MAAM,EACpC,EAAE,MAAM,KAAK,OAAO,CACrB;AAED,MAAI,CAAC,KAAK,iBACR,MAAK,MAAM,MAAM,oCAAoC;AAGvD,MAAI,CAAC,KAAK,iBAAiB,CAAC,KAAK,iBAC/B,MAAK,aAAa;;CAItB,UAAuB;AACrB,OAAK,aAAa;AAElB,MAAI,KAAK,eAAe;AACtB,QAAK,cAAc,YAAY;AAC/B,QAAK,gBAAgB;;AAGvB,MAAI,KAAK,kBAAkB;AACzB,QAAK,iBAAiB,YAAY;AAClC,QAAK,mBAAmB;;AAG1B,OAAK,+BAAe,IAAI,KAAK;;CAG/B,cAAsB,OAAmD;AACvE,MAAI,CAAC,KAAK,WACR;AAGF,MAAI,KAAK,oBAAoB,KAAA;OAIvB,EAHY,MAAM,QAAQ,KAAK,gBAAgB,GAC/C,KAAK,gBAAgB,SAAS,MAAM,KAAK,GACzC,KAAK,gBAAgB,MAAM,EAE7B;;EAIJ,MAAM,MAAM,GAAG,SAAS,KAAK,IAAI,MAAM;AAEvC,MAAI,KAAK,aAAa,IAAI,IAAI,CAC5B;AAEF,OAAK,aAAa,IAAI,IAAI;AAE1B,MACE,KAAK,cAAc,qBACjB,MAAM,UACP,CAED;AAGF,MAAI,MAAM,cAAc,WAAW;GACjC,MAAM,gBAAiB,MAA6B;AACvC,QAAK,OAAO,UAAU,MAAM,MAAM;IAC7C,YAAY;MACT,eAAA;MACA,0BAAA;MAEA,iCAAiC,MAAM;MACvC,iCAAiC,KAAK,KAAK,mBAC1C,MAAM,UACP;MACA,+BAA+B,MAAM;KACtC,GAAI,iBAAiB,QAAQ,GAAA,2BACG,KAAK,UAAU,cAAc,EAC5D;KACF;IACD,WAAW,KAAK,KAAK,4BAA4B,MAAM,UAAU;IAClE,CACG,CAAC,IACH,KAAK,KAAK,4BAA4B,MAAM,YAAY,MAAM,SAAS,CACxE;AACD;;EAGF,MAAM,EAAE,WAAW;EACnB,MAAM,OAAO,UAAU,OAAO,KAAK,UAAU,OAAO,GAAG,KAAA;AAEvD,OAAK,OAAO,KAAK;GACf,YAAY;KACT,eAAA;KACA,2BAA2B,MAAM;KACjC,iCAAiC,KAAK,KAAK,mBAC1C,MAAM,UACP;KACA,+BAA+B,MAAM;KACrC,iCAAiC,MAAM;IACzC;GACD;GACA,WAAW;GACX,gBAAgB,eAAe;GAC/B,WAAW,KAAK,KAAK,4BAA4B,MAAM,UAAU;GAClE,CAAC"}
|
package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../_virtual/_rolldown/runtime.cjs");
|
|
3
|
-
const require_constants_attributes = require("../../../constants/attributes.cjs");
|
|
4
3
|
const require_api_page_pageAPI = require("../../../api-page/pageAPI.cjs");
|
|
4
|
+
const require_constants_attributes = require("../../../constants/attributes.cjs");
|
|
5
5
|
const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require("../../MXLInstrumentationBase/MXLInstrumentationBase.cjs");
|
|
6
6
|
const require_instrumentations_web_vitals_WebVitalsInstrumentation_attributes = require("./attributes.cjs");
|
|
7
7
|
const require_instrumentations_web_vitals_WebVitalsInstrumentation_constants = require("./constants.cjs");
|
|
@@ -14,7 +14,7 @@ const isPrimitiveValue = (value) => {
|
|
|
14
14
|
const roundClamp = (value) => Math.round(Math.max(0, value));
|
|
15
15
|
const webVitalAttributionToReport = (metric) => {
|
|
16
16
|
const attributes = {};
|
|
17
|
-
const attribution = metric
|
|
17
|
+
const { attribution } = metric;
|
|
18
18
|
if (!attribution || typeof attribution !== "object") return attributes;
|
|
19
19
|
for (const [key, value] of Object.entries(attribution)) if (isPrimitiveValue(value)) attributes[`${require_instrumentations_web_vitals_WebVitalsInstrumentation_attributes.KEY_MXL_WEB_VITAL_ATTRIBUTION_PREFIX}${key}`] = value;
|
|
20
20
|
return attributes;
|
|
@@ -34,19 +34,19 @@ const loafScriptsAttribution = (metric, diag) => {
|
|
|
34
34
|
existing.styleAndLayoutDuration += script.forcedStyleAndLayoutDuration;
|
|
35
35
|
existing.count++;
|
|
36
36
|
} else scripts.set(url, {
|
|
37
|
-
|
|
37
|
+
count: 1,
|
|
38
38
|
styleAndLayoutDuration: script.forcedStyleAndLayoutDuration,
|
|
39
|
-
|
|
39
|
+
totalDuration: script.duration
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
if (scripts.size > 0) attributes[`${require_instrumentations_web_vitals_WebVitalsInstrumentation_attributes.KEY_MXL_WEB_VITAL_ATTRIBUTION_PREFIX}loaf_scripts`] = JSON.stringify(Object.fromEntries([...scripts].sort((a, b) => b[1].totalDuration - a[1].totalDuration).slice(0, 250).map(([url, script]) => [url, {
|
|
43
|
-
|
|
43
|
+
count: script.count,
|
|
44
44
|
style_and_layout_duration: Math.round(script.styleAndLayoutDuration),
|
|
45
|
-
|
|
45
|
+
total_duration: Math.round(script.totalDuration)
|
|
46
46
|
}])));
|
|
47
47
|
}
|
|
48
|
-
} catch (
|
|
49
|
-
diag.error("error building loaf scripts for INP",
|
|
48
|
+
} catch (error) {
|
|
49
|
+
diag.error("error building loaf scripts for INP", error);
|
|
50
50
|
}
|
|
51
51
|
return attributes;
|
|
52
52
|
};
|
|
@@ -67,8 +67,8 @@ const ttfbSubPartsAttribution = (metric, diag) => {
|
|
|
67
67
|
attributes[`${prefix}tlsNegotiation`] = tlsNegotiation;
|
|
68
68
|
attributes[`${prefix}serverResponse`] = serverResponse;
|
|
69
69
|
attributes[`${prefix}unattributed`] = unattributed;
|
|
70
|
-
} catch (
|
|
71
|
-
diag.error("error computing TTFB timing breakdown",
|
|
70
|
+
} catch (error) {
|
|
71
|
+
diag.error("error computing TTFB timing breakdown", error);
|
|
72
72
|
}
|
|
73
73
|
else diag.debug("TTFB navigationEntry unavailable, skipping timing breakdown");
|
|
74
74
|
return attributes;
|
|
@@ -79,10 +79,10 @@ var WebVitalsInstrumentation = class extends require_instrumentations_MXLInstrum
|
|
|
79
79
|
_urlAttribution;
|
|
80
80
|
_pageManager;
|
|
81
81
|
_attributedPage = {
|
|
82
|
-
INP: void 0,
|
|
83
|
-
LCP: void 0,
|
|
84
82
|
CLS: void 0,
|
|
85
83
|
FCP: void 0,
|
|
84
|
+
INP: void 0,
|
|
85
|
+
LCP: void 0,
|
|
86
86
|
TTFB: void 0
|
|
87
87
|
};
|
|
88
88
|
_largestShiftTargetForCLS;
|
|
@@ -90,11 +90,11 @@ var WebVitalsInstrumentation = class extends require_instrumentations_MXLInstrum
|
|
|
90
90
|
_isEnabled = false;
|
|
91
91
|
constructor({ diag, perf, listeners = require_instrumentations_web_vitals_WebVitalsInstrumentation_constants.WEB_VITALS_ID_TO_LISTENER, urlDocument = window.document, urlAttribution = true, pageManager } = {}) {
|
|
92
92
|
super({
|
|
93
|
+
config: {},
|
|
94
|
+
diag,
|
|
93
95
|
instrumentationName: "WebVitalsInstrumentation",
|
|
94
96
|
instrumentationVersion: "1.0.0",
|
|
95
|
-
|
|
96
|
-
perf,
|
|
97
|
-
config: {}
|
|
97
|
+
perf
|
|
98
98
|
});
|
|
99
99
|
this._listeners = listeners;
|
|
100
100
|
this._urlDocument = urlDocument;
|
|
@@ -116,7 +116,7 @@ var WebVitalsInstrumentation = class extends require_instrumentations_MXLInstrum
|
|
|
116
116
|
require_instrumentations_web_vitals_WebVitalsInstrumentation_constants.ALL_WEB_VITALS.forEach((name) => {
|
|
117
117
|
this._listeners[name]?.((metric) => {
|
|
118
118
|
if (!this._isEnabled) return;
|
|
119
|
-
const currentSessionSpan = this.
|
|
119
|
+
const currentSessionSpan = this.userSessionManager.getSessionPartSpan();
|
|
120
120
|
if (!currentSessionSpan) return;
|
|
121
121
|
const metricTime = this._getTimeForMetric(metric);
|
|
122
122
|
const attributedPage = this._getAttributedPageForMetric(metric);
|