@safaricom-mxl/web-sdk 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE_OF_CONDUCT.md +119 -0
- package/CONTRIBUTING.md +28 -0
- package/DATA_EXPORT.md +29 -0
- package/DEVELOPING.md +152 -0
- package/LICENSE +201 -0
- package/REACT.md +143 -0
- package/README.md +638 -0
- package/UPGRADING.md +117 -0
- package/dist/_virtual/rolldown_runtime.cjs +29 -0
- package/dist/api-logs/api/LogAPI/LogAPI.cjs +34 -0
- package/dist/api-logs/api/LogAPI/LogAPI.cjs.map +1 -0
- package/dist/api-logs/api/LogAPI/LogAPI.d.cts +21 -0
- package/dist/api-logs/api/LogAPI/LogAPI.d.cts.map +1 -0
- package/dist/api-logs/api/LogAPI/LogAPI.d.ts +21 -0
- package/dist/api-logs/api/LogAPI/LogAPI.d.ts.map +1 -0
- package/dist/api-logs/api/LogAPI/LogAPI.js +33 -0
- package/dist/api-logs/api/LogAPI/LogAPI.js.map +1 -0
- package/dist/api-logs/api/LogAPI/index.cjs +3 -0
- package/dist/api-logs/api/LogAPI/index.d.cts +2 -0
- package/dist/api-logs/api/LogAPI/index.d.ts +2 -0
- package/dist/api-logs/api/LogAPI/index.js +3 -0
- package/dist/api-logs/api/LogAPI/types.cjs +0 -0
- package/dist/api-logs/api/LogAPI/types.d.cts +9 -0
- package/dist/api-logs/api/LogAPI/types.d.cts.map +1 -0
- package/dist/api-logs/api/LogAPI/types.d.ts +10 -0
- package/dist/api-logs/api/LogAPI/types.d.ts.map +1 -0
- package/dist/api-logs/api/LogAPI/types.js +0 -0
- package/dist/api-logs/api/index.cjs +3 -0
- package/dist/api-logs/api/index.d.cts +2 -0
- package/dist/api-logs/api/index.d.ts +3 -0
- package/dist/api-logs/api/index.js +3 -0
- package/dist/api-logs/index.cjs +7 -0
- package/dist/api-logs/index.d.cts +5 -0
- package/dist/api-logs/index.d.ts +6 -0
- package/dist/api-logs/index.js +5 -0
- package/dist/api-logs/logAPI.cjs +8 -0
- package/dist/api-logs/logAPI.cjs.map +1 -0
- package/dist/api-logs/logAPI.d.cts +7 -0
- package/dist/api-logs/logAPI.d.cts.map +1 -0
- package/dist/api-logs/logAPI.d.ts +7 -0
- package/dist/api-logs/logAPI.d.ts.map +1 -0
- package/dist/api-logs/logAPI.js +8 -0
- package/dist/api-logs/logAPI.js.map +1 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.cjs +10 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.cjs.map +1 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.cts +10 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.cts.map +1 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.ts +11 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.d.ts.map +1 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.js +9 -0
- package/dist/api-logs/manager/NoOpLogManager/NoOpLogManager.js.map +1 -0
- package/dist/api-logs/manager/NoOpLogManager/index.cjs +3 -0
- package/dist/api-logs/manager/NoOpLogManager/index.d.cts +2 -0
- package/dist/api-logs/manager/NoOpLogManager/index.d.ts +2 -0
- package/dist/api-logs/manager/NoOpLogManager/index.js +3 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.cjs +23 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.cjs.map +1 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.cts +13 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.cts.map +1 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.ts +14 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.d.ts.map +1 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.js +23 -0
- package/dist/api-logs/manager/ProxyLogManager/ProxyLogManager.js.map +1 -0
- package/dist/api-logs/manager/ProxyLogManager/index.cjs +3 -0
- package/dist/api-logs/manager/ProxyLogManager/index.d.cts +2 -0
- package/dist/api-logs/manager/ProxyLogManager/index.d.ts +2 -0
- package/dist/api-logs/manager/ProxyLogManager/index.js +3 -0
- package/dist/api-logs/manager/index.cjs +5 -0
- package/dist/api-logs/manager/index.d.cts +4 -0
- package/dist/api-logs/manager/index.d.ts +4 -0
- package/dist/api-logs/manager/index.js +4 -0
- package/dist/api-logs/manager/types.cjs +0 -0
- package/dist/api-logs/manager/types.d.cts +23 -0
- package/dist/api-logs/manager/types.d.cts.map +1 -0
- package/dist/api-logs/manager/types.d.ts +23 -0
- package/dist/api-logs/manager/types.d.ts.map +1 -0
- package/dist/api-logs/manager/types.js +0 -0
- package/dist/api-page/api/PageAPI/PageAPI.cjs +34 -0
- package/dist/api-page/api/PageAPI/PageAPI.cjs.map +1 -0
- package/dist/api-page/api/PageAPI/PageAPI.d.cts +21 -0
- package/dist/api-page/api/PageAPI/PageAPI.d.cts.map +1 -0
- package/dist/api-page/api/PageAPI/PageAPI.d.ts +21 -0
- package/dist/api-page/api/PageAPI/PageAPI.d.ts.map +1 -0
- package/dist/api-page/api/PageAPI/PageAPI.js +33 -0
- package/dist/api-page/api/PageAPI/PageAPI.js.map +1 -0
- package/dist/api-page/api/PageAPI/index.cjs +3 -0
- package/dist/api-page/api/PageAPI/index.d.cts +3 -0
- package/dist/api-page/api/PageAPI/index.d.ts +3 -0
- package/dist/api-page/api/PageAPI/index.js +3 -0
- package/dist/api-page/api/PageAPI/types.cjs +0 -0
- package/dist/api-page/api/PageAPI/types.d.cts +9 -0
- package/dist/api-page/api/PageAPI/types.d.cts.map +1 -0
- package/dist/api-page/api/PageAPI/types.d.ts +9 -0
- package/dist/api-page/api/PageAPI/types.d.ts.map +1 -0
- package/dist/api-page/api/PageAPI/types.js +0 -0
- package/dist/api-page/api/index.cjs +3 -0
- package/dist/api-page/api/index.d.cts +3 -0
- package/dist/api-page/api/index.d.ts +3 -0
- package/dist/api-page/api/index.js +3 -0
- package/dist/api-page/index.cjs +7 -0
- package/dist/api-page/index.d.cts +5 -0
- package/dist/api-page/index.d.ts +5 -0
- package/dist/api-page/index.js +5 -0
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.cjs +16 -0
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.cjs.map +1 -0
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.d.cts +12 -0
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.d.cts.map +1 -0
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.d.ts +12 -0
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.d.ts.map +1 -0
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.js +15 -0
- package/dist/api-page/manager/NoOpPageManager/NoOpPageManager.js.map +1 -0
- package/dist/api-page/manager/NoOpPageManager/index.cjs +3 -0
- package/dist/api-page/manager/NoOpPageManager/index.d.cts +2 -0
- package/dist/api-page/manager/NoOpPageManager/index.d.ts +2 -0
- package/dist/api-page/manager/NoOpPageManager/index.js +3 -0
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.cjs +29 -0
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.cjs.map +1 -0
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.d.cts +15 -0
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.d.cts.map +1 -0
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.d.ts +15 -0
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.d.ts.map +1 -0
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.js +29 -0
- package/dist/api-page/manager/ProxyPageManager/ProxyPageManager.js.map +1 -0
- package/dist/api-page/manager/ProxyPageManager/index.cjs +3 -0
- package/dist/api-page/manager/ProxyPageManager/index.d.cts +2 -0
- package/dist/api-page/manager/ProxyPageManager/index.d.ts +2 -0
- package/dist/api-page/manager/ProxyPageManager/index.js +3 -0
- package/dist/api-page/manager/index.cjs +5 -0
- package/dist/api-page/manager/index.d.cts +4 -0
- package/dist/api-page/manager/index.d.ts +4 -0
- package/dist/api-page/manager/index.js +4 -0
- package/dist/api-page/manager/types.cjs +0 -0
- package/dist/api-page/manager/types.d.cts +14 -0
- package/dist/api-page/manager/types.d.cts.map +1 -0
- package/dist/api-page/manager/types.d.ts +14 -0
- package/dist/api-page/manager/types.d.ts.map +1 -0
- package/dist/api-page/manager/types.js +0 -0
- package/dist/api-page/pageAPI.cjs +8 -0
- package/dist/api-page/pageAPI.cjs.map +1 -0
- package/dist/api-page/pageAPI.d.cts +7 -0
- package/dist/api-page/pageAPI.d.cts.map +1 -0
- package/dist/api-page/pageAPI.d.ts +7 -0
- package/dist/api-page/pageAPI.d.ts.map +1 -0
- package/dist/api-page/pageAPI.js +8 -0
- package/dist/api-page/pageAPI.js.map +1 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs +34 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.cjs.map +1 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts +21 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.cts.map +1 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts +21 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.d.ts.map +1 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.js +33 -0
- package/dist/api-sessions/api/SessionAPI/SessionAPI.js.map +1 -0
- package/dist/api-sessions/api/SessionAPI/index.cjs +3 -0
- package/dist/api-sessions/api/SessionAPI/index.d.cts +2 -0
- package/dist/api-sessions/api/SessionAPI/index.d.ts +2 -0
- package/dist/api-sessions/api/SessionAPI/index.js +3 -0
- package/dist/api-sessions/api/SessionAPI/types.cjs +0 -0
- package/dist/api-sessions/api/SessionAPI/types.d.cts +9 -0
- package/dist/api-sessions/api/SessionAPI/types.d.cts.map +1 -0
- package/dist/api-sessions/api/SessionAPI/types.d.ts +10 -0
- package/dist/api-sessions/api/SessionAPI/types.d.ts.map +1 -0
- package/dist/api-sessions/api/SessionAPI/types.js +0 -0
- package/dist/api-sessions/api/index.cjs +3 -0
- package/dist/api-sessions/api/index.d.cts +2 -0
- package/dist/api-sessions/api/index.d.ts +3 -0
- package/dist/api-sessions/api/index.js +3 -0
- package/dist/api-sessions/index.cjs +7 -0
- package/dist/api-sessions/index.d.cts +5 -0
- package/dist/api-sessions/index.d.ts +6 -0
- package/dist/api-sessions/index.js +5 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs +31 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.cjs.map +1 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts +24 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.cts.map +1 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts +26 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.d.ts.map +1 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js +30 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/NoOpSpanSessionManager.js.map +1 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.cjs +3 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.cts +2 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.d.ts +2 -0
- package/dist/api-sessions/manager/NoOpSpanSessionManager/index.js +3 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs +56 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.cjs.map +1 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts +27 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.cts.map +1 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts +29 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.d.ts.map +1 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js +56 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/ProxySpanSessionManager.js.map +1 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.cjs +3 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.cts +2 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.d.ts +2 -0
- package/dist/api-sessions/manager/ProxySpanSessionManager/index.js +3 -0
- package/dist/api-sessions/manager/index.cjs +5 -0
- package/dist/api-sessions/manager/index.d.cts +4 -0
- package/dist/api-sessions/manager/index.d.ts +6 -0
- package/dist/api-sessions/manager/index.js +4 -0
- package/dist/api-sessions/manager/types.cjs +0 -0
- package/dist/api-sessions/manager/types.d.cts +30 -0
- package/dist/api-sessions/manager/types.d.cts.map +1 -0
- package/dist/api-sessions/manager/types.d.ts +31 -0
- package/dist/api-sessions/manager/types.d.ts.map +1 -0
- package/dist/api-sessions/manager/types.js +0 -0
- package/dist/api-sessions/sessionAPI.cjs +8 -0
- package/dist/api-sessions/sessionAPI.cjs.map +1 -0
- package/dist/api-sessions/sessionAPI.d.cts +7 -0
- package/dist/api-sessions/sessionAPI.d.cts.map +1 -0
- package/dist/api-sessions/sessionAPI.d.ts +7 -0
- package/dist/api-sessions/sessionAPI.d.ts.map +1 -0
- package/dist/api-sessions/sessionAPI.js +8 -0
- package/dist/api-sessions/sessionAPI.js.map +1 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.cjs +34 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.cjs.map +1 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.d.cts +21 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.d.cts.map +1 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.d.ts +21 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.d.ts.map +1 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.js +33 -0
- package/dist/api-traces/api/TraceAPI/TraceAPI.js.map +1 -0
- package/dist/api-traces/api/TraceAPI/index.cjs +3 -0
- package/dist/api-traces/api/TraceAPI/index.d.cts +3 -0
- package/dist/api-traces/api/TraceAPI/index.d.ts +3 -0
- package/dist/api-traces/api/TraceAPI/index.js +3 -0
- package/dist/api-traces/api/TraceAPI/types.cjs +0 -0
- package/dist/api-traces/api/TraceAPI/types.d.cts +29 -0
- package/dist/api-traces/api/TraceAPI/types.d.cts.map +1 -0
- package/dist/api-traces/api/TraceAPI/types.d.ts +30 -0
- package/dist/api-traces/api/TraceAPI/types.d.ts.map +1 -0
- package/dist/api-traces/api/TraceAPI/types.js +0 -0
- package/dist/api-traces/api/index.cjs +3 -0
- package/dist/api-traces/api/index.d.cts +3 -0
- package/dist/api-traces/api/index.d.ts +4 -0
- package/dist/api-traces/api/index.js +3 -0
- package/dist/api-traces/index.cjs +7 -0
- package/dist/api-traces/index.d.cts +6 -0
- package/dist/api-traces/index.d.ts +8 -0
- package/dist/api-traces/index.js +5 -0
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.cjs +18 -0
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.cjs.map +1 -0
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.d.cts +13 -0
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.d.cts.map +1 -0
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.d.ts +15 -0
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.d.ts.map +1 -0
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.js +17 -0
- package/dist/api-traces/manager/NoOpTraceManager/NoOpTraceManager.js.map +1 -0
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.cjs +48 -0
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.cjs.map +1 -0
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.d.cts +25 -0
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.d.cts.map +1 -0
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.d.ts +26 -0
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.d.ts.map +1 -0
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.js +47 -0
- package/dist/api-traces/manager/NoOpTraceManager/NonRecordingExtendedSpan.js.map +1 -0
- package/dist/api-traces/manager/NoOpTraceManager/index.cjs +3 -0
- package/dist/api-traces/manager/NoOpTraceManager/index.d.cts +2 -0
- package/dist/api-traces/manager/NoOpTraceManager/index.d.ts +2 -0
- package/dist/api-traces/manager/NoOpTraceManager/index.js +3 -0
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.cjs +26 -0
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.cjs.map +1 -0
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.d.cts +16 -0
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.d.cts.map +1 -0
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.d.ts +18 -0
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.d.ts.map +1 -0
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.js +26 -0
- package/dist/api-traces/manager/ProxyTraceManager/ProxyTraceManager.js.map +1 -0
- package/dist/api-traces/manager/ProxyTraceManager/index.cjs +3 -0
- package/dist/api-traces/manager/ProxyTraceManager/index.d.cts +2 -0
- package/dist/api-traces/manager/ProxyTraceManager/index.d.ts +2 -0
- package/dist/api-traces/manager/ProxyTraceManager/index.js +3 -0
- package/dist/api-traces/manager/index.cjs +5 -0
- package/dist/api-traces/manager/index.d.cts +4 -0
- package/dist/api-traces/manager/index.d.ts +6 -0
- package/dist/api-traces/manager/index.js +4 -0
- package/dist/api-traces/manager/types.cjs +0 -0
- package/dist/api-traces/manager/types.d.cts +15 -0
- package/dist/api-traces/manager/types.d.cts.map +1 -0
- package/dist/api-traces/manager/types.d.ts +16 -0
- package/dist/api-traces/manager/types.d.ts.map +1 -0
- package/dist/api-traces/manager/types.js +0 -0
- package/dist/api-traces/traceAPI.cjs +8 -0
- package/dist/api-traces/traceAPI.cjs.map +1 -0
- package/dist/api-traces/traceAPI.d.cts +7 -0
- package/dist/api-traces/traceAPI.d.cts.map +1 -0
- package/dist/api-traces/traceAPI.d.ts +7 -0
- package/dist/api-traces/traceAPI.d.ts.map +1 -0
- package/dist/api-traces/traceAPI.js +8 -0
- package/dist/api-traces/traceAPI.js.map +1 -0
- package/dist/api-users/api/UserAPI/UserAPI.cjs +34 -0
- package/dist/api-users/api/UserAPI/UserAPI.cjs.map +1 -0
- package/dist/api-users/api/UserAPI/UserAPI.d.cts +21 -0
- package/dist/api-users/api/UserAPI/UserAPI.d.cts.map +1 -0
- package/dist/api-users/api/UserAPI/UserAPI.d.ts +21 -0
- package/dist/api-users/api/UserAPI/UserAPI.d.ts.map +1 -0
- package/dist/api-users/api/UserAPI/UserAPI.js +33 -0
- package/dist/api-users/api/UserAPI/UserAPI.js.map +1 -0
- package/dist/api-users/api/UserAPI/index.cjs +3 -0
- package/dist/api-users/api/UserAPI/index.d.cts +2 -0
- package/dist/api-users/api/UserAPI/index.d.ts +2 -0
- package/dist/api-users/api/UserAPI/index.js +3 -0
- package/dist/api-users/api/UserAPI/types.cjs +0 -0
- package/dist/api-users/api/UserAPI/types.d.cts +9 -0
- package/dist/api-users/api/UserAPI/types.d.cts.map +1 -0
- package/dist/api-users/api/UserAPI/types.d.ts +9 -0
- package/dist/api-users/api/UserAPI/types.d.ts.map +1 -0
- package/dist/api-users/api/UserAPI/types.js +0 -0
- package/dist/api-users/api/index.cjs +3 -0
- package/dist/api-users/api/index.d.cts +2 -0
- package/dist/api-users/api/index.d.ts +2 -0
- package/dist/api-users/api/index.js +3 -0
- package/dist/api-users/index.cjs +9 -0
- package/dist/api-users/index.d.cts +6 -0
- package/dist/api-users/index.d.ts +6 -0
- package/dist/api-users/index.js +6 -0
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.cjs +16 -0
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.cjs.map +1 -0
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.d.cts +12 -0
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.d.cts.map +1 -0
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.d.ts +12 -0
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.d.ts.map +1 -0
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.js +15 -0
- package/dist/api-users/manager/NoOpUserManager/NoOpUserManager.js.map +1 -0
- package/dist/api-users/manager/NoOpUserManager/index.cjs +3 -0
- package/dist/api-users/manager/NoOpUserManager/index.d.cts +2 -0
- package/dist/api-users/manager/NoOpUserManager/index.d.ts +2 -0
- package/dist/api-users/manager/NoOpUserManager/index.js +3 -0
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.cjs +29 -0
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.cjs.map +1 -0
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.d.cts +15 -0
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.d.cts.map +1 -0
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.d.ts +15 -0
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.d.ts.map +1 -0
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.js +29 -0
- package/dist/api-users/manager/ProxyUserManager/ProxyUserManager.js.map +1 -0
- package/dist/api-users/manager/ProxyUserManager/index.cjs +3 -0
- package/dist/api-users/manager/ProxyUserManager/index.d.cts +2 -0
- package/dist/api-users/manager/ProxyUserManager/index.d.ts +2 -0
- package/dist/api-users/manager/ProxyUserManager/index.js +3 -0
- package/dist/api-users/manager/constants/index.cjs +7 -0
- package/dist/api-users/manager/constants/index.cjs.map +1 -0
- package/dist/api-users/manager/constants/index.d.cts +5 -0
- package/dist/api-users/manager/constants/index.d.cts.map +1 -0
- package/dist/api-users/manager/constants/index.d.ts +5 -0
- package/dist/api-users/manager/constants/index.d.ts.map +1 -0
- package/dist/api-users/manager/constants/index.js +6 -0
- package/dist/api-users/manager/constants/index.js.map +1 -0
- package/dist/api-users/manager/index.cjs +7 -0
- package/dist/api-users/manager/index.d.cts +5 -0
- package/dist/api-users/manager/index.d.ts +5 -0
- package/dist/api-users/manager/index.js +5 -0
- package/dist/api-users/manager/types.cjs +0 -0
- package/dist/api-users/manager/types.d.cts +19 -0
- package/dist/api-users/manager/types.d.cts.map +1 -0
- package/dist/api-users/manager/types.d.ts +19 -0
- package/dist/api-users/manager/types.d.ts.map +1 -0
- package/dist/api-users/manager/types.js +0 -0
- package/dist/api-users/userAPI.cjs +8 -0
- package/dist/api-users/userAPI.cjs.map +1 -0
- package/dist/api-users/userAPI.d.cts +7 -0
- package/dist/api-users/userAPI.d.cts.map +1 -0
- package/dist/api-users/userAPI.d.ts +7 -0
- package/dist/api-users/userAPI.d.ts.map +1 -0
- package/dist/api-users/userAPI.js +8 -0
- package/dist/api-users/userAPI.js.map +1 -0
- package/dist/common/index.cjs +0 -0
- package/dist/common/index.d.cts +2 -0
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.js +0 -0
- package/dist/common/types.cjs +0 -0
- package/dist/common/types.d.cts +17 -0
- package/dist/common/types.d.cts.map +1 -0
- package/dist/common/types.d.ts +17 -0
- package/dist/common/types.d.ts.map +1 -0
- package/dist/common/types.js +0 -0
- package/dist/constants/attributes.cjs +93 -0
- package/dist/constants/attributes.cjs.map +1 -0
- package/dist/constants/attributes.d.cts +58 -0
- package/dist/constants/attributes.d.cts.map +1 -0
- package/dist/constants/attributes.d.ts +58 -0
- package/dist/constants/attributes.d.ts.map +1 -0
- package/dist/constants/attributes.js +61 -0
- package/dist/constants/attributes.js.map +1 -0
- package/dist/constants/index.cjs +30 -0
- package/dist/constants/index.d.cts +2 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.js +3 -0
- package/dist/exporters/BaseFetchExporter/BaseFetchExporter.cjs +20 -0
- package/dist/exporters/BaseFetchExporter/BaseFetchExporter.cjs.map +1 -0
- package/dist/exporters/BaseFetchExporter/BaseFetchExporter.d.cts +14 -0
- package/dist/exporters/BaseFetchExporter/BaseFetchExporter.d.cts.map +1 -0
- package/dist/exporters/BaseFetchExporter/BaseFetchExporter.d.ts +14 -0
- package/dist/exporters/BaseFetchExporter/BaseFetchExporter.d.ts.map +1 -0
- package/dist/exporters/BaseFetchExporter/BaseFetchExporter.js +19 -0
- package/dist/exporters/BaseFetchExporter/BaseFetchExporter.js.map +1 -0
- package/dist/exporters/BaseFetchExporter/index.cjs +3 -0
- package/dist/exporters/BaseFetchExporter/index.d.cts +2 -0
- package/dist/exporters/BaseFetchExporter/index.d.ts +2 -0
- package/dist/exporters/BaseFetchExporter/index.js +3 -0
- package/dist/exporters/MXLLogExporter/MXLLogExporter.cjs +19 -0
- package/dist/exporters/MXLLogExporter/MXLLogExporter.cjs.map +1 -0
- package/dist/exporters/MXLLogExporter/MXLLogExporter.d.cts +14 -0
- package/dist/exporters/MXLLogExporter/MXLLogExporter.d.cts.map +1 -0
- package/dist/exporters/MXLLogExporter/MXLLogExporter.d.ts +14 -0
- package/dist/exporters/MXLLogExporter/MXLLogExporter.d.ts.map +1 -0
- package/dist/exporters/MXLLogExporter/MXLLogExporter.js +19 -0
- package/dist/exporters/MXLLogExporter/MXLLogExporter.js.map +1 -0
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs +15 -0
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.cjs.map +1 -0
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts +11 -0
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.cts.map +1 -0
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts +12 -0
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.d.ts.map +1 -0
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js +14 -0
- package/dist/exporters/MXLLogExporter/OTLPFetchLogExporter.js.map +1 -0
- package/dist/exporters/MXLLogExporter/index.cjs +3 -0
- package/dist/exporters/MXLLogExporter/index.d.cts +2 -0
- package/dist/exporters/MXLLogExporter/index.d.ts +2 -0
- package/dist/exporters/MXLLogExporter/index.js +3 -0
- package/dist/exporters/MXLLogExporter/types.cjs +0 -0
- package/dist/exporters/MXLLogExporter/types.d.cts +9 -0
- package/dist/exporters/MXLLogExporter/types.d.cts.map +1 -0
- package/dist/exporters/MXLLogExporter/types.d.ts +9 -0
- package/dist/exporters/MXLLogExporter/types.d.ts.map +1 -0
- package/dist/exporters/MXLLogExporter/types.js +0 -0
- package/dist/exporters/MXLLogExporter/utils.cjs +8 -0
- package/dist/exporters/MXLLogExporter/utils.cjs.map +1 -0
- package/dist/exporters/MXLLogExporter/utils.d.cts +5 -0
- package/dist/exporters/MXLLogExporter/utils.d.cts.map +1 -0
- package/dist/exporters/MXLLogExporter/utils.d.ts +5 -0
- package/dist/exporters/MXLLogExporter/utils.d.ts.map +1 -0
- package/dist/exporters/MXLLogExporter/utils.js +8 -0
- package/dist/exporters/MXLLogExporter/utils.js.map +1 -0
- package/dist/exporters/MXLTraceExporter/MXLTraceExporter.cjs +19 -0
- package/dist/exporters/MXLTraceExporter/MXLTraceExporter.cjs.map +1 -0
- package/dist/exporters/MXLTraceExporter/MXLTraceExporter.d.cts +14 -0
- package/dist/exporters/MXLTraceExporter/MXLTraceExporter.d.cts.map +1 -0
- package/dist/exporters/MXLTraceExporter/MXLTraceExporter.d.ts +14 -0
- package/dist/exporters/MXLTraceExporter/MXLTraceExporter.d.ts.map +1 -0
- package/dist/exporters/MXLTraceExporter/MXLTraceExporter.js +19 -0
- package/dist/exporters/MXLTraceExporter/MXLTraceExporter.js.map +1 -0
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.cjs +18 -0
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.cjs.map +1 -0
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.d.cts +11 -0
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.d.cts.map +1 -0
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.d.ts +12 -0
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.d.ts.map +1 -0
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.js +17 -0
- package/dist/exporters/MXLTraceExporter/OTLPFetchTraceExporter.js.map +1 -0
- package/dist/exporters/MXLTraceExporter/index.cjs +3 -0
- package/dist/exporters/MXLTraceExporter/index.d.cts +2 -0
- package/dist/exporters/MXLTraceExporter/index.d.ts +2 -0
- package/dist/exporters/MXLTraceExporter/index.js +3 -0
- package/dist/exporters/MXLTraceExporter/types.cjs +0 -0
- package/dist/exporters/MXLTraceExporter/types.d.cts +9 -0
- package/dist/exporters/MXLTraceExporter/types.d.cts.map +1 -0
- package/dist/exporters/MXLTraceExporter/types.d.ts +9 -0
- package/dist/exporters/MXLTraceExporter/types.d.ts.map +1 -0
- package/dist/exporters/MXLTraceExporter/types.js +0 -0
- package/dist/exporters/MXLTraceExporter/utils.cjs +8 -0
- package/dist/exporters/MXLTraceExporter/utils.cjs.map +1 -0
- package/dist/exporters/MXLTraceExporter/utils.d.cts +5 -0
- package/dist/exporters/MXLTraceExporter/utils.d.cts.map +1 -0
- package/dist/exporters/MXLTraceExporter/utils.d.ts +5 -0
- package/dist/exporters/MXLTraceExporter/utils.d.ts.map +1 -0
- package/dist/exporters/MXLTraceExporter/utils.js +8 -0
- package/dist/exporters/MXLTraceExporter/utils.js.map +1 -0
- package/dist/exporters/constants.cjs +13 -0
- package/dist/exporters/constants.cjs.map +1 -0
- package/dist/exporters/constants.d.cts +10 -0
- package/dist/exporters/constants.d.cts.map +1 -0
- package/dist/exporters/constants.d.ts +10 -0
- package/dist/exporters/constants.d.ts.map +1 -0
- package/dist/exporters/constants.js +12 -0
- package/dist/exporters/constants.js.map +1 -0
- package/dist/exporters/index.cjs +12 -0
- package/dist/exporters/index.d.cts +7 -0
- package/dist/exporters/index.d.ts +9 -0
- package/dist/exporters/index.js +7 -0
- package/dist/exporters/otlpBrowserFetchExportDelegate.cjs +11 -0
- package/dist/exporters/otlpBrowserFetchExportDelegate.cjs.map +1 -0
- package/dist/exporters/otlpBrowserFetchExportDelegate.d.cts +9 -0
- package/dist/exporters/otlpBrowserFetchExportDelegate.d.cts.map +1 -0
- package/dist/exporters/otlpBrowserFetchExportDelegate.d.ts +9 -0
- package/dist/exporters/otlpBrowserFetchExportDelegate.d.ts.map +1 -0
- package/dist/exporters/otlpBrowserFetchExportDelegate.js +10 -0
- package/dist/exporters/otlpBrowserFetchExportDelegate.js.map +1 -0
- package/dist/exporters/types.cjs +0 -0
- package/dist/exporters/types.d.cts +11 -0
- package/dist/exporters/types.d.cts.map +1 -0
- package/dist/exporters/types.d.ts +11 -0
- package/dist/exporters/types.d.ts.map +1 -0
- package/dist/exporters/types.js +0 -0
- package/dist/exporters/utils.cjs +12 -0
- package/dist/exporters/utils.cjs.map +1 -0
- package/dist/exporters/utils.d.cts +6 -0
- package/dist/exporters/utils.d.cts.map +1 -0
- package/dist/exporters/utils.d.ts +6 -0
- package/dist/exporters/utils.d.ts.map +1 -0
- package/dist/exporters/utils.js +10 -0
- package/dist/exporters/utils.js.map +1 -0
- package/dist/index.cjs +23 -0
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +10 -0
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs +100 -0
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.cjs.map +1 -0
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts +73 -0
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.cts.map +1 -0
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts +73 -0
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.d.ts.map +1 -0
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js +99 -0
- package/dist/instrumentations/InstrumentationAbstract/InstrumentationAbstract.js.map +1 -0
- package/dist/instrumentations/InstrumentationAbstract/index.cjs +3 -0
- package/dist/instrumentations/InstrumentationAbstract/index.d.cts +2 -0
- package/dist/instrumentations/InstrumentationAbstract/index.d.ts +2 -0
- package/dist/instrumentations/InstrumentationAbstract/index.js +3 -0
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs +38 -0
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.cjs.map +1 -0
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts +29 -0
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.cts.map +1 -0
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts +33 -0
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.d.ts.map +1 -0
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js +38 -0
- package/dist/instrumentations/MXLInstrumentationBase/MXLInstrumentationBase.js.map +1 -0
- package/dist/instrumentations/MXLInstrumentationBase/index.cjs +3 -0
- package/dist/instrumentations/MXLInstrumentationBase/index.d.cts +3 -0
- package/dist/instrumentations/MXLInstrumentationBase/index.d.ts +3 -0
- package/dist/instrumentations/MXLInstrumentationBase/index.js +3 -0
- package/dist/instrumentations/MXLInstrumentationBase/types.cjs +0 -0
- package/dist/instrumentations/MXLInstrumentationBase/types.d.cts +15 -0
- package/dist/instrumentations/MXLInstrumentationBase/types.d.cts.map +1 -0
- package/dist/instrumentations/MXLInstrumentationBase/types.d.ts +16 -0
- package/dist/instrumentations/MXLInstrumentationBase/types.d.ts.map +1 -0
- package/dist/instrumentations/MXLInstrumentationBase/types.js +0 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs +43 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.cts +18 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.ts +19 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js +43 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/ClicksInstrumentation.js.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/index.d.cts +2 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/index.d.ts +2 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/index.js +3 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.cts +10 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.ts +11 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/types.js +0 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/utils.cjs +13 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/utils.cjs.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/utils.d.cts +5 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/utils.d.cts.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/utils.d.ts +5 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/utils.d.ts.map +1 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/utils.js +12 -0
- package/dist/instrumentations/clicks/ClicksInstrumentation/utils.js.map +1 -0
- package/dist/instrumentations/clicks/index.cjs +3 -0
- package/dist/instrumentations/clicks/index.d.cts +3 -0
- package/dist/instrumentations/clicks/index.d.ts +4 -0
- package/dist/instrumentations/clicks/index.js +3 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs +234 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.d.cts +89 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.d.ts +90 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js +233 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/DocumentLoadInstrumentation.js.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/AttributeNames.cjs +12 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/AttributeNames.cjs.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/AttributeNames.d.cts +9 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/AttributeNames.d.cts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/AttributeNames.d.ts +9 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/AttributeNames.d.ts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/AttributeNames.js +11 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/AttributeNames.js.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/EventNames.cjs +11 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/EventNames.cjs.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/EventNames.d.cts +8 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/EventNames.d.cts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/EventNames.d.ts +8 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/EventNames.d.ts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/EventNames.js +10 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/enums/EventNames.js.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.cjs +5 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.d.cts +4 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.d.ts +4 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/index.js +4 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.d.cts +51 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.d.ts +52 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/types.js +0 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs +30 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.cjs.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.d.cts +9 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.d.cts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.d.ts +9 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.d.ts.map +1 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js +28 -0
- package/dist/instrumentations/document-load/DocumentLoadInstrumentation/utils.js.map +1 -0
- package/dist/instrumentations/document-load/index.cjs +5 -0
- package/dist/instrumentations/document-load/index.d.cts +4 -0
- package/dist/instrumentations/document-load/index.d.ts +5 -0
- package/dist/instrumentations/document-load/index.js +4 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs +56 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.d.cts +22 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.d.ts +23 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js +56 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/EmptyRootInstrumentation.js.map +1 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.d.cts +2 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.d.ts +2 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/index.js +3 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.cts +10 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.ts +11 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/empty-root/EmptyRootInstrumentation/types.js +0 -0
- package/dist/instrumentations/empty-root/index.cjs +3 -0
- package/dist/instrumentations/empty-root/index.d.cts +3 -0
- package/dist/instrumentations/empty-root/index.d.ts +4 -0
- package/dist/instrumentations/empty-root/index.js +3 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs +43 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.d.cts +17 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.d.ts +18 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js +43 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/GlobalExceptionInstrumentation.js.map +1 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.d.cts +2 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.d.ts +2 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/index.js +3 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.cts +7 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.ts +8 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/exceptions/GlobalExceptionInstrumentation/types.js +0 -0
- package/dist/instrumentations/exceptions/index.cjs +3 -0
- package/dist/instrumentations/exceptions/index.d.cts +3 -0
- package/dist/instrumentations/exceptions/index.d.ts +4 -0
- package/dist/instrumentations/exceptions/index.js +3 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs +35 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.cjs.map +1 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts +22 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.cts.map +1 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts +22 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.d.ts.map +1 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js +33 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/MXLErrorBoundary.js.map +1 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.cjs +3 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.d.cts +2 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.d.ts +2 -0
- package/dist/instrumentations/exceptions/react/MXLErrorBoundary/index.js +3 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs +27 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts +15 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts +15 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js +26 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/MXLFetchInstrumentation.js.map +1 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.cts +2 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.d.ts +2 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/index.js +3 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts +9 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts +9 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/fetch/MXLFetchInstrumentation/types.js +0 -0
- package/dist/instrumentations/fetch/index.cjs +3 -0
- package/dist/instrumentations/fetch/index.d.cts +3 -0
- package/dist/instrumentations/fetch/index.d.ts +4 -0
- package/dist/instrumentations/fetch/index.js +3 -0
- package/dist/instrumentations/index.cjs +27 -0
- package/dist/instrumentations/index.d.cts +26 -0
- package/dist/instrumentations/index.d.ts +36 -0
- package/dist/instrumentations/index.js +15 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs +92 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.cts +28 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.ts +29 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js +92 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/NavigationInstrumentation.js.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/index.cjs +5 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/index.d.cts +4 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/index.d.ts +4 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/index.js +4 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/instance.cjs +12 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/instance.cjs.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/instance.d.cts +8 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/instance.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/instance.d.ts +8 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/instance.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/instance.js +12 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/instance.js.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.cjs +8 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.cts +8 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts +9 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.js +8 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.js.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.cjs +3 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.d.cts +2 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.d.ts +2 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/index.js +3 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/types.cjs +0 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/types.d.cts +15 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/types.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/types.d.ts +15 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/types.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/types.js +0 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.cjs +30 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.cjs.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.d.cts +8 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.d.ts +8 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.js +27 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV5/withMXLRoutingLegacy.js.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.cjs +3 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.d.cts +2 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.d.ts +2 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/index.js +3 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs +37 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.cjs.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.d.cts +13 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.d.ts +13 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js +37 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/listenToRouterChanges.js.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.cjs +0 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts +32 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts +32 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Data/types.js +0 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.cjs +3 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.d.cts +2 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.d.ts +2 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/index.js +3 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.cjs +0 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts +18 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts +18 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/types.js +0 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.cjs +50 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.cjs.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.d.cts +7 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.d.ts +7 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.js +48 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/react/reactRouterV6Declarative/withMXLRouting.js.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.cts +15 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.ts +16 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/navigation/NavigationInstrumentation/types.js +0 -0
- package/dist/instrumentations/navigation/index.cjs +5 -0
- package/dist/instrumentations/navigation/index.d.cts +3 -0
- package/dist/instrumentations/navigation/index.d.ts +4 -0
- package/dist/instrumentations/navigation/index.js +4 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs +60 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts +25 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts +26 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js +60 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/SpanSessionBrowserActivityInstrumentation.js.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs +19 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.cjs.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts +10 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts +10 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js +16 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/constants.js.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.cts +3 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.d.ts +3 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/index.js +3 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts +7 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts +8 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionBrowserActivityInstrumentation/types.js +0 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs +24 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts +14 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts +15 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js +24 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/SpanSessionOnLoadInstrumentation.js.map +1 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.cts +3 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.d.ts +3 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/index.js +3 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts +7 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts +8 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionOnLoadInstrumentation/types.js +0 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs +55 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts +23 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts +24 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js +55 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/SpanSessionTimeoutInstrumentation.js.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs +7 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.cjs.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts +5 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts +5 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js +6 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/constants.js.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.cts +3 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.d.ts +3 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/index.js +3 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts +7 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts +8 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionTimeoutInstrumentation/types.js +0 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs +100 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts +30 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts +33 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js +100 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/SpanSessionVisibilityInstrumentation.js.map +1 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.cts +3 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.d.ts +3 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/index.js +3 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts +15 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts +16 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/session/SpanSessionVisibilityInstrumentation/types.js +0 -0
- package/dist/instrumentations/session/index.cjs +13 -0
- package/dist/instrumentations/session/index.d.cts +13 -0
- package/dist/instrumentations/session/index.d.ts +19 -0
- package/dist/instrumentations/session/index.js +8 -0
- package/dist/instrumentations/session/types.cjs +0 -0
- package/dist/instrumentations/session/types.d.cts +14 -0
- package/dist/instrumentations/session/types.d.cts.map +1 -0
- package/dist/instrumentations/session/types.d.ts +14 -0
- package/dist/instrumentations/session/types.d.ts.map +1 -0
- package/dist/instrumentations/session/types.js +0 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs +202 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.cts +31 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts +32 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js +201 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/constants.cjs +32 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/constants.cjs.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/constants.d.cts +70 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/constants.d.cts.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/constants.d.ts +70 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/constants.d.ts.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/constants.js +28 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/constants.js.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.d.cts +3 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.d.ts +3 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/index.js +3 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts +19 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts +20 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/types.js +0 -0
- package/dist/instrumentations/web-vitals/index.cjs +3 -0
- package/dist/instrumentations/web-vitals/index.d.cts +3 -0
- package/dist/instrumentations/web-vitals/index.d.ts +4 -0
- package/dist/instrumentations/web-vitals/index.js +3 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs +27 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.cjs.map +1 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts +15 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.cts.map +1 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts +15 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.d.ts.map +1 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js +26 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/MXLXHRInstrumentation.js.map +1 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.cjs +3 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.cts +2 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.d.ts +2 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/index.js +3 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.cjs +0 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts +9 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.cts.map +1 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts +9 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.d.ts.map +1 -0
- package/dist/instrumentations/xhr/MXLXHRInstrumentation/types.js +0 -0
- package/dist/instrumentations/xhr/index.cjs +3 -0
- package/dist/instrumentations/xhr/index.d.cts +3 -0
- package/dist/instrumentations/xhr/index.d.ts +4 -0
- package/dist/instrumentations/xhr/index.js +3 -0
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs +87 -0
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.cjs.map +1 -0
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.cts +28 -0
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.cts.map +1 -0
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.ts +29 -0
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.d.ts.map +1 -0
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js +86 -0
- package/dist/managers/MXLConfigManager/MXLDynamicConfigManager.js.map +1 -0
- package/dist/managers/MXLConfigManager/constants.cjs +12 -0
- package/dist/managers/MXLConfigManager/constants.cjs.map +1 -0
- package/dist/managers/MXLConfigManager/constants.d.cts +8 -0
- package/dist/managers/MXLConfigManager/constants.d.cts.map +1 -0
- package/dist/managers/MXLConfigManager/constants.d.ts +9 -0
- package/dist/managers/MXLConfigManager/constants.d.ts.map +1 -0
- package/dist/managers/MXLConfigManager/constants.js +10 -0
- package/dist/managers/MXLConfigManager/constants.js.map +1 -0
- package/dist/managers/MXLConfigManager/index.cjs +3 -0
- package/dist/managers/MXLConfigManager/index.d.cts +2 -0
- package/dist/managers/MXLConfigManager/index.d.ts +2 -0
- package/dist/managers/MXLConfigManager/index.js +3 -0
- package/dist/managers/MXLConfigManager/types.cjs +0 -0
- package/dist/managers/MXLConfigManager/types.d.cts +32 -0
- package/dist/managers/MXLConfigManager/types.d.cts.map +1 -0
- package/dist/managers/MXLConfigManager/types.d.ts +33 -0
- package/dist/managers/MXLConfigManager/types.d.ts.map +1 -0
- package/dist/managers/MXLConfigManager/types.js +0 -0
- package/dist/managers/MXLConfigManager/utils.cjs +7 -0
- package/dist/managers/MXLConfigManager/utils.cjs.map +1 -0
- package/dist/managers/MXLConfigManager/utils.d.cts +11 -0
- package/dist/managers/MXLConfigManager/utils.d.cts.map +1 -0
- package/dist/managers/MXLConfigManager/utils.d.ts +11 -0
- package/dist/managers/MXLConfigManager/utils.d.ts.map +1 -0
- package/dist/managers/MXLConfigManager/utils.js +6 -0
- package/dist/managers/MXLConfigManager/utils.js.map +1 -0
- package/dist/managers/MXLLimitManager/MXLLimitManager.cjs +117 -0
- package/dist/managers/MXLLimitManager/MXLLimitManager.cjs.map +1 -0
- package/dist/managers/MXLLimitManager/MXLLimitManager.d.cts +34 -0
- package/dist/managers/MXLLimitManager/MXLLimitManager.d.cts.map +1 -0
- package/dist/managers/MXLLimitManager/MXLLimitManager.d.ts +35 -0
- package/dist/managers/MXLLimitManager/MXLLimitManager.d.ts.map +1 -0
- package/dist/managers/MXLLimitManager/MXLLimitManager.js +116 -0
- package/dist/managers/MXLLimitManager/MXLLimitManager.js.map +1 -0
- package/dist/managers/MXLLimitManager/constants.cjs +39 -0
- package/dist/managers/MXLLimitManager/constants.cjs.map +1 -0
- package/dist/managers/MXLLimitManager/constants.d.cts +8 -0
- package/dist/managers/MXLLimitManager/constants.d.cts.map +1 -0
- package/dist/managers/MXLLimitManager/constants.d.ts +8 -0
- package/dist/managers/MXLLimitManager/constants.d.ts.map +1 -0
- package/dist/managers/MXLLimitManager/constants.js +37 -0
- package/dist/managers/MXLLimitManager/constants.js.map +1 -0
- package/dist/managers/MXLLimitManager/index.cjs +6 -0
- package/dist/managers/MXLLimitManager/index.d.cts +4 -0
- package/dist/managers/MXLLimitManager/index.d.ts +4 -0
- package/dist/managers/MXLLimitManager/index.js +4 -0
- package/dist/managers/MXLLimitManager/types.cjs +0 -0
- package/dist/managers/MXLLimitManager/types.d.cts +45 -0
- package/dist/managers/MXLLimitManager/types.d.cts.map +1 -0
- package/dist/managers/MXLLimitManager/types.d.ts +46 -0
- package/dist/managers/MXLLimitManager/types.d.ts.map +1 -0
- package/dist/managers/MXLLimitManager/types.js +0 -0
- package/dist/managers/MXLLogManager/MXLLogManager.cjs +148 -0
- package/dist/managers/MXLLogManager/MXLLogManager.cjs.map +1 -0
- package/dist/managers/MXLLogManager/MXLLogManager.d.cts +40 -0
- package/dist/managers/MXLLogManager/MXLLogManager.d.cts.map +1 -0
- package/dist/managers/MXLLogManager/MXLLogManager.d.ts +42 -0
- package/dist/managers/MXLLogManager/MXLLogManager.d.ts.map +1 -0
- package/dist/managers/MXLLogManager/MXLLogManager.js +147 -0
- package/dist/managers/MXLLogManager/MXLLogManager.js.map +1 -0
- package/dist/managers/MXLLogManager/index.cjs +3 -0
- package/dist/managers/MXLLogManager/index.d.cts +2 -0
- package/dist/managers/MXLLogManager/index.d.ts +2 -0
- package/dist/managers/MXLLogManager/index.js +3 -0
- package/dist/managers/MXLLogManager/types.cjs +0 -0
- package/dist/managers/MXLLogManager/types.d.cts +20 -0
- package/dist/managers/MXLLogManager/types.d.cts.map +1 -0
- package/dist/managers/MXLLogManager/types.d.ts +23 -0
- package/dist/managers/MXLLogManager/types.d.ts.map +1 -0
- package/dist/managers/MXLLogManager/types.js +0 -0
- package/dist/managers/MXLPageManager/MXLPageManager.cjs +21 -0
- package/dist/managers/MXLPageManager/MXLPageManager.cjs.map +1 -0
- package/dist/managers/MXLPageManager/MXLPageManager.d.cts +14 -0
- package/dist/managers/MXLPageManager/MXLPageManager.d.cts.map +1 -0
- package/dist/managers/MXLPageManager/MXLPageManager.d.ts +14 -0
- package/dist/managers/MXLPageManager/MXLPageManager.d.ts.map +1 -0
- package/dist/managers/MXLPageManager/MXLPageManager.js +21 -0
- package/dist/managers/MXLPageManager/MXLPageManager.js.map +1 -0
- package/dist/managers/MXLPageManager/index.cjs +3 -0
- package/dist/managers/MXLPageManager/index.d.cts +3 -0
- package/dist/managers/MXLPageManager/index.d.ts +3 -0
- package/dist/managers/MXLPageManager/index.js +3 -0
- package/dist/managers/MXLPageManager/types.cjs +0 -0
- package/dist/managers/MXLPageManager/types.d.cts +17 -0
- package/dist/managers/MXLPageManager/types.d.cts.map +1 -0
- package/dist/managers/MXLPageManager/types.d.ts +17 -0
- package/dist/managers/MXLPageManager/types.d.ts.map +1 -0
- package/dist/managers/MXLPageManager/types.js +0 -0
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs +30 -0
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.cjs.map +1 -0
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts +19 -0
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.cts.map +1 -0
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts +19 -0
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.d.ts.map +1 -0
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js +30 -0
- package/dist/managers/MXLSDKFeaturesManager/MXLSDKFeaturesManager.js.map +1 -0
- package/dist/managers/MXLSDKFeaturesManager/index.cjs +3 -0
- package/dist/managers/MXLSDKFeaturesManager/index.d.cts +3 -0
- package/dist/managers/MXLSDKFeaturesManager/index.d.ts +3 -0
- package/dist/managers/MXLSDKFeaturesManager/index.js +3 -0
- package/dist/managers/MXLSDKFeaturesManager/types.cjs +0 -0
- package/dist/managers/MXLSDKFeaturesManager/types.d.cts +16 -0
- package/dist/managers/MXLSDKFeaturesManager/types.d.cts.map +1 -0
- package/dist/managers/MXLSDKFeaturesManager/types.d.ts +17 -0
- package/dist/managers/MXLSDKFeaturesManager/types.d.ts.map +1 -0
- package/dist/managers/MXLSDKFeaturesManager/types.js +0 -0
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs +348 -0
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.cjs.map +1 -0
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts +70 -0
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.cts.map +1 -0
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts +72 -0
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.d.ts.map +1 -0
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js +347 -0
- package/dist/managers/MXLSpanSessionManager/MXLSpanSessionManager.js.map +1 -0
- package/dist/managers/MXLSpanSessionManager/constants.cjs +11 -0
- package/dist/managers/MXLSpanSessionManager/constants.cjs.map +1 -0
- package/dist/managers/MXLSpanSessionManager/constants.d.cts +7 -0
- package/dist/managers/MXLSpanSessionManager/constants.d.cts.map +1 -0
- package/dist/managers/MXLSpanSessionManager/constants.d.ts +7 -0
- package/dist/managers/MXLSpanSessionManager/constants.d.ts.map +1 -0
- package/dist/managers/MXLSpanSessionManager/constants.js +8 -0
- package/dist/managers/MXLSpanSessionManager/constants.js.map +1 -0
- package/dist/managers/MXLSpanSessionManager/index.cjs +3 -0
- package/dist/managers/MXLSpanSessionManager/index.d.cts +3 -0
- package/dist/managers/MXLSpanSessionManager/index.d.ts +3 -0
- package/dist/managers/MXLSpanSessionManager/index.js +3 -0
- package/dist/managers/MXLSpanSessionManager/types.cjs +0 -0
- package/dist/managers/MXLSpanSessionManager/types.d.cts +36 -0
- package/dist/managers/MXLSpanSessionManager/types.d.cts.map +1 -0
- package/dist/managers/MXLSpanSessionManager/types.d.ts +39 -0
- package/dist/managers/MXLSpanSessionManager/types.d.ts.map +1 -0
- package/dist/managers/MXLSpanSessionManager/types.js +0 -0
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.cjs +73 -0
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.cjs.map +1 -0
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.d.cts +34 -0
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.d.cts.map +1 -0
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.d.ts +35 -0
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.d.ts.map +1 -0
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.js +73 -0
- package/dist/managers/MXLTraceManager/MXLExtendedSpan.js.map +1 -0
- package/dist/managers/MXLTraceManager/MXLTraceManager.cjs +27 -0
- package/dist/managers/MXLTraceManager/MXLTraceManager.cjs.map +1 -0
- package/dist/managers/MXLTraceManager/MXLTraceManager.d.cts +17 -0
- package/dist/managers/MXLTraceManager/MXLTraceManager.d.cts.map +1 -0
- package/dist/managers/MXLTraceManager/MXLTraceManager.d.ts +18 -0
- package/dist/managers/MXLTraceManager/MXLTraceManager.d.ts.map +1 -0
- package/dist/managers/MXLTraceManager/MXLTraceManager.js +26 -0
- package/dist/managers/MXLTraceManager/MXLTraceManager.js.map +1 -0
- package/dist/managers/MXLTraceManager/index.cjs +5 -0
- package/dist/managers/MXLTraceManager/index.d.cts +3 -0
- package/dist/managers/MXLTraceManager/index.d.ts +3 -0
- package/dist/managers/MXLTraceManager/index.js +4 -0
- package/dist/managers/MXLUserManager/MXLUserManager.cjs +101 -0
- package/dist/managers/MXLUserManager/MXLUserManager.cjs.map +1 -0
- package/dist/managers/MXLUserManager/MXLUserManager.d.cts +25 -0
- package/dist/managers/MXLUserManager/MXLUserManager.d.cts.map +1 -0
- package/dist/managers/MXLUserManager/MXLUserManager.d.ts +25 -0
- package/dist/managers/MXLUserManager/MXLUserManager.d.ts.map +1 -0
- package/dist/managers/MXLUserManager/MXLUserManager.js +100 -0
- package/dist/managers/MXLUserManager/MXLUserManager.js.map +1 -0
- package/dist/managers/MXLUserManager/constants.cjs +11 -0
- package/dist/managers/MXLUserManager/constants.cjs.map +1 -0
- package/dist/managers/MXLUserManager/constants.d.cts +7 -0
- package/dist/managers/MXLUserManager/constants.d.cts.map +1 -0
- package/dist/managers/MXLUserManager/constants.d.ts +7 -0
- package/dist/managers/MXLUserManager/constants.d.ts.map +1 -0
- package/dist/managers/MXLUserManager/constants.js +8 -0
- package/dist/managers/MXLUserManager/constants.js.map +1 -0
- package/dist/managers/MXLUserManager/index.cjs +3 -0
- package/dist/managers/MXLUserManager/index.d.cts +2 -0
- package/dist/managers/MXLUserManager/index.d.ts +2 -0
- package/dist/managers/MXLUserManager/index.js +3 -0
- package/dist/managers/MXLUserManager/types.cjs +10 -0
- package/dist/managers/MXLUserManager/types.cjs.map +1 -0
- package/dist/managers/MXLUserManager/types.d.cts +13 -0
- package/dist/managers/MXLUserManager/types.d.cts.map +1 -0
- package/dist/managers/MXLUserManager/types.d.ts +13 -0
- package/dist/managers/MXLUserManager/types.d.ts.map +1 -0
- package/dist/managers/MXLUserManager/types.js +9 -0
- package/dist/managers/MXLUserManager/types.js.map +1 -0
- package/dist/managers/index.cjs +22 -0
- package/dist/managers/index.d.cts +15 -0
- package/dist/managers/index.d.ts +23 -0
- package/dist/managers/index.js +12 -0
- package/dist/mxl-web-sdk.js +2 -0
- package/dist/mxl-web-sdk.js.map +1 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs +28 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.cjs.map +1 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts +16 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.cts.map +1 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts +16 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.d.ts.map +1 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js +27 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/IdentifiableSessionLogRecordProcessor.js.map +1 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.cjs +3 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.cts +2 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.d.ts +2 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/index.js +3 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.cjs +0 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts +9 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.cts.map +1 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts +10 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.d.ts.map +1 -0
- package/dist/processors/IdentifiableSessionLogRecordProcessor/types.js +0 -0
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.cjs +24 -0
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.cjs.map +1 -0
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.d.cts +16 -0
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.d.cts.map +1 -0
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.d.ts +16 -0
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.d.ts.map +1 -0
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.js +23 -0
- package/dist/processors/LogRecordScrubProcessor/LogRecordScrubProcessor.js.map +1 -0
- package/dist/processors/LogRecordScrubProcessor/index.cjs +3 -0
- package/dist/processors/LogRecordScrubProcessor/index.d.cts +2 -0
- package/dist/processors/LogRecordScrubProcessor/index.d.ts +2 -0
- package/dist/processors/LogRecordScrubProcessor/index.js +3 -0
- package/dist/processors/LogRecordScrubProcessor/types.cjs +0 -0
- package/dist/processors/LogRecordScrubProcessor/types.d.cts +9 -0
- package/dist/processors/LogRecordScrubProcessor/types.d.cts.map +1 -0
- package/dist/processors/LogRecordScrubProcessor/types.d.ts +9 -0
- package/dist/processors/LogRecordScrubProcessor/types.d.ts.map +1 -0
- package/dist/processors/LogRecordScrubProcessor/types.js +0 -0
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.cjs +25 -0
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.cjs.map +1 -0
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.d.cts +16 -0
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.d.cts.map +1 -0
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.d.ts +16 -0
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.d.ts.map +1 -0
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.js +24 -0
- package/dist/processors/MXLLogRecordProcessor/MXLLogRecordProcessor.js.map +1 -0
- package/dist/processors/MXLLogRecordProcessor/index.cjs +3 -0
- package/dist/processors/MXLLogRecordProcessor/index.d.cts +2 -0
- package/dist/processors/MXLLogRecordProcessor/index.d.ts +2 -0
- package/dist/processors/MXLLogRecordProcessor/index.js +3 -0
- package/dist/processors/MXLLogRecordProcessor/types.cjs +0 -0
- package/dist/processors/MXLLogRecordProcessor/types.d.cts +9 -0
- package/dist/processors/MXLLogRecordProcessor/types.d.cts.map +1 -0
- package/dist/processors/MXLLogRecordProcessor/types.d.ts +9 -0
- package/dist/processors/MXLLogRecordProcessor/types.d.ts.map +1 -0
- package/dist/processors/MXLLogRecordProcessor/types.js +0 -0
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.cjs +34 -0
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.cjs.map +1 -0
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.d.cts +17 -0
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.d.cts.map +1 -0
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.d.ts +17 -0
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.d.ts.map +1 -0
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.js +33 -0
- package/dist/processors/MXLNetworkSpanProcessor/MXLNetworkSpanProcessor.js.map +1 -0
- package/dist/processors/MXLNetworkSpanProcessor/index.cjs +3 -0
- package/dist/processors/MXLNetworkSpanProcessor/index.d.cts +2 -0
- package/dist/processors/MXLNetworkSpanProcessor/index.d.ts +2 -0
- package/dist/processors/MXLNetworkSpanProcessor/index.js +3 -0
- package/dist/processors/MXLNetworkSpanProcessor/types.cjs +15 -0
- package/dist/processors/MXLNetworkSpanProcessor/types.cjs.map +1 -0
- package/dist/processors/MXLNetworkSpanProcessor/types.d.cts +19 -0
- package/dist/processors/MXLNetworkSpanProcessor/types.d.cts.map +1 -0
- package/dist/processors/MXLNetworkSpanProcessor/types.d.ts +19 -0
- package/dist/processors/MXLNetworkSpanProcessor/types.d.ts.map +1 -0
- package/dist/processors/MXLNetworkSpanProcessor/types.js +14 -0
- package/dist/processors/MXLNetworkSpanProcessor/types.js.map +1 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs +95 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.cjs.map +1 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts +34 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.cts.map +1 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts +34 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.d.ts.map +1 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js +94 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/MXLSessionBatchedSpanProcessor.js.map +1 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.cjs +3 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.cts +2 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.d.ts +2 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/index.js +3 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.cjs +0 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts +19 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.cts.map +1 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts +20 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.d.ts.map +1 -0
- package/dist/processors/MXLSessionBatchedSpanProcessor/types.js +0 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.cjs +27 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.cjs.map +1 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.d.cts +16 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.d.cts.map +1 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.d.ts +16 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.d.ts.map +1 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.js +27 -0
- package/dist/processors/PageLogRecordProcessor/PageLogRecordProcessor.js.map +1 -0
- package/dist/processors/PageLogRecordProcessor/index.cjs +3 -0
- package/dist/processors/PageLogRecordProcessor/index.d.cts +2 -0
- package/dist/processors/PageLogRecordProcessor/index.d.ts +2 -0
- package/dist/processors/PageLogRecordProcessor/index.js +3 -0
- package/dist/processors/PageLogRecordProcessor/types.cjs +0 -0
- package/dist/processors/PageLogRecordProcessor/types.d.cts +9 -0
- package/dist/processors/PageLogRecordProcessor/types.d.cts.map +1 -0
- package/dist/processors/PageLogRecordProcessor/types.d.ts +9 -0
- package/dist/processors/PageLogRecordProcessor/types.d.ts.map +1 -0
- package/dist/processors/PageLogRecordProcessor/types.js +0 -0
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.cjs +29 -0
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.cjs.map +1 -0
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.d.cts +17 -0
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.d.cts.map +1 -0
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.d.ts +17 -0
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.d.ts.map +1 -0
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.js +29 -0
- package/dist/processors/PageSpanProcessor/PageSpanProcessor.js.map +1 -0
- package/dist/processors/PageSpanProcessor/index.cjs +3 -0
- package/dist/processors/PageSpanProcessor/index.d.cts +2 -0
- package/dist/processors/PageSpanProcessor/index.d.ts +2 -0
- package/dist/processors/PageSpanProcessor/index.js +3 -0
- package/dist/processors/PageSpanProcessor/types.cjs +0 -0
- package/dist/processors/PageSpanProcessor/types.d.cts +9 -0
- package/dist/processors/PageSpanProcessor/types.d.cts.map +1 -0
- package/dist/processors/PageSpanProcessor/types.d.ts +9 -0
- package/dist/processors/PageSpanProcessor/types.d.ts.map +1 -0
- package/dist/processors/PageSpanProcessor/types.js +0 -0
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.cjs +25 -0
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.cjs.map +1 -0
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.d.cts +17 -0
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.d.cts.map +1 -0
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.d.ts +17 -0
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.d.ts.map +1 -0
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.js +24 -0
- package/dist/processors/SpanScrubProcessor/SpanScrubProcessor.js.map +1 -0
- package/dist/processors/SpanScrubProcessor/index.cjs +3 -0
- package/dist/processors/SpanScrubProcessor/index.d.cts +2 -0
- package/dist/processors/SpanScrubProcessor/index.d.ts +2 -0
- package/dist/processors/SpanScrubProcessor/index.js +3 -0
- package/dist/processors/SpanScrubProcessor/types.cjs +0 -0
- package/dist/processors/SpanScrubProcessor/types.d.cts +9 -0
- package/dist/processors/SpanScrubProcessor/types.d.cts.map +1 -0
- package/dist/processors/SpanScrubProcessor/types.d.ts +9 -0
- package/dist/processors/SpanScrubProcessor/types.d.ts.map +1 -0
- package/dist/processors/SpanScrubProcessor/types.js +0 -0
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.cjs +26 -0
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.cjs.map +1 -0
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.d.cts +20 -0
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.d.cts.map +1 -0
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.d.ts +20 -0
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.d.ts.map +1 -0
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.js +25 -0
- package/dist/processors/UserLogRecordProcessor/UserLogRecordProcessor.js.map +1 -0
- package/dist/processors/UserLogRecordProcessor/index.cjs +3 -0
- package/dist/processors/UserLogRecordProcessor/index.d.cts +2 -0
- package/dist/processors/UserLogRecordProcessor/index.d.ts +2 -0
- package/dist/processors/UserLogRecordProcessor/index.js +3 -0
- package/dist/processors/UserLogRecordProcessor/types.cjs +0 -0
- package/dist/processors/UserLogRecordProcessor/types.d.cts +9 -0
- package/dist/processors/UserLogRecordProcessor/types.d.cts.map +1 -0
- package/dist/processors/UserLogRecordProcessor/types.d.ts +9 -0
- package/dist/processors/UserLogRecordProcessor/types.d.ts.map +1 -0
- package/dist/processors/UserLogRecordProcessor/types.js +0 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.cjs +28 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.cjs.map +1 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.d.cts +21 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.d.cts.map +1 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.d.ts +21 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.d.ts.map +1 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.js +27 -0
- package/dist/processors/UserSpanProcessor/UserSpanProcessor.js.map +1 -0
- package/dist/processors/UserSpanProcessor/index.cjs +3 -0
- package/dist/processors/UserSpanProcessor/index.d.cts +2 -0
- package/dist/processors/UserSpanProcessor/index.d.ts +2 -0
- package/dist/processors/UserSpanProcessor/index.js +3 -0
- package/dist/processors/UserSpanProcessor/types.cjs +0 -0
- package/dist/processors/UserSpanProcessor/types.d.cts +9 -0
- package/dist/processors/UserSpanProcessor/types.d.cts.map +1 -0
- package/dist/processors/UserSpanProcessor/types.d.ts +9 -0
- package/dist/processors/UserSpanProcessor/types.d.ts.map +1 -0
- package/dist/processors/UserSpanProcessor/types.js +0 -0
- package/dist/processors/index.cjs +21 -0
- package/dist/processors/index.d.cts +11 -0
- package/dist/processors/index.d.ts +21 -0
- package/dist/processors/index.js +12 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.cjs +20 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.cjs.map +1 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.d.cts +10 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.d.cts.map +1 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.d.ts +10 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.d.ts.map +1 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.js +19 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/MXLW3CTraceContextPropagator.js.map +1 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/index.cjs +3 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/index.d.cts +2 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/index.d.ts +2 -0
- package/dist/propagators/MXLW3CTraceContextPropagator/index.js +3 -0
- package/dist/propagators/index.cjs +3 -0
- package/dist/propagators/index.d.cts +2 -0
- package/dist/propagators/index.d.ts +3 -0
- package/dist/propagators/index.js +3 -0
- package/dist/react-instrumentation/index.cjs +11 -0
- package/dist/react-instrumentation/index.d.cts +6 -0
- package/dist/react-instrumentation/index.d.ts +9 -0
- package/dist/react-instrumentation/index.js +7 -0
- package/dist/resources/appInstanceId.cjs +26 -0
- package/dist/resources/appInstanceId.cjs.map +1 -0
- package/dist/resources/appInstanceId.d.cts +7 -0
- package/dist/resources/appInstanceId.d.cts.map +1 -0
- package/dist/resources/appInstanceId.d.ts +7 -0
- package/dist/resources/appInstanceId.d.ts.map +1 -0
- package/dist/resources/appInstanceId.js +26 -0
- package/dist/resources/appInstanceId.js.map +1 -0
- package/dist/resources/constants/index.cjs +15 -0
- package/dist/resources/constants/index.cjs.map +1 -0
- package/dist/resources/constants/index.d.cts +9 -0
- package/dist/resources/constants/index.d.cts.map +1 -0
- package/dist/resources/constants/index.d.ts +9 -0
- package/dist/resources/constants/index.d.ts.map +1 -0
- package/dist/resources/constants/index.js +10 -0
- package/dist/resources/constants/index.js.map +1 -0
- package/dist/resources/index.cjs +8 -0
- package/dist/resources/index.d.cts +4 -0
- package/dist/resources/index.d.ts +4 -0
- package/dist/resources/index.js +5 -0
- package/dist/resources/types.cjs +0 -0
- package/dist/resources/types.d.cts +11 -0
- package/dist/resources/types.d.cts.map +1 -0
- package/dist/resources/types.d.ts +11 -0
- package/dist/resources/types.d.ts.map +1 -0
- package/dist/resources/types.js +0 -0
- package/dist/resources/webSdkResource.cjs +28 -0
- package/dist/resources/webSdkResource.cjs.map +1 -0
- package/dist/resources/webSdkResource.d.cts +12 -0
- package/dist/resources/webSdkResource.d.cts.map +1 -0
- package/dist/resources/webSdkResource.d.ts +12 -0
- package/dist/resources/webSdkResource.d.ts.map +1 -0
- package/dist/resources/webSdkResource.js +27 -0
- package/dist/resources/webSdkResource.js.map +1 -0
- package/dist/sdk/defaultAttributeScrubbers.cjs +67 -0
- package/dist/sdk/defaultAttributeScrubbers.cjs.map +1 -0
- package/dist/sdk/defaultAttributeScrubbers.d.cts +7 -0
- package/dist/sdk/defaultAttributeScrubbers.d.cts.map +1 -0
- package/dist/sdk/defaultAttributeScrubbers.d.ts +7 -0
- package/dist/sdk/defaultAttributeScrubbers.d.ts.map +1 -0
- package/dist/sdk/defaultAttributeScrubbers.js +66 -0
- package/dist/sdk/defaultAttributeScrubbers.js.map +1 -0
- package/dist/sdk/index.cjs +3 -0
- package/dist/sdk/index.d.cts +3 -0
- package/dist/sdk/index.d.ts +3 -0
- package/dist/sdk/index.js +3 -0
- package/dist/sdk/initSDK.cjs +290 -0
- package/dist/sdk/initSDK.cjs.map +1 -0
- package/dist/sdk/initSDK.d.cts +31 -0
- package/dist/sdk/initSDK.d.cts.map +1 -0
- package/dist/sdk/initSDK.d.ts +31 -0
- package/dist/sdk/initSDK.d.ts.map +1 -0
- package/dist/sdk/initSDK.js +289 -0
- package/dist/sdk/initSDK.js.map +1 -0
- package/dist/sdk/registry.cjs +27 -0
- package/dist/sdk/registry.cjs.map +1 -0
- package/dist/sdk/registry.d.cts +20 -0
- package/dist/sdk/registry.d.cts.map +1 -0
- package/dist/sdk/registry.d.ts +20 -0
- package/dist/sdk/registry.d.ts.map +1 -0
- package/dist/sdk/registry.js +26 -0
- package/dist/sdk/registry.js.map +1 -0
- package/dist/sdk/setupDefaultInstrumentations.cjs +47 -0
- package/dist/sdk/setupDefaultInstrumentations.cjs.map +1 -0
- package/dist/sdk/setupDefaultInstrumentations.d.cts +14 -0
- package/dist/sdk/setupDefaultInstrumentations.d.cts.map +1 -0
- package/dist/sdk/setupDefaultInstrumentations.d.ts +14 -0
- package/dist/sdk/setupDefaultInstrumentations.d.ts.map +1 -0
- package/dist/sdk/setupDefaultInstrumentations.js +47 -0
- package/dist/sdk/setupDefaultInstrumentations.js.map +1 -0
- package/dist/sdk/types.cjs +0 -0
- package/dist/sdk/types.d.cts +309 -0
- package/dist/sdk/types.d.cts.map +1 -0
- package/dist/sdk/types.d.ts +315 -0
- package/dist/sdk/types.d.ts.map +1 -0
- package/dist/sdk/types.js +0 -0
- package/dist/sdk/utils.cjs +25 -0
- package/dist/sdk/utils.cjs.map +1 -0
- package/dist/sdk/utils.d.cts +6 -0
- package/dist/sdk/utils.d.cts.map +1 -0
- package/dist/sdk/utils.d.ts +6 -0
- package/dist/sdk/utils.d.ts.map +1 -0
- package/dist/sdk/utils.js +24 -0
- package/dist/sdk/utils.js.map +1 -0
- package/dist/transport/FetchTransport/FetchTransport.cjs +79 -0
- package/dist/transport/FetchTransport/FetchTransport.cjs.map +1 -0
- package/dist/transport/FetchTransport/FetchTransport.d.cts +15 -0
- package/dist/transport/FetchTransport/FetchTransport.d.cts.map +1 -0
- package/dist/transport/FetchTransport/FetchTransport.d.ts +15 -0
- package/dist/transport/FetchTransport/FetchTransport.d.ts.map +1 -0
- package/dist/transport/FetchTransport/FetchTransport.js +78 -0
- package/dist/transport/FetchTransport/FetchTransport.js.map +1 -0
- package/dist/transport/FetchTransport/createFetchTransport.cjs +8 -0
- package/dist/transport/FetchTransport/createFetchTransport.cjs.map +1 -0
- package/dist/transport/FetchTransport/createFetchTransport.d.cts +8 -0
- package/dist/transport/FetchTransport/createFetchTransport.d.cts.map +1 -0
- package/dist/transport/FetchTransport/createFetchTransport.d.ts +8 -0
- package/dist/transport/FetchTransport/createFetchTransport.d.ts.map +1 -0
- package/dist/transport/FetchTransport/createFetchTransport.js +8 -0
- package/dist/transport/FetchTransport/createFetchTransport.js.map +1 -0
- package/dist/transport/FetchTransport/index.cjs +3 -0
- package/dist/transport/FetchTransport/index.d.cts +2 -0
- package/dist/transport/FetchTransport/index.d.ts +2 -0
- package/dist/transport/FetchTransport/index.js +3 -0
- package/dist/transport/FetchTransport/types.cjs +0 -0
- package/dist/transport/FetchTransport/types.d.cts +9 -0
- package/dist/transport/FetchTransport/types.d.cts.map +1 -0
- package/dist/transport/FetchTransport/types.d.ts +9 -0
- package/dist/transport/FetchTransport/types.d.ts.map +1 -0
- package/dist/transport/FetchTransport/types.js +0 -0
- package/dist/transport/RetryingTransport/RetryingTransport.cjs +44 -0
- package/dist/transport/RetryingTransport/RetryingTransport.cjs.map +1 -0
- package/dist/transport/RetryingTransport/RetryingTransport.d.cts +15 -0
- package/dist/transport/RetryingTransport/RetryingTransport.d.cts.map +1 -0
- package/dist/transport/RetryingTransport/RetryingTransport.d.ts +16 -0
- package/dist/transport/RetryingTransport/RetryingTransport.d.ts.map +1 -0
- package/dist/transport/RetryingTransport/RetryingTransport.js +44 -0
- package/dist/transport/RetryingTransport/RetryingTransport.js.map +1 -0
- package/dist/transport/RetryingTransport/constants.cjs +15 -0
- package/dist/transport/RetryingTransport/constants.cjs.map +1 -0
- package/dist/transport/RetryingTransport/constants.d.cts +9 -0
- package/dist/transport/RetryingTransport/constants.d.cts.map +1 -0
- package/dist/transport/RetryingTransport/constants.d.ts +9 -0
- package/dist/transport/RetryingTransport/constants.d.ts.map +1 -0
- package/dist/transport/RetryingTransport/constants.js +10 -0
- package/dist/transport/RetryingTransport/constants.js.map +1 -0
- package/dist/transport/RetryingTransport/createRetryingTransport.cjs +12 -0
- package/dist/transport/RetryingTransport/createRetryingTransport.cjs.map +1 -0
- package/dist/transport/RetryingTransport/createRetryingTransport.d.cts +15 -0
- package/dist/transport/RetryingTransport/createRetryingTransport.d.cts.map +1 -0
- package/dist/transport/RetryingTransport/createRetryingTransport.d.ts +15 -0
- package/dist/transport/RetryingTransport/createRetryingTransport.d.ts.map +1 -0
- package/dist/transport/RetryingTransport/createRetryingTransport.js +12 -0
- package/dist/transport/RetryingTransport/createRetryingTransport.js.map +1 -0
- package/dist/transport/RetryingTransport/index.cjs +3 -0
- package/dist/transport/RetryingTransport/index.d.cts +2 -0
- package/dist/transport/RetryingTransport/index.d.ts +2 -0
- package/dist/transport/RetryingTransport/index.js +3 -0
- package/dist/transport/index.cjs +5 -0
- package/dist/transport/index.d.cts +3 -0
- package/dist/transport/index.d.ts +5 -0
- package/dist/transport/index.js +4 -0
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs +116 -0
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.cjs.map +1 -0
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts +42 -0
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.cts.map +1 -0
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts +43 -0
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.d.ts.map +1 -0
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.js +115 -0
- package/dist/utils/MXLSpanStorage/MXLSpanStorage.js.map +1 -0
- package/dist/utils/MXLSpanStorage/index.cjs +3 -0
- package/dist/utils/MXLSpanStorage/index.d.cts +2 -0
- package/dist/utils/MXLSpanStorage/index.d.ts +3 -0
- package/dist/utils/MXLSpanStorage/index.js +3 -0
- package/dist/utils/MXLSpanStorage/types.cjs +0 -0
- package/dist/utils/MXLSpanStorage/types.d.cts +2 -0
- package/dist/utils/MXLSpanStorage/types.d.ts +2 -0
- package/dist/utils/MXLSpanStorage/types.js +0 -0
- package/dist/utils/NamespacedStorage/NamespacedStorage.cjs +42 -0
- package/dist/utils/NamespacedStorage/NamespacedStorage.cjs.map +1 -0
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts +16 -0
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.cts.map +1 -0
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts +16 -0
- package/dist/utils/NamespacedStorage/NamespacedStorage.d.ts.map +1 -0
- package/dist/utils/NamespacedStorage/NamespacedStorage.js +41 -0
- package/dist/utils/NamespacedStorage/NamespacedStorage.js.map +1 -0
- package/dist/utils/NamespacedStorage/index.cjs +3 -0
- package/dist/utils/NamespacedStorage/index.d.cts +2 -0
- package/dist/utils/NamespacedStorage/index.d.ts +2 -0
- package/dist/utils/NamespacedStorage/index.js +3 -0
- package/dist/utils/PerformanceManager/OTelPerformanceManager.cjs +18 -0
- package/dist/utils/PerformanceManager/OTelPerformanceManager.cjs.map +1 -0
- package/dist/utils/PerformanceManager/OTelPerformanceManager.d.cts +15 -0
- package/dist/utils/PerformanceManager/OTelPerformanceManager.d.cts.map +1 -0
- package/dist/utils/PerformanceManager/OTelPerformanceManager.d.ts +15 -0
- package/dist/utils/PerformanceManager/OTelPerformanceManager.d.ts.map +1 -0
- package/dist/utils/PerformanceManager/OTelPerformanceManager.js +17 -0
- package/dist/utils/PerformanceManager/OTelPerformanceManager.js.map +1 -0
- package/dist/utils/PerformanceManager/index.cjs +3 -0
- package/dist/utils/PerformanceManager/index.d.cts +3 -0
- package/dist/utils/PerformanceManager/index.d.ts +3 -0
- package/dist/utils/PerformanceManager/index.js +3 -0
- package/dist/utils/PerformanceManager/types.cjs +0 -0
- package/dist/utils/PerformanceManager/types.d.cts +16 -0
- package/dist/utils/PerformanceManager/types.d.cts.map +1 -0
- package/dist/utils/PerformanceManager/types.d.ts +16 -0
- package/dist/utils/PerformanceManager/types.d.ts.map +1 -0
- package/dist/utils/PerformanceManager/types.js +0 -0
- package/dist/utils/bulkAddEventListener/bulkAddEventListener.cjs +23 -0
- package/dist/utils/bulkAddEventListener/bulkAddEventListener.cjs.map +1 -0
- package/dist/utils/bulkAddEventListener/bulkAddEventListener.d.cts +24 -0
- package/dist/utils/bulkAddEventListener/bulkAddEventListener.d.cts.map +1 -0
- package/dist/utils/bulkAddEventListener/bulkAddEventListener.d.ts +24 -0
- package/dist/utils/bulkAddEventListener/bulkAddEventListener.d.ts.map +1 -0
- package/dist/utils/bulkAddEventListener/bulkAddEventListener.js +22 -0
- package/dist/utils/bulkAddEventListener/bulkAddEventListener.js.map +1 -0
- package/dist/utils/bulkAddEventListener/index.cjs +3 -0
- package/dist/utils/bulkAddEventListener/index.d.cts +2 -0
- package/dist/utils/bulkAddEventListener/index.d.ts +2 -0
- package/dist/utils/bulkAddEventListener/index.js +3 -0
- package/dist/utils/bulkAddEventListener/types.cjs +0 -0
- package/dist/utils/bulkAddEventListener/types.d.cts +9 -0
- package/dist/utils/bulkAddEventListener/types.d.cts.map +1 -0
- package/dist/utils/bulkAddEventListener/types.d.ts +9 -0
- package/dist/utils/bulkAddEventListener/types.d.ts.map +1 -0
- package/dist/utils/bulkAddEventListener/types.js +0 -0
- package/dist/utils/bulkRemoveEventListener/bulkRemoveEventListener.cjs +23 -0
- package/dist/utils/bulkRemoveEventListener/bulkRemoveEventListener.cjs.map +1 -0
- package/dist/utils/bulkRemoveEventListener/bulkRemoveEventListener.d.cts +24 -0
- package/dist/utils/bulkRemoveEventListener/bulkRemoveEventListener.d.cts.map +1 -0
- package/dist/utils/bulkRemoveEventListener/bulkRemoveEventListener.d.ts +24 -0
- package/dist/utils/bulkRemoveEventListener/bulkRemoveEventListener.d.ts.map +1 -0
- package/dist/utils/bulkRemoveEventListener/bulkRemoveEventListener.js +22 -0
- package/dist/utils/bulkRemoveEventListener/bulkRemoveEventListener.js.map +1 -0
- package/dist/utils/bulkRemoveEventListener/index.cjs +3 -0
- package/dist/utils/bulkRemoveEventListener/index.d.cts +2 -0
- package/dist/utils/bulkRemoveEventListener/index.d.ts +2 -0
- package/dist/utils/bulkRemoveEventListener/index.js +3 -0
- package/dist/utils/bulkRemoveEventListener/types.cjs +0 -0
- package/dist/utils/bulkRemoveEventListener/types.d.cts +9 -0
- package/dist/utils/bulkRemoveEventListener/types.d.cts.map +1 -0
- package/dist/utils/bulkRemoveEventListener/types.d.ts +9 -0
- package/dist/utils/bulkRemoveEventListener/types.d.ts.map +1 -0
- package/dist/utils/bulkRemoveEventListener/types.js +0 -0
- package/dist/utils/createSafeProxy/createSafeProxy.cjs +33 -0
- package/dist/utils/createSafeProxy/createSafeProxy.cjs.map +1 -0
- package/dist/utils/createSafeProxy/createSafeProxy.d.cts +17 -0
- package/dist/utils/createSafeProxy/createSafeProxy.d.cts.map +1 -0
- package/dist/utils/createSafeProxy/createSafeProxy.d.ts +17 -0
- package/dist/utils/createSafeProxy/createSafeProxy.d.ts.map +1 -0
- package/dist/utils/createSafeProxy/createSafeProxy.js +32 -0
- package/dist/utils/createSafeProxy/createSafeProxy.js.map +1 -0
- package/dist/utils/createSafeProxy/index.cjs +3 -0
- package/dist/utils/createSafeProxy/index.d.cts +2 -0
- package/dist/utils/createSafeProxy/index.d.ts +2 -0
- package/dist/utils/createSafeProxy/index.js +3 -0
- package/dist/utils/generateUUID.cjs +15 -0
- package/dist/utils/generateUUID.cjs.map +1 -0
- package/dist/utils/generateUUID.d.cts +5 -0
- package/dist/utils/generateUUID.d.cts.map +1 -0
- package/dist/utils/generateUUID.d.ts +5 -0
- package/dist/utils/generateUUID.d.ts.map +1 -0
- package/dist/utils/generateUUID.js +14 -0
- package/dist/utils/generateUUID.js.map +1 -0
- package/dist/utils/getIncrementedCount.cjs +18 -0
- package/dist/utils/getIncrementedCount.cjs.map +1 -0
- package/dist/utils/getIncrementedCount.d.cts +7 -0
- package/dist/utils/getIncrementedCount.d.cts.map +1 -0
- package/dist/utils/getIncrementedCount.d.ts +7 -0
- package/dist/utils/getIncrementedCount.d.ts.map +1 -0
- package/dist/utils/getIncrementedCount.js +17 -0
- package/dist/utils/getIncrementedCount.js.map +1 -0
- package/dist/utils/getVisibilityState.cjs +8 -0
- package/dist/utils/getVisibilityState.cjs.map +1 -0
- package/dist/utils/getVisibilityState.d.cts +8 -0
- package/dist/utils/getVisibilityState.d.cts.map +1 -0
- package/dist/utils/getVisibilityState.d.ts +8 -0
- package/dist/utils/getVisibilityState.d.ts.map +1 -0
- package/dist/utils/getVisibilityState.js +8 -0
- package/dist/utils/getVisibilityState.js.map +1 -0
- package/dist/utils/globalConfig.cjs +7 -0
- package/dist/utils/globalConfig.cjs.map +1 -0
- package/dist/utils/globalConfig.d.cts +8 -0
- package/dist/utils/globalConfig.d.cts.map +1 -0
- package/dist/utils/globalConfig.d.ts +8 -0
- package/dist/utils/globalConfig.d.ts.map +1 -0
- package/dist/utils/globalConfig.js +6 -0
- package/dist/utils/globalConfig.js.map +1 -0
- package/dist/utils/index.cjs +27 -0
- package/dist/utils/index.d.cts +16 -0
- package/dist/utils/index.d.ts +19 -0
- package/dist/utils/index.js +15 -0
- package/dist/utils/isDeviceIdEnabled.cjs +32 -0
- package/dist/utils/isDeviceIdEnabled.cjs.map +1 -0
- package/dist/utils/isDeviceIdEnabled.d.cts +19 -0
- package/dist/utils/isDeviceIdEnabled.d.cts.map +1 -0
- package/dist/utils/isDeviceIdEnabled.d.ts +19 -0
- package/dist/utils/isDeviceIdEnabled.d.ts.map +1 -0
- package/dist/utils/isDeviceIdEnabled.js +30 -0
- package/dist/utils/isDeviceIdEnabled.js.map +1 -0
- package/dist/utils/nsfConfigValidation.cjs +17 -0
- package/dist/utils/nsfConfigValidation.cjs.map +1 -0
- package/dist/utils/nsfConfigValidation.d.cts +19 -0
- package/dist/utils/nsfConfigValidation.d.cts.map +1 -0
- package/dist/utils/nsfConfigValidation.d.ts +21 -0
- package/dist/utils/nsfConfigValidation.d.ts.map +1 -0
- package/dist/utils/nsfConfigValidation.js +16 -0
- package/dist/utils/nsfConfigValidation.js.map +1 -0
- package/dist/utils/throttle.cjs +23 -0
- package/dist/utils/throttle.cjs.map +1 -0
- package/dist/utils/throttle.d.cts +11 -0
- package/dist/utils/throttle.d.cts.map +1 -0
- package/dist/utils/throttle.d.ts +11 -0
- package/dist/utils/throttle.d.ts.map +1 -0
- package/dist/utils/throttle.js +22 -0
- package/dist/utils/throttle.js.map +1 -0
- package/dist/utils/timeout/index.cjs +0 -0
- package/dist/utils/timeout/index.d.cts +2 -0
- package/dist/utils/timeout/index.d.ts +2 -0
- package/dist/utils/timeout/index.js +0 -0
- package/dist/utils/timeout/types.cjs +0 -0
- package/dist/utils/timeout/types.d.cts +5 -0
- package/dist/utils/timeout/types.d.cts.map +1 -0
- package/dist/utils/timeout/types.d.ts +5 -0
- package/dist/utils/timeout/types.d.ts.map +1 -0
- package/dist/utils/timeout/types.js +0 -0
- package/package.json +167 -0
package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_constants_attributes = require('../../../constants/attributes.cjs');
|
|
3
|
+
const require_api_page_pageAPI = require('../../../api-page/pageAPI.cjs');
|
|
4
|
+
const require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase = require('../../MXLInstrumentationBase/MXLInstrumentationBase.cjs');
|
|
5
|
+
const require_instrumentations_web_vitals_WebVitalsInstrumentation_constants = require('./constants.cjs');
|
|
6
|
+
let _opentelemetry_semantic_conventions = require("@opentelemetry/semantic-conventions");
|
|
7
|
+
|
|
8
|
+
//#region src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.ts
|
|
9
|
+
const webVitalAttributionToReport = (name, metric) => {
|
|
10
|
+
const attributes = {};
|
|
11
|
+
const toReport = [];
|
|
12
|
+
if (name === "CLS") {
|
|
13
|
+
const attribution = metric.attribution;
|
|
14
|
+
toReport.push(...[{
|
|
15
|
+
key: "largestShiftTarget",
|
|
16
|
+
value: attribution.largestShiftTarget
|
|
17
|
+
}, {
|
|
18
|
+
key: "largestShiftValue",
|
|
19
|
+
value: attribution.largestShiftValue
|
|
20
|
+
}]);
|
|
21
|
+
} else if (name === "INP") {
|
|
22
|
+
const attribution = metric.attribution;
|
|
23
|
+
toReport.push(...[
|
|
24
|
+
{
|
|
25
|
+
key: "interactionTarget",
|
|
26
|
+
value: attribution.interactionTarget
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
key: "interactionType",
|
|
30
|
+
value: attribution.interactionType
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
key: "nextPaintTime",
|
|
34
|
+
value: attribution.nextPaintTime
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
key: "inputDelay",
|
|
38
|
+
value: attribution.inputDelay
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
key: "processingDuration",
|
|
42
|
+
value: attribution.processingDuration
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
key: "presentationDelay",
|
|
46
|
+
value: attribution.presentationDelay
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
key: "totalScriptDuration",
|
|
50
|
+
value: attribution.totalScriptDuration
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
key: "totalStyleAndLayoutDuration",
|
|
54
|
+
value: attribution.totalStyleAndLayoutDuration
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: "totalPaintDuration",
|
|
58
|
+
value: attribution.totalPaintDuration
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
key: "totalUnattributedDuration",
|
|
62
|
+
value: attribution.totalUnattributedDuration
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
key: "loadState",
|
|
66
|
+
value: attribution.loadState
|
|
67
|
+
}
|
|
68
|
+
]);
|
|
69
|
+
} else if (name === "LCP") {
|
|
70
|
+
const attribution = metric.attribution;
|
|
71
|
+
toReport.push(...[
|
|
72
|
+
{
|
|
73
|
+
key: "target",
|
|
74
|
+
value: attribution.target
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
key: "url",
|
|
78
|
+
value: attribution.url
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
key: "timeToFirstByte",
|
|
82
|
+
value: attribution.timeToFirstByte
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
key: "resourceLoadDelay",
|
|
86
|
+
value: attribution.resourceLoadDelay
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
key: "resourceLoadDuration",
|
|
90
|
+
value: attribution.resourceLoadDuration
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
key: "elementRenderDelay",
|
|
94
|
+
value: attribution.elementRenderDelay
|
|
95
|
+
}
|
|
96
|
+
]);
|
|
97
|
+
}
|
|
98
|
+
toReport.forEach((report) => {
|
|
99
|
+
if (report.value !== void 0) attributes[`mxl.web_vital.attribution.${report.key}`] = report.value;
|
|
100
|
+
});
|
|
101
|
+
return attributes;
|
|
102
|
+
};
|
|
103
|
+
var WebVitalsInstrumentation = class extends require_instrumentations_MXLInstrumentationBase_MXLInstrumentationBase.MXLInstrumentationBase {
|
|
104
|
+
_metricsToTrack;
|
|
105
|
+
_listeners;
|
|
106
|
+
_urlDocument;
|
|
107
|
+
_urlAttribution;
|
|
108
|
+
_pageManager;
|
|
109
|
+
_attributedPage = {
|
|
110
|
+
INP: void 0,
|
|
111
|
+
LCP: void 0,
|
|
112
|
+
CLS: void 0,
|
|
113
|
+
FCP: void 0,
|
|
114
|
+
TTFB: void 0
|
|
115
|
+
};
|
|
116
|
+
_largestShiftTargetForCLS;
|
|
117
|
+
_listenersRegistered = false;
|
|
118
|
+
constructor({ diag, perf, trackingLevel = "core", listeners = require_instrumentations_web_vitals_WebVitalsInstrumentation_constants.WEB_VITALS_ID_TO_LISTENER, urlDocument = window.document, urlAttribution = true, pageManager } = {}) {
|
|
119
|
+
super({
|
|
120
|
+
instrumentationName: "WebVitalsInstrumentation",
|
|
121
|
+
instrumentationVersion: "1.0.0",
|
|
122
|
+
diag,
|
|
123
|
+
perf,
|
|
124
|
+
config: {}
|
|
125
|
+
});
|
|
126
|
+
this._listeners = listeners;
|
|
127
|
+
this._urlDocument = urlDocument;
|
|
128
|
+
this._metricsToTrack = trackingLevel === "all" ? [...require_instrumentations_web_vitals_WebVitalsInstrumentation_constants.ALL_WEB_VITALS] : [...require_instrumentations_web_vitals_WebVitalsInstrumentation_constants.CORE_WEB_VITALS];
|
|
129
|
+
this._urlAttribution = urlAttribution;
|
|
130
|
+
this._pageManager = pageManager ?? require_api_page_pageAPI.page.getPageManager();
|
|
131
|
+
if (this._config.enabled) this.enable();
|
|
132
|
+
}
|
|
133
|
+
disable() {}
|
|
134
|
+
enable() {
|
|
135
|
+
if (this._listenersRegistered) return;
|
|
136
|
+
this._listenersRegistered = true;
|
|
137
|
+
this._metricsToTrack.forEach((name) => {
|
|
138
|
+
this._listeners[name]?.((metric) => {
|
|
139
|
+
const currentSessionSpan = this.sessionManager.getSessionSpan();
|
|
140
|
+
if (!currentSessionSpan) return;
|
|
141
|
+
const metricTime = this._getTimeForMetric(metric);
|
|
142
|
+
const attributedPage = this._getAttributedPageForMetric(metric);
|
|
143
|
+
const attrs = {
|
|
144
|
+
[require_constants_attributes.KEY_EMB_TYPE]: require_constants_attributes.EMB_TYPES.WebVital,
|
|
145
|
+
[_opentelemetry_semantic_conventions.ATTR_URL_FULL]: attributedPage.fullURL,
|
|
146
|
+
"mxl.web_vital.navigation_type": metric.navigationType,
|
|
147
|
+
"mxl.web_vital.name": metric.name,
|
|
148
|
+
"mxl.web_vital.rating": metric.rating,
|
|
149
|
+
"mxl.web_vital.id": metric.id,
|
|
150
|
+
"mxl.web_vital.delta": metric.delta,
|
|
151
|
+
"mxl.web_vital.value": metric.value,
|
|
152
|
+
...webVitalAttributionToReport(name, metric)
|
|
153
|
+
};
|
|
154
|
+
if (attributedPage.path && attributedPage.pageID) {
|
|
155
|
+
attrs[require_constants_attributes.KEY_EMB_PAGE_PATH] = attributedPage.path;
|
|
156
|
+
attrs[require_constants_attributes.KEY_EMB_PAGE_ID] = attributedPage.pageID;
|
|
157
|
+
}
|
|
158
|
+
currentSessionSpan.addEvent(`${require_instrumentations_web_vitals_WebVitalsInstrumentation_constants.EMB_WEB_VITALS_PREFIX}-report-${name}`, attrs, metricTime);
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
if (this._urlAttribution) {
|
|
162
|
+
this._listeners.INP?.(() => {
|
|
163
|
+
this._attributedPage.INP = this._currentAttributedPage();
|
|
164
|
+
}, { reportAllChanges: true });
|
|
165
|
+
this._listeners.LCP?.(() => {
|
|
166
|
+
this._attributedPage.LCP = this._currentAttributedPage();
|
|
167
|
+
}, { reportAllChanges: true });
|
|
168
|
+
this._listeners.CLS?.((metric) => {
|
|
169
|
+
const clsMetric = metric;
|
|
170
|
+
if (this._largestShiftTargetForCLS !== clsMetric.attribution.largestShiftTarget) {
|
|
171
|
+
this._largestShiftTargetForCLS = clsMetric.attribution.largestShiftTarget;
|
|
172
|
+
this._attributedPage.CLS = this._currentAttributedPage();
|
|
173
|
+
}
|
|
174
|
+
}, { reportAllChanges: true });
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
_getTimeForMetric(metric) {
|
|
178
|
+
if (metric.name === "CLS" && metric.attribution.largestShiftTime) return this.perf.epochMillisFromOriginOffset(metric.attribution.largestShiftTime);
|
|
179
|
+
if (metric.name === "INP" && metric.attribution.interactionTime) return this.perf.epochMillisFromOriginOffset(metric.attribution.interactionTime);
|
|
180
|
+
return this.perf.getNowMillis();
|
|
181
|
+
}
|
|
182
|
+
_currentAttributedPage() {
|
|
183
|
+
const attributed = { fullURL: this._urlDocument.URL };
|
|
184
|
+
const currentRoute = this._pageManager.getCurrentRoute();
|
|
185
|
+
const currentPageId = this._pageManager.getCurrentPageId();
|
|
186
|
+
if (currentRoute && currentPageId) {
|
|
187
|
+
attributed.path = currentRoute.path;
|
|
188
|
+
attributed.pageID = currentPageId;
|
|
189
|
+
}
|
|
190
|
+
return attributed;
|
|
191
|
+
}
|
|
192
|
+
_getAttributedPageForMetric(metric) {
|
|
193
|
+
if (metric.name === "INP" && this._attributedPage.INP) return this._attributedPage.INP;
|
|
194
|
+
if (metric.name === "LCP" && this._attributedPage.LCP) return this._attributedPage.LCP;
|
|
195
|
+
if (metric.name === "CLS" && this._attributedPage.CLS && metric.attribution.largestShiftTarget === this._largestShiftTargetForCLS) return this._attributedPage.CLS;
|
|
196
|
+
return this._currentAttributedPage();
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
//#endregion
|
|
201
|
+
exports.WebVitalsInstrumentation = WebVitalsInstrumentation;
|
|
202
|
+
//# sourceMappingURL=WebVitalsInstrumentation.cjs.map
|
package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebVitalsInstrumentation.cjs","names":["MXLInstrumentationBase","WEB_VITALS_ID_TO_LISTENER","ALL_WEB_VITALS","CORE_WEB_VITALS","page","KEY_EMB_TYPE","EMB_TYPES","ATTR_URL_FULL","KEY_EMB_PAGE_PATH","KEY_EMB_PAGE_ID","EMB_WEB_VITALS_PREFIX"],"sources":["../../../../src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.ts"],"sourcesContent":["import type { Attributes } from '@opentelemetry/api';\nimport { ATTR_URL_FULL } from '@opentelemetry/semantic-conventions';\nimport type {\n CLSAttribution,\n CLSMetricWithAttribution,\n INPAttribution,\n LCPAttribution,\n Metric,\n MetricWithAttribution,\n} from 'web-vitals/attribution';\nimport type { PageManager } from '../../../api-page/index.ts';\nimport { page } from '../../../api-page/index.ts';\nimport type { URLDocument } from '../../../common/index.ts';\nimport {\n EMB_TYPES,\n KEY_EMB_PAGE_ID,\n KEY_EMB_PAGE_PATH,\n KEY_EMB_TYPE,\n} from '../../../constants/index.ts';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/index.ts';\nimport {\n ALL_WEB_VITALS,\n CORE_WEB_VITALS,\n EMB_WEB_VITALS_PREFIX,\n WEB_VITALS_ID_TO_LISTENER,\n} from './constants.ts';\nimport type {\n WebVitalListeners,\n WebVitalsInstrumentationArgs,\n} from './types.ts';\n\ntype AttributedPage = {\n fullURL: string;\n path?: string;\n pageID?: string;\n};\n\nconst webVitalAttributionToReport = (\n name: Metric['name'],\n metric: MetricWithAttribution,\n) => {\n const attributes: Attributes = {};\n const toReport: {\n key: string;\n value: string | boolean | number | undefined;\n }[] = [];\n\n if (name === 'CLS') {\n // https://www.npmjs.com/package/web-vitals#CLSAttribution\n const attribution = metric.attribution as CLSAttribution;\n toReport.push(\n ...[\n {\n key: 'largestShiftTarget',\n value: attribution.largestShiftTarget,\n },\n {\n key: 'largestShiftValue',\n value: attribution.largestShiftValue,\n },\n ],\n );\n } else if (name === 'INP') {\n // https://www.npmjs.com/package/web-vitals#inpattribution\n const attribution = metric.attribution as INPAttribution;\n toReport.push(\n ...[\n { key: 'interactionTarget', value: attribution.interactionTarget },\n { key: 'interactionType', value: attribution.interactionType },\n { key: 'nextPaintTime', value: attribution.nextPaintTime },\n { key: 'inputDelay', value: attribution.inputDelay },\n { key: 'processingDuration', value: attribution.processingDuration },\n { key: 'presentationDelay', value: attribution.presentationDelay },\n { key: 'totalScriptDuration', value: attribution.totalScriptDuration },\n {\n key: 'totalStyleAndLayoutDuration',\n value: attribution.totalStyleAndLayoutDuration,\n },\n { key: 'totalPaintDuration', value: attribution.totalPaintDuration },\n {\n key: 'totalUnattributedDuration',\n value: attribution.totalUnattributedDuration,\n },\n { key: 'loadState', value: attribution.loadState },\n ],\n );\n } else if (name === 'LCP') {\n // https://www.npmjs.com/package/web-vitals#lcpattribution\n const attribution = metric.attribution as LCPAttribution;\n toReport.push(\n ...[\n { key: 'target', value: attribution.target },\n { key: 'url', value: attribution.url },\n { key: 'timeToFirstByte', value: attribution.timeToFirstByte },\n { key: 'resourceLoadDelay', value: attribution.resourceLoadDelay },\n {\n key: 'resourceLoadDuration',\n value: attribution.resourceLoadDuration,\n },\n { key: 'elementRenderDelay', value: attribution.elementRenderDelay },\n ],\n );\n }\n\n toReport.forEach((report) => {\n if (report.value !== undefined) {\n attributes[`mxl.web_vital.attribution.${report.key}`] = report.value;\n }\n });\n\n return attributes;\n};\n\nexport class WebVitalsInstrumentation extends MXLInstrumentationBase {\n private readonly _metricsToTrack: Metric['name'][];\n private readonly _listeners: WebVitalListeners;\n private readonly _urlDocument: URLDocument;\n private readonly _urlAttribution: boolean;\n private readonly _pageManager: PageManager;\n private readonly _attributedPage: Record<\n Metric['name'],\n AttributedPage | undefined\n > = {\n INP: undefined,\n LCP: undefined,\n CLS: undefined,\n FCP: undefined,\n TTFB: undefined,\n };\n private _largestShiftTargetForCLS: string | undefined;\n private _listenersRegistered = false;\n\n // instrumentation that adds an event to the session span for each web vital report\n public constructor({\n diag,\n perf,\n trackingLevel = 'core',\n listeners = WEB_VITALS_ID_TO_LISTENER,\n urlDocument = window.document,\n urlAttribution = true,\n pageManager,\n }: WebVitalsInstrumentationArgs = {}) {\n super({\n instrumentationName: 'WebVitalsInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n this._listeners = listeners;\n this._urlDocument = urlDocument;\n this._metricsToTrack =\n trackingLevel === 'all' ? [...ALL_WEB_VITALS] : [...CORE_WEB_VITALS];\n this._urlAttribution = urlAttribution;\n this._pageManager = pageManager ?? page.getPageManager();\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public override disable(): void {\n // do nothing.\n // https://github.com/GoogleChrome/web-vitals/issues/357#issuecomment-1593439036\n }\n\n public enable(): void {\n // web-vitals library doesn't support removing listeners, so only register once\n if (this._listenersRegistered) {\n return;\n }\n this._listenersRegistered = true;\n\n this._metricsToTrack.forEach((name) => {\n this._listeners[name]?.((metric) => {\n const currentSessionSpan = this.sessionManager.getSessionSpan();\n\n if (!currentSessionSpan) {\n return;\n }\n\n // first thing record the time when this cb was invoked\n const metricTime = this._getTimeForMetric(metric);\n\n const attributedPage = this._getAttributedPageForMetric(metric);\n\n const attrs: Attributes = {\n [KEY_EMB_TYPE]: EMB_TYPES.WebVital,\n [ATTR_URL_FULL]: attributedPage.fullURL,\n 'mxl.web_vital.navigation_type': metric.navigationType,\n 'mxl.web_vital.name': metric.name,\n 'mxl.web_vital.rating': metric.rating,\n 'mxl.web_vital.id': metric.id,\n 'mxl.web_vital.delta': metric.delta,\n 'mxl.web_vital.value': metric.value,\n ...webVitalAttributionToReport(name, metric),\n };\n\n // Add page attributes if route and page ID exist\n if (attributedPage.path && attributedPage.pageID) {\n attrs[KEY_EMB_PAGE_PATH] = attributedPage.path;\n attrs[KEY_EMB_PAGE_ID] = attributedPage.pageID;\n }\n\n currentSessionSpan.addEvent(\n `${EMB_WEB_VITALS_PREFIX}-report-${name}`,\n attrs,\n metricTime,\n );\n });\n });\n\n if (this._urlAttribution) {\n // When these web vitals make their final report (e.g. when the listeners w/ reportAllChanges=false trigger) the\n // document's URL at that time may not match what it was at the time the scores were last updated. Instead, listen\n // for updates to the scores and keep track of the Page information to attribute for each\n this._listeners.INP?.(\n () => {\n this._attributedPage.INP = this._currentAttributedPage();\n },\n {\n reportAllChanges: true,\n },\n );\n this._listeners.LCP?.(\n () => {\n this._attributedPage.LCP = this._currentAttributedPage();\n },\n {\n reportAllChanges: true,\n },\n );\n this._listeners.CLS?.(\n (metric: MetricWithAttribution) => {\n const clsMetric = metric as CLSMetricWithAttribution;\n // A layout shift could cause CLS to change its rating but because the score is cumulative this might not\n // correspond with an updated `largestShiftTarget`. Since we want to tie the attributed URL to the page that\n // the `largestShiftTarget` was on we only update the attributed URL if that target has changed\n if (\n this._largestShiftTargetForCLS !==\n clsMetric.attribution.largestShiftTarget\n ) {\n this._largestShiftTargetForCLS =\n clsMetric.attribution.largestShiftTarget;\n this._attributedPage.CLS = this._currentAttributedPage();\n }\n },\n {\n reportAllChanges: true,\n },\n );\n }\n }\n\n private _getTimeForMetric(metric: MetricWithAttribution): number {\n if (metric.name === 'CLS' && metric.attribution.largestShiftTime) {\n return this.perf.epochMillisFromOriginOffset(\n metric.attribution.largestShiftTime,\n );\n }\n\n if (metric.name === 'INP' && metric.attribution.interactionTime) {\n return this.perf.epochMillisFromOriginOffset(\n metric.attribution.interactionTime,\n );\n }\n\n return this.perf.getNowMillis();\n }\n\n private _currentAttributedPage(): AttributedPage {\n const attributed: AttributedPage = {\n fullURL: this._urlDocument.URL,\n };\n\n const currentRoute = this._pageManager.getCurrentRoute();\n const currentPageId = this._pageManager.getCurrentPageId();\n if (currentRoute && currentPageId) {\n attributed.path = currentRoute.path;\n attributed.pageID = currentPageId;\n }\n\n return attributed;\n }\n\n private _getAttributedPageForMetric(\n metric: MetricWithAttribution,\n ): AttributedPage {\n if (metric.name === 'INP' && this._attributedPage.INP) {\n return this._attributedPage.INP;\n }\n\n if (metric.name === 'LCP' && this._attributedPage.LCP) {\n return this._attributedPage.LCP;\n }\n\n if (\n metric.name === 'CLS' &&\n this._attributedPage.CLS &&\n metric.attribution.largestShiftTarget === this._largestShiftTargetForCLS\n ) {\n return this._attributedPage.CLS;\n }\n\n return this._currentAttributedPage();\n }\n}\n"],"mappings":";;;;;;;;AAqCA,MAAM,+BACJ,MACA,WACG;CACH,MAAM,aAAyB,EAAE;CACjC,MAAM,WAGA,EAAE;AAER,KAAI,SAAS,OAAO;EAElB,MAAM,cAAc,OAAO;AAC3B,WAAS,KACP,GAAG,CACD;GACE,KAAK;GACL,OAAO,YAAY;GACpB,EACD;GACE,KAAK;GACL,OAAO,YAAY;GACpB,CACF,CACF;YACQ,SAAS,OAAO;EAEzB,MAAM,cAAc,OAAO;AAC3B,WAAS,KACP,GAAG;GACD;IAAE,KAAK;IAAqB,OAAO,YAAY;IAAmB;GAClE;IAAE,KAAK;IAAmB,OAAO,YAAY;IAAiB;GAC9D;IAAE,KAAK;IAAiB,OAAO,YAAY;IAAe;GAC1D;IAAE,KAAK;IAAc,OAAO,YAAY;IAAY;GACpD;IAAE,KAAK;IAAsB,OAAO,YAAY;IAAoB;GACpE;IAAE,KAAK;IAAqB,OAAO,YAAY;IAAmB;GAClE;IAAE,KAAK;IAAuB,OAAO,YAAY;IAAqB;GACtE;IACE,KAAK;IACL,OAAO,YAAY;IACpB;GACD;IAAE,KAAK;IAAsB,OAAO,YAAY;IAAoB;GACpE;IACE,KAAK;IACL,OAAO,YAAY;IACpB;GACD;IAAE,KAAK;IAAa,OAAO,YAAY;IAAW;GACnD,CACF;YACQ,SAAS,OAAO;EAEzB,MAAM,cAAc,OAAO;AAC3B,WAAS,KACP,GAAG;GACD;IAAE,KAAK;IAAU,OAAO,YAAY;IAAQ;GAC5C;IAAE,KAAK;IAAO,OAAO,YAAY;IAAK;GACtC;IAAE,KAAK;IAAmB,OAAO,YAAY;IAAiB;GAC9D;IAAE,KAAK;IAAqB,OAAO,YAAY;IAAmB;GAClE;IACE,KAAK;IACL,OAAO,YAAY;IACpB;GACD;IAAE,KAAK;IAAsB,OAAO,YAAY;IAAoB;GACrE,CACF;;AAGH,UAAS,SAAS,WAAW;AAC3B,MAAI,OAAO,UAAU,OACnB,YAAW,6BAA6B,OAAO,SAAS,OAAO;GAEjE;AAEF,QAAO;;AAGT,IAAa,2BAAb,cAA8CA,8FAAuB;CACnE,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CACjB,AAAiB,kBAGb;EACF,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,MAAM;EACP;CACD,AAAQ;CACR,AAAQ,uBAAuB;CAG/B,AAAO,YAAY,EACjB,MACA,MACA,gBAAgB,QAChB,YAAYC,kGACZ,cAAc,OAAO,UACrB,iBAAiB,MACjB,gBACgC,EAAE,EAAE;AACpC,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AACF,OAAK,aAAa;AAClB,OAAK,eAAe;AACpB,OAAK,kBACH,kBAAkB,QAAQ,CAAC,GAAGC,sFAAe,GAAG,CAAC,GAAGC,uFAAgB;AACtE,OAAK,kBAAkB;AACvB,OAAK,eAAe,eAAeC,8BAAK,gBAAgB;AAExD,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,AAAgB,UAAgB;CAKhC,AAAO,SAAe;AAEpB,MAAI,KAAK,qBACP;AAEF,OAAK,uBAAuB;AAE5B,OAAK,gBAAgB,SAAS,SAAS;AACrC,QAAK,WAAW,SAAS,WAAW;IAClC,MAAM,qBAAqB,KAAK,eAAe,gBAAgB;AAE/D,QAAI,CAAC,mBACH;IAIF,MAAM,aAAa,KAAK,kBAAkB,OAAO;IAEjD,MAAM,iBAAiB,KAAK,4BAA4B,OAAO;IAE/D,MAAM,QAAoB;MACvBC,4CAAeC,uCAAU;MACzBC,oDAAgB,eAAe;KAChC,iCAAiC,OAAO;KACxC,sBAAsB,OAAO;KAC7B,wBAAwB,OAAO;KAC/B,oBAAoB,OAAO;KAC3B,uBAAuB,OAAO;KAC9B,uBAAuB,OAAO;KAC9B,GAAG,4BAA4B,MAAM,OAAO;KAC7C;AAGD,QAAI,eAAe,QAAQ,eAAe,QAAQ;AAChD,WAAMC,kDAAqB,eAAe;AAC1C,WAAMC,gDAAmB,eAAe;;AAG1C,uBAAmB,SACjB,GAAGC,6FAAsB,UAAU,QACnC,OACA,WACD;KACD;IACF;AAEF,MAAI,KAAK,iBAAiB;AAIxB,QAAK,WAAW,YACR;AACJ,SAAK,gBAAgB,MAAM,KAAK,wBAAwB;MAE1D,EACE,kBAAkB,MACnB,CACF;AACD,QAAK,WAAW,YACR;AACJ,SAAK,gBAAgB,MAAM,KAAK,wBAAwB;MAE1D,EACE,kBAAkB,MACnB,CACF;AACD,QAAK,WAAW,OACb,WAAkC;IACjC,MAAM,YAAY;AAIlB,QACE,KAAK,8BACL,UAAU,YAAY,oBACtB;AACA,UAAK,4BACH,UAAU,YAAY;AACxB,UAAK,gBAAgB,MAAM,KAAK,wBAAwB;;MAG5D,EACE,kBAAkB,MACnB,CACF;;;CAIL,AAAQ,kBAAkB,QAAuC;AAC/D,MAAI,OAAO,SAAS,SAAS,OAAO,YAAY,iBAC9C,QAAO,KAAK,KAAK,4BACf,OAAO,YAAY,iBACpB;AAGH,MAAI,OAAO,SAAS,SAAS,OAAO,YAAY,gBAC9C,QAAO,KAAK,KAAK,4BACf,OAAO,YAAY,gBACpB;AAGH,SAAO,KAAK,KAAK,cAAc;;CAGjC,AAAQ,yBAAyC;EAC/C,MAAM,aAA6B,EACjC,SAAS,KAAK,aAAa,KAC5B;EAED,MAAM,eAAe,KAAK,aAAa,iBAAiB;EACxD,MAAM,gBAAgB,KAAK,aAAa,kBAAkB;AAC1D,MAAI,gBAAgB,eAAe;AACjC,cAAW,OAAO,aAAa;AAC/B,cAAW,SAAS;;AAGtB,SAAO;;CAGT,AAAQ,4BACN,QACgB;AAChB,MAAI,OAAO,SAAS,SAAS,KAAK,gBAAgB,IAChD,QAAO,KAAK,gBAAgB;AAG9B,MAAI,OAAO,SAAS,SAAS,KAAK,gBAAgB,IAChD,QAAO,KAAK,gBAAgB;AAG9B,MACE,OAAO,SAAS,SAChB,KAAK,gBAAgB,OACrB,OAAO,YAAY,uBAAuB,KAAK,0BAE/C,QAAO,KAAK,gBAAgB;AAG9B,SAAO,KAAK,wBAAwB"}
|
package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.cts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.cjs";
|
|
2
|
+
import { WebVitalsInstrumentationArgs } from "./types.cjs";
|
|
3
|
+
|
|
4
|
+
//#region src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts
|
|
5
|
+
declare class WebVitalsInstrumentation extends MXLInstrumentationBase {
|
|
6
|
+
private readonly _metricsToTrack;
|
|
7
|
+
private readonly _listeners;
|
|
8
|
+
private readonly _urlDocument;
|
|
9
|
+
private readonly _urlAttribution;
|
|
10
|
+
private readonly _pageManager;
|
|
11
|
+
private readonly _attributedPage;
|
|
12
|
+
private _largestShiftTargetForCLS;
|
|
13
|
+
private _listenersRegistered;
|
|
14
|
+
constructor({
|
|
15
|
+
diag,
|
|
16
|
+
perf,
|
|
17
|
+
trackingLevel,
|
|
18
|
+
listeners,
|
|
19
|
+
urlDocument,
|
|
20
|
+
urlAttribution,
|
|
21
|
+
pageManager
|
|
22
|
+
}?: WebVitalsInstrumentationArgs);
|
|
23
|
+
disable(): void;
|
|
24
|
+
enable(): void;
|
|
25
|
+
private _getTimeForMetric;
|
|
26
|
+
private _currentAttributedPage;
|
|
27
|
+
private _getAttributedPageForMetric;
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { WebVitalsInstrumentation };
|
|
31
|
+
//# sourceMappingURL=WebVitalsInstrumentation.d.cts.map
|
package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.cts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebVitalsInstrumentation.d.cts","names":[],"sources":["../../../../src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.ts"],"sourcesContent":[],"mappings":";;;;cAiHa,wBAAA,SAAiC,sBAAA;;EAAjC,iBAAA,UAAyB;EAqBlC,iBAAA,YAAA;EACA,iBAAA,eAAA;EACA,iBAAA,YAAA;EACA,iBAAA,eAAA;EACA,QAAA,yBAAA;EACA,QAAA,oBAAA;EACA,WAAA,CAAA;IAAA,IAAA;IAAA,IAAA;IAAA,aAAA;IAAA,SAAA;IAAA,WAAA;IAAA,cAAA;IAAA;EAAA,CAAA,CAAA,EACC,4BADD;EACC,OAAA,CAAA,CAAA,EAAA,IAAA;EA5ByC,MAAA,CAAA,CAAA,EAAA,IAAA;EAAsB,QAAA,iBAAA"}
|
package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
2
|
+
import "../../MXLInstrumentationBase/index.js";
|
|
3
|
+
import { WebVitalsInstrumentationArgs } from "./types.js";
|
|
4
|
+
|
|
5
|
+
//#region src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts
|
|
6
|
+
declare class WebVitalsInstrumentation extends MXLInstrumentationBase {
|
|
7
|
+
private readonly _metricsToTrack;
|
|
8
|
+
private readonly _listeners;
|
|
9
|
+
private readonly _urlDocument;
|
|
10
|
+
private readonly _urlAttribution;
|
|
11
|
+
private readonly _pageManager;
|
|
12
|
+
private readonly _attributedPage;
|
|
13
|
+
private _largestShiftTargetForCLS;
|
|
14
|
+
private _listenersRegistered;
|
|
15
|
+
constructor({
|
|
16
|
+
diag,
|
|
17
|
+
perf,
|
|
18
|
+
trackingLevel,
|
|
19
|
+
listeners,
|
|
20
|
+
urlDocument,
|
|
21
|
+
urlAttribution,
|
|
22
|
+
pageManager
|
|
23
|
+
}?: WebVitalsInstrumentationArgs);
|
|
24
|
+
disable(): void;
|
|
25
|
+
enable(): void;
|
|
26
|
+
private _getTimeForMetric;
|
|
27
|
+
private _currentAttributedPage;
|
|
28
|
+
private _getAttributedPageForMetric;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { WebVitalsInstrumentation };
|
|
32
|
+
//# sourceMappingURL=WebVitalsInstrumentation.d.ts.map
|
package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebVitalsInstrumentation.d.ts","names":[],"sources":["../../../../src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.ts"],"sourcesContent":[],"mappings":";;;;;cAiHa,wBAAA,SAAiC,sBAAA;;;EAAjC,iBAAA,YAAyB;EAqBlC,iBAAA,eAAA;EACA,iBAAA,YAAA;EACA,iBAAA,eAAA;EACA,QAAA,yBAAA;EACA,QAAA,oBAAA;EACA,WAAA,CAAA;IAAA,IAAA;IAAA,IAAA;IAAA,aAAA;IAAA,SAAA;IAAA,WAAA;IAAA,cAAA;IAAA;EAAA,CAAA,CAAA,EAEC,4BAFD;EACA,OAAA,CAAA,CAAA,EAAA,IAAA;EACC,MAAA,CAAA,CAAA,EAAA,IAAA;EA5ByC,QAAA,iBAAA;EAAsB,QAAA,sBAAA"}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { EMB_TYPES, KEY_EMB_PAGE_ID, KEY_EMB_PAGE_PATH, KEY_EMB_TYPE } from "../../../constants/attributes.js";
|
|
2
|
+
import { page } from "../../../api-page/pageAPI.js";
|
|
3
|
+
import { MXLInstrumentationBase } from "../../MXLInstrumentationBase/MXLInstrumentationBase.js";
|
|
4
|
+
import { ALL_WEB_VITALS, CORE_WEB_VITALS, EMB_WEB_VITALS_PREFIX, WEB_VITALS_ID_TO_LISTENER } from "./constants.js";
|
|
5
|
+
import { ATTR_URL_FULL } from "@opentelemetry/semantic-conventions";
|
|
6
|
+
|
|
7
|
+
//#region src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.ts
|
|
8
|
+
const webVitalAttributionToReport = (name, metric) => {
|
|
9
|
+
const attributes = {};
|
|
10
|
+
const toReport = [];
|
|
11
|
+
if (name === "CLS") {
|
|
12
|
+
const attribution = metric.attribution;
|
|
13
|
+
toReport.push(...[{
|
|
14
|
+
key: "largestShiftTarget",
|
|
15
|
+
value: attribution.largestShiftTarget
|
|
16
|
+
}, {
|
|
17
|
+
key: "largestShiftValue",
|
|
18
|
+
value: attribution.largestShiftValue
|
|
19
|
+
}]);
|
|
20
|
+
} else if (name === "INP") {
|
|
21
|
+
const attribution = metric.attribution;
|
|
22
|
+
toReport.push(...[
|
|
23
|
+
{
|
|
24
|
+
key: "interactionTarget",
|
|
25
|
+
value: attribution.interactionTarget
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
key: "interactionType",
|
|
29
|
+
value: attribution.interactionType
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: "nextPaintTime",
|
|
33
|
+
value: attribution.nextPaintTime
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
key: "inputDelay",
|
|
37
|
+
value: attribution.inputDelay
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
key: "processingDuration",
|
|
41
|
+
value: attribution.processingDuration
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
key: "presentationDelay",
|
|
45
|
+
value: attribution.presentationDelay
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
key: "totalScriptDuration",
|
|
49
|
+
value: attribution.totalScriptDuration
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
key: "totalStyleAndLayoutDuration",
|
|
53
|
+
value: attribution.totalStyleAndLayoutDuration
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
key: "totalPaintDuration",
|
|
57
|
+
value: attribution.totalPaintDuration
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
key: "totalUnattributedDuration",
|
|
61
|
+
value: attribution.totalUnattributedDuration
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
key: "loadState",
|
|
65
|
+
value: attribution.loadState
|
|
66
|
+
}
|
|
67
|
+
]);
|
|
68
|
+
} else if (name === "LCP") {
|
|
69
|
+
const attribution = metric.attribution;
|
|
70
|
+
toReport.push(...[
|
|
71
|
+
{
|
|
72
|
+
key: "target",
|
|
73
|
+
value: attribution.target
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
key: "url",
|
|
77
|
+
value: attribution.url
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
key: "timeToFirstByte",
|
|
81
|
+
value: attribution.timeToFirstByte
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
key: "resourceLoadDelay",
|
|
85
|
+
value: attribution.resourceLoadDelay
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
key: "resourceLoadDuration",
|
|
89
|
+
value: attribution.resourceLoadDuration
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
key: "elementRenderDelay",
|
|
93
|
+
value: attribution.elementRenderDelay
|
|
94
|
+
}
|
|
95
|
+
]);
|
|
96
|
+
}
|
|
97
|
+
toReport.forEach((report) => {
|
|
98
|
+
if (report.value !== void 0) attributes[`mxl.web_vital.attribution.${report.key}`] = report.value;
|
|
99
|
+
});
|
|
100
|
+
return attributes;
|
|
101
|
+
};
|
|
102
|
+
var WebVitalsInstrumentation = class extends MXLInstrumentationBase {
|
|
103
|
+
_metricsToTrack;
|
|
104
|
+
_listeners;
|
|
105
|
+
_urlDocument;
|
|
106
|
+
_urlAttribution;
|
|
107
|
+
_pageManager;
|
|
108
|
+
_attributedPage = {
|
|
109
|
+
INP: void 0,
|
|
110
|
+
LCP: void 0,
|
|
111
|
+
CLS: void 0,
|
|
112
|
+
FCP: void 0,
|
|
113
|
+
TTFB: void 0
|
|
114
|
+
};
|
|
115
|
+
_largestShiftTargetForCLS;
|
|
116
|
+
_listenersRegistered = false;
|
|
117
|
+
constructor({ diag, perf, trackingLevel = "core", listeners = WEB_VITALS_ID_TO_LISTENER, urlDocument = window.document, urlAttribution = true, pageManager } = {}) {
|
|
118
|
+
super({
|
|
119
|
+
instrumentationName: "WebVitalsInstrumentation",
|
|
120
|
+
instrumentationVersion: "1.0.0",
|
|
121
|
+
diag,
|
|
122
|
+
perf,
|
|
123
|
+
config: {}
|
|
124
|
+
});
|
|
125
|
+
this._listeners = listeners;
|
|
126
|
+
this._urlDocument = urlDocument;
|
|
127
|
+
this._metricsToTrack = trackingLevel === "all" ? [...ALL_WEB_VITALS] : [...CORE_WEB_VITALS];
|
|
128
|
+
this._urlAttribution = urlAttribution;
|
|
129
|
+
this._pageManager = pageManager ?? page.getPageManager();
|
|
130
|
+
if (this._config.enabled) this.enable();
|
|
131
|
+
}
|
|
132
|
+
disable() {}
|
|
133
|
+
enable() {
|
|
134
|
+
if (this._listenersRegistered) return;
|
|
135
|
+
this._listenersRegistered = true;
|
|
136
|
+
this._metricsToTrack.forEach((name) => {
|
|
137
|
+
this._listeners[name]?.((metric) => {
|
|
138
|
+
const currentSessionSpan = this.sessionManager.getSessionSpan();
|
|
139
|
+
if (!currentSessionSpan) return;
|
|
140
|
+
const metricTime = this._getTimeForMetric(metric);
|
|
141
|
+
const attributedPage = this._getAttributedPageForMetric(metric);
|
|
142
|
+
const attrs = {
|
|
143
|
+
[KEY_EMB_TYPE]: EMB_TYPES.WebVital,
|
|
144
|
+
[ATTR_URL_FULL]: attributedPage.fullURL,
|
|
145
|
+
"mxl.web_vital.navigation_type": metric.navigationType,
|
|
146
|
+
"mxl.web_vital.name": metric.name,
|
|
147
|
+
"mxl.web_vital.rating": metric.rating,
|
|
148
|
+
"mxl.web_vital.id": metric.id,
|
|
149
|
+
"mxl.web_vital.delta": metric.delta,
|
|
150
|
+
"mxl.web_vital.value": metric.value,
|
|
151
|
+
...webVitalAttributionToReport(name, metric)
|
|
152
|
+
};
|
|
153
|
+
if (attributedPage.path && attributedPage.pageID) {
|
|
154
|
+
attrs[KEY_EMB_PAGE_PATH] = attributedPage.path;
|
|
155
|
+
attrs[KEY_EMB_PAGE_ID] = attributedPage.pageID;
|
|
156
|
+
}
|
|
157
|
+
currentSessionSpan.addEvent(`${EMB_WEB_VITALS_PREFIX}-report-${name}`, attrs, metricTime);
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
if (this._urlAttribution) {
|
|
161
|
+
this._listeners.INP?.(() => {
|
|
162
|
+
this._attributedPage.INP = this._currentAttributedPage();
|
|
163
|
+
}, { reportAllChanges: true });
|
|
164
|
+
this._listeners.LCP?.(() => {
|
|
165
|
+
this._attributedPage.LCP = this._currentAttributedPage();
|
|
166
|
+
}, { reportAllChanges: true });
|
|
167
|
+
this._listeners.CLS?.((metric) => {
|
|
168
|
+
const clsMetric = metric;
|
|
169
|
+
if (this._largestShiftTargetForCLS !== clsMetric.attribution.largestShiftTarget) {
|
|
170
|
+
this._largestShiftTargetForCLS = clsMetric.attribution.largestShiftTarget;
|
|
171
|
+
this._attributedPage.CLS = this._currentAttributedPage();
|
|
172
|
+
}
|
|
173
|
+
}, { reportAllChanges: true });
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
_getTimeForMetric(metric) {
|
|
177
|
+
if (metric.name === "CLS" && metric.attribution.largestShiftTime) return this.perf.epochMillisFromOriginOffset(metric.attribution.largestShiftTime);
|
|
178
|
+
if (metric.name === "INP" && metric.attribution.interactionTime) return this.perf.epochMillisFromOriginOffset(metric.attribution.interactionTime);
|
|
179
|
+
return this.perf.getNowMillis();
|
|
180
|
+
}
|
|
181
|
+
_currentAttributedPage() {
|
|
182
|
+
const attributed = { fullURL: this._urlDocument.URL };
|
|
183
|
+
const currentRoute = this._pageManager.getCurrentRoute();
|
|
184
|
+
const currentPageId = this._pageManager.getCurrentPageId();
|
|
185
|
+
if (currentRoute && currentPageId) {
|
|
186
|
+
attributed.path = currentRoute.path;
|
|
187
|
+
attributed.pageID = currentPageId;
|
|
188
|
+
}
|
|
189
|
+
return attributed;
|
|
190
|
+
}
|
|
191
|
+
_getAttributedPageForMetric(metric) {
|
|
192
|
+
if (metric.name === "INP" && this._attributedPage.INP) return this._attributedPage.INP;
|
|
193
|
+
if (metric.name === "LCP" && this._attributedPage.LCP) return this._attributedPage.LCP;
|
|
194
|
+
if (metric.name === "CLS" && this._attributedPage.CLS && metric.attribution.largestShiftTarget === this._largestShiftTargetForCLS) return this._attributedPage.CLS;
|
|
195
|
+
return this._currentAttributedPage();
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
//#endregion
|
|
200
|
+
export { WebVitalsInstrumentation };
|
|
201
|
+
//# sourceMappingURL=WebVitalsInstrumentation.js.map
|
package/dist/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WebVitalsInstrumentation.js","names":[],"sources":["../../../../src/instrumentations/web-vitals/WebVitalsInstrumentation/WebVitalsInstrumentation.ts"],"sourcesContent":["import type { Attributes } from '@opentelemetry/api';\nimport { ATTR_URL_FULL } from '@opentelemetry/semantic-conventions';\nimport type {\n CLSAttribution,\n CLSMetricWithAttribution,\n INPAttribution,\n LCPAttribution,\n Metric,\n MetricWithAttribution,\n} from 'web-vitals/attribution';\nimport type { PageManager } from '../../../api-page/index.ts';\nimport { page } from '../../../api-page/index.ts';\nimport type { URLDocument } from '../../../common/index.ts';\nimport {\n EMB_TYPES,\n KEY_EMB_PAGE_ID,\n KEY_EMB_PAGE_PATH,\n KEY_EMB_TYPE,\n} from '../../../constants/index.ts';\nimport { MXLInstrumentationBase } from '../../MXLInstrumentationBase/index.ts';\nimport {\n ALL_WEB_VITALS,\n CORE_WEB_VITALS,\n EMB_WEB_VITALS_PREFIX,\n WEB_VITALS_ID_TO_LISTENER,\n} from './constants.ts';\nimport type {\n WebVitalListeners,\n WebVitalsInstrumentationArgs,\n} from './types.ts';\n\ntype AttributedPage = {\n fullURL: string;\n path?: string;\n pageID?: string;\n};\n\nconst webVitalAttributionToReport = (\n name: Metric['name'],\n metric: MetricWithAttribution,\n) => {\n const attributes: Attributes = {};\n const toReport: {\n key: string;\n value: string | boolean | number | undefined;\n }[] = [];\n\n if (name === 'CLS') {\n // https://www.npmjs.com/package/web-vitals#CLSAttribution\n const attribution = metric.attribution as CLSAttribution;\n toReport.push(\n ...[\n {\n key: 'largestShiftTarget',\n value: attribution.largestShiftTarget,\n },\n {\n key: 'largestShiftValue',\n value: attribution.largestShiftValue,\n },\n ],\n );\n } else if (name === 'INP') {\n // https://www.npmjs.com/package/web-vitals#inpattribution\n const attribution = metric.attribution as INPAttribution;\n toReport.push(\n ...[\n { key: 'interactionTarget', value: attribution.interactionTarget },\n { key: 'interactionType', value: attribution.interactionType },\n { key: 'nextPaintTime', value: attribution.nextPaintTime },\n { key: 'inputDelay', value: attribution.inputDelay },\n { key: 'processingDuration', value: attribution.processingDuration },\n { key: 'presentationDelay', value: attribution.presentationDelay },\n { key: 'totalScriptDuration', value: attribution.totalScriptDuration },\n {\n key: 'totalStyleAndLayoutDuration',\n value: attribution.totalStyleAndLayoutDuration,\n },\n { key: 'totalPaintDuration', value: attribution.totalPaintDuration },\n {\n key: 'totalUnattributedDuration',\n value: attribution.totalUnattributedDuration,\n },\n { key: 'loadState', value: attribution.loadState },\n ],\n );\n } else if (name === 'LCP') {\n // https://www.npmjs.com/package/web-vitals#lcpattribution\n const attribution = metric.attribution as LCPAttribution;\n toReport.push(\n ...[\n { key: 'target', value: attribution.target },\n { key: 'url', value: attribution.url },\n { key: 'timeToFirstByte', value: attribution.timeToFirstByte },\n { key: 'resourceLoadDelay', value: attribution.resourceLoadDelay },\n {\n key: 'resourceLoadDuration',\n value: attribution.resourceLoadDuration,\n },\n { key: 'elementRenderDelay', value: attribution.elementRenderDelay },\n ],\n );\n }\n\n toReport.forEach((report) => {\n if (report.value !== undefined) {\n attributes[`mxl.web_vital.attribution.${report.key}`] = report.value;\n }\n });\n\n return attributes;\n};\n\nexport class WebVitalsInstrumentation extends MXLInstrumentationBase {\n private readonly _metricsToTrack: Metric['name'][];\n private readonly _listeners: WebVitalListeners;\n private readonly _urlDocument: URLDocument;\n private readonly _urlAttribution: boolean;\n private readonly _pageManager: PageManager;\n private readonly _attributedPage: Record<\n Metric['name'],\n AttributedPage | undefined\n > = {\n INP: undefined,\n LCP: undefined,\n CLS: undefined,\n FCP: undefined,\n TTFB: undefined,\n };\n private _largestShiftTargetForCLS: string | undefined;\n private _listenersRegistered = false;\n\n // instrumentation that adds an event to the session span for each web vital report\n public constructor({\n diag,\n perf,\n trackingLevel = 'core',\n listeners = WEB_VITALS_ID_TO_LISTENER,\n urlDocument = window.document,\n urlAttribution = true,\n pageManager,\n }: WebVitalsInstrumentationArgs = {}) {\n super({\n instrumentationName: 'WebVitalsInstrumentation',\n instrumentationVersion: '1.0.0',\n diag,\n perf,\n config: {},\n });\n this._listeners = listeners;\n this._urlDocument = urlDocument;\n this._metricsToTrack =\n trackingLevel === 'all' ? [...ALL_WEB_VITALS] : [...CORE_WEB_VITALS];\n this._urlAttribution = urlAttribution;\n this._pageManager = pageManager ?? page.getPageManager();\n\n if (this._config.enabled) {\n this.enable();\n }\n }\n\n public override disable(): void {\n // do nothing.\n // https://github.com/GoogleChrome/web-vitals/issues/357#issuecomment-1593439036\n }\n\n public enable(): void {\n // web-vitals library doesn't support removing listeners, so only register once\n if (this._listenersRegistered) {\n return;\n }\n this._listenersRegistered = true;\n\n this._metricsToTrack.forEach((name) => {\n this._listeners[name]?.((metric) => {\n const currentSessionSpan = this.sessionManager.getSessionSpan();\n\n if (!currentSessionSpan) {\n return;\n }\n\n // first thing record the time when this cb was invoked\n const metricTime = this._getTimeForMetric(metric);\n\n const attributedPage = this._getAttributedPageForMetric(metric);\n\n const attrs: Attributes = {\n [KEY_EMB_TYPE]: EMB_TYPES.WebVital,\n [ATTR_URL_FULL]: attributedPage.fullURL,\n 'mxl.web_vital.navigation_type': metric.navigationType,\n 'mxl.web_vital.name': metric.name,\n 'mxl.web_vital.rating': metric.rating,\n 'mxl.web_vital.id': metric.id,\n 'mxl.web_vital.delta': metric.delta,\n 'mxl.web_vital.value': metric.value,\n ...webVitalAttributionToReport(name, metric),\n };\n\n // Add page attributes if route and page ID exist\n if (attributedPage.path && attributedPage.pageID) {\n attrs[KEY_EMB_PAGE_PATH] = attributedPage.path;\n attrs[KEY_EMB_PAGE_ID] = attributedPage.pageID;\n }\n\n currentSessionSpan.addEvent(\n `${EMB_WEB_VITALS_PREFIX}-report-${name}`,\n attrs,\n metricTime,\n );\n });\n });\n\n if (this._urlAttribution) {\n // When these web vitals make their final report (e.g. when the listeners w/ reportAllChanges=false trigger) the\n // document's URL at that time may not match what it was at the time the scores were last updated. Instead, listen\n // for updates to the scores and keep track of the Page information to attribute for each\n this._listeners.INP?.(\n () => {\n this._attributedPage.INP = this._currentAttributedPage();\n },\n {\n reportAllChanges: true,\n },\n );\n this._listeners.LCP?.(\n () => {\n this._attributedPage.LCP = this._currentAttributedPage();\n },\n {\n reportAllChanges: true,\n },\n );\n this._listeners.CLS?.(\n (metric: MetricWithAttribution) => {\n const clsMetric = metric as CLSMetricWithAttribution;\n // A layout shift could cause CLS to change its rating but because the score is cumulative this might not\n // correspond with an updated `largestShiftTarget`. Since we want to tie the attributed URL to the page that\n // the `largestShiftTarget` was on we only update the attributed URL if that target has changed\n if (\n this._largestShiftTargetForCLS !==\n clsMetric.attribution.largestShiftTarget\n ) {\n this._largestShiftTargetForCLS =\n clsMetric.attribution.largestShiftTarget;\n this._attributedPage.CLS = this._currentAttributedPage();\n }\n },\n {\n reportAllChanges: true,\n },\n );\n }\n }\n\n private _getTimeForMetric(metric: MetricWithAttribution): number {\n if (metric.name === 'CLS' && metric.attribution.largestShiftTime) {\n return this.perf.epochMillisFromOriginOffset(\n metric.attribution.largestShiftTime,\n );\n }\n\n if (metric.name === 'INP' && metric.attribution.interactionTime) {\n return this.perf.epochMillisFromOriginOffset(\n metric.attribution.interactionTime,\n );\n }\n\n return this.perf.getNowMillis();\n }\n\n private _currentAttributedPage(): AttributedPage {\n const attributed: AttributedPage = {\n fullURL: this._urlDocument.URL,\n };\n\n const currentRoute = this._pageManager.getCurrentRoute();\n const currentPageId = this._pageManager.getCurrentPageId();\n if (currentRoute && currentPageId) {\n attributed.path = currentRoute.path;\n attributed.pageID = currentPageId;\n }\n\n return attributed;\n }\n\n private _getAttributedPageForMetric(\n metric: MetricWithAttribution,\n ): AttributedPage {\n if (metric.name === 'INP' && this._attributedPage.INP) {\n return this._attributedPage.INP;\n }\n\n if (metric.name === 'LCP' && this._attributedPage.LCP) {\n return this._attributedPage.LCP;\n }\n\n if (\n metric.name === 'CLS' &&\n this._attributedPage.CLS &&\n metric.attribution.largestShiftTarget === this._largestShiftTargetForCLS\n ) {\n return this._attributedPage.CLS;\n }\n\n return this._currentAttributedPage();\n }\n}\n"],"mappings":";;;;;;;AAqCA,MAAM,+BACJ,MACA,WACG;CACH,MAAM,aAAyB,EAAE;CACjC,MAAM,WAGA,EAAE;AAER,KAAI,SAAS,OAAO;EAElB,MAAM,cAAc,OAAO;AAC3B,WAAS,KACP,GAAG,CACD;GACE,KAAK;GACL,OAAO,YAAY;GACpB,EACD;GACE,KAAK;GACL,OAAO,YAAY;GACpB,CACF,CACF;YACQ,SAAS,OAAO;EAEzB,MAAM,cAAc,OAAO;AAC3B,WAAS,KACP,GAAG;GACD;IAAE,KAAK;IAAqB,OAAO,YAAY;IAAmB;GAClE;IAAE,KAAK;IAAmB,OAAO,YAAY;IAAiB;GAC9D;IAAE,KAAK;IAAiB,OAAO,YAAY;IAAe;GAC1D;IAAE,KAAK;IAAc,OAAO,YAAY;IAAY;GACpD;IAAE,KAAK;IAAsB,OAAO,YAAY;IAAoB;GACpE;IAAE,KAAK;IAAqB,OAAO,YAAY;IAAmB;GAClE;IAAE,KAAK;IAAuB,OAAO,YAAY;IAAqB;GACtE;IACE,KAAK;IACL,OAAO,YAAY;IACpB;GACD;IAAE,KAAK;IAAsB,OAAO,YAAY;IAAoB;GACpE;IACE,KAAK;IACL,OAAO,YAAY;IACpB;GACD;IAAE,KAAK;IAAa,OAAO,YAAY;IAAW;GACnD,CACF;YACQ,SAAS,OAAO;EAEzB,MAAM,cAAc,OAAO;AAC3B,WAAS,KACP,GAAG;GACD;IAAE,KAAK;IAAU,OAAO,YAAY;IAAQ;GAC5C;IAAE,KAAK;IAAO,OAAO,YAAY;IAAK;GACtC;IAAE,KAAK;IAAmB,OAAO,YAAY;IAAiB;GAC9D;IAAE,KAAK;IAAqB,OAAO,YAAY;IAAmB;GAClE;IACE,KAAK;IACL,OAAO,YAAY;IACpB;GACD;IAAE,KAAK;IAAsB,OAAO,YAAY;IAAoB;GACrE,CACF;;AAGH,UAAS,SAAS,WAAW;AAC3B,MAAI,OAAO,UAAU,OACnB,YAAW,6BAA6B,OAAO,SAAS,OAAO;GAEjE;AAEF,QAAO;;AAGT,IAAa,2BAAb,cAA8C,uBAAuB;CACnE,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CACjB,AAAiB;CACjB,AAAiB,kBAGb;EACF,KAAK;EACL,KAAK;EACL,KAAK;EACL,KAAK;EACL,MAAM;EACP;CACD,AAAQ;CACR,AAAQ,uBAAuB;CAG/B,AAAO,YAAY,EACjB,MACA,MACA,gBAAgB,QAChB,YAAY,2BACZ,cAAc,OAAO,UACrB,iBAAiB,MACjB,gBACgC,EAAE,EAAE;AACpC,QAAM;GACJ,qBAAqB;GACrB,wBAAwB;GACxB;GACA;GACA,QAAQ,EAAE;GACX,CAAC;AACF,OAAK,aAAa;AAClB,OAAK,eAAe;AACpB,OAAK,kBACH,kBAAkB,QAAQ,CAAC,GAAG,eAAe,GAAG,CAAC,GAAG,gBAAgB;AACtE,OAAK,kBAAkB;AACvB,OAAK,eAAe,eAAe,KAAK,gBAAgB;AAExD,MAAI,KAAK,QAAQ,QACf,MAAK,QAAQ;;CAIjB,AAAgB,UAAgB;CAKhC,AAAO,SAAe;AAEpB,MAAI,KAAK,qBACP;AAEF,OAAK,uBAAuB;AAE5B,OAAK,gBAAgB,SAAS,SAAS;AACrC,QAAK,WAAW,SAAS,WAAW;IAClC,MAAM,qBAAqB,KAAK,eAAe,gBAAgB;AAE/D,QAAI,CAAC,mBACH;IAIF,MAAM,aAAa,KAAK,kBAAkB,OAAO;IAEjD,MAAM,iBAAiB,KAAK,4BAA4B,OAAO;IAE/D,MAAM,QAAoB;MACvB,eAAe,UAAU;MACzB,gBAAgB,eAAe;KAChC,iCAAiC,OAAO;KACxC,sBAAsB,OAAO;KAC7B,wBAAwB,OAAO;KAC/B,oBAAoB,OAAO;KAC3B,uBAAuB,OAAO;KAC9B,uBAAuB,OAAO;KAC9B,GAAG,4BAA4B,MAAM,OAAO;KAC7C;AAGD,QAAI,eAAe,QAAQ,eAAe,QAAQ;AAChD,WAAM,qBAAqB,eAAe;AAC1C,WAAM,mBAAmB,eAAe;;AAG1C,uBAAmB,SACjB,GAAG,sBAAsB,UAAU,QACnC,OACA,WACD;KACD;IACF;AAEF,MAAI,KAAK,iBAAiB;AAIxB,QAAK,WAAW,YACR;AACJ,SAAK,gBAAgB,MAAM,KAAK,wBAAwB;MAE1D,EACE,kBAAkB,MACnB,CACF;AACD,QAAK,WAAW,YACR;AACJ,SAAK,gBAAgB,MAAM,KAAK,wBAAwB;MAE1D,EACE,kBAAkB,MACnB,CACF;AACD,QAAK,WAAW,OACb,WAAkC;IACjC,MAAM,YAAY;AAIlB,QACE,KAAK,8BACL,UAAU,YAAY,oBACtB;AACA,UAAK,4BACH,UAAU,YAAY;AACxB,UAAK,gBAAgB,MAAM,KAAK,wBAAwB;;MAG5D,EACE,kBAAkB,MACnB,CACF;;;CAIL,AAAQ,kBAAkB,QAAuC;AAC/D,MAAI,OAAO,SAAS,SAAS,OAAO,YAAY,iBAC9C,QAAO,KAAK,KAAK,4BACf,OAAO,YAAY,iBACpB;AAGH,MAAI,OAAO,SAAS,SAAS,OAAO,YAAY,gBAC9C,QAAO,KAAK,KAAK,4BACf,OAAO,YAAY,gBACpB;AAGH,SAAO,KAAK,KAAK,cAAc;;CAGjC,AAAQ,yBAAyC;EAC/C,MAAM,aAA6B,EACjC,SAAS,KAAK,aAAa,KAC5B;EAED,MAAM,eAAe,KAAK,aAAa,iBAAiB;EACxD,MAAM,gBAAgB,KAAK,aAAa,kBAAkB;AAC1D,MAAI,gBAAgB,eAAe;AACjC,cAAW,OAAO,aAAa;AAC/B,cAAW,SAAS;;AAGtB,SAAO;;CAGT,AAAQ,4BACN,QACgB;AAChB,MAAI,OAAO,SAAS,SAAS,KAAK,gBAAgB,IAChD,QAAO,KAAK,gBAAgB;AAG9B,MAAI,OAAO,SAAS,SAAS,KAAK,gBAAgB,IAChD,QAAO,KAAK,gBAAgB;AAG9B,MACE,OAAO,SAAS,SAChB,KAAK,gBAAgB,OACrB,OAAO,YAAY,uBAAuB,KAAK,0BAE/C,QAAO,KAAK,gBAAgB;AAG9B,SAAO,KAAK,wBAAwB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let web_vitals_attribution = require("web-vitals/attribution");
|
|
3
|
+
|
|
4
|
+
//#region src/instrumentations/web-vitals/WebVitalsInstrumentation/constants.ts
|
|
5
|
+
const EMB_WEB_VITALS_PREFIX = "mxl-web-vitals";
|
|
6
|
+
const CORE_WEB_VITALS = [
|
|
7
|
+
"CLS",
|
|
8
|
+
"INP",
|
|
9
|
+
"LCP"
|
|
10
|
+
];
|
|
11
|
+
const ALL_WEB_VITALS = [
|
|
12
|
+
"CLS",
|
|
13
|
+
"INP",
|
|
14
|
+
"LCP",
|
|
15
|
+
"FCP",
|
|
16
|
+
"TTFB"
|
|
17
|
+
];
|
|
18
|
+
const WEB_VITALS_ID_TO_LISTENER = {
|
|
19
|
+
CLS: web_vitals_attribution.onCLS,
|
|
20
|
+
FCP: web_vitals_attribution.onFCP,
|
|
21
|
+
LCP: web_vitals_attribution.onLCP,
|
|
22
|
+
INP: web_vitals_attribution.onINP,
|
|
23
|
+
TTFB: web_vitals_attribution.onTTFB,
|
|
24
|
+
FID: void 0
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.ALL_WEB_VITALS = ALL_WEB_VITALS;
|
|
29
|
+
exports.CORE_WEB_VITALS = CORE_WEB_VITALS;
|
|
30
|
+
exports.EMB_WEB_VITALS_PREFIX = EMB_WEB_VITALS_PREFIX;
|
|
31
|
+
exports.WEB_VITALS_ID_TO_LISTENER = WEB_VITALS_ID_TO_LISTENER;
|
|
32
|
+
//# sourceMappingURL=constants.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.cjs","names":["onCLS","onFCP","onLCP","onINP","onTTFB"],"sources":["../../../../src/instrumentations/web-vitals/WebVitalsInstrumentation/constants.ts"],"sourcesContent":["import { onCLS, onFCP, onINP, onLCP, onTTFB } from 'web-vitals/attribution';\n\nexport const EMB_WEB_VITALS_PREFIX = 'mxl-web-vitals';\nexport const CORE_WEB_VITALS = ['CLS', 'INP', 'LCP'] as const;\nexport const ALL_WEB_VITALS = ['CLS', 'INP', 'LCP', 'FCP', 'TTFB'] as const;\nexport const WEB_VITALS_ID_TO_LISTENER = {\n /**\n * Cumulative Layout Shift (CLS)\n * https://web.dev/articles/cls\n *\n * Measures _unexpected_ layout shifts throughout the lifespan of a page load. User-initiated shifts, e.g. showing\n * a loading indicator after a user clicked a button that triggered a network request, are excluded since these are\n * expected.\n *\n * onCLS is always called when the page's visibility state changes to hidden and may be called multiple times for\n * a single page load.\n *\n * SPA Note: Since this is cumulative it could be misleading in a SPA, e.g. you might cross the threshold from\n * good -> bad on Page 3 but the largest contributor to your score might have actually occurred on Page 1\n */\n CLS: onCLS,\n\n /**\n * First Contentful Paint (FCP)\n * https://web.dev/articles/fcp\n *\n * Measures from first hard page load to when the first \"content\" (text, image, svg elements, etc.) is rendered\n *\n * Only measured once per page load\n */\n FCP: onFCP,\n\n /**\n * Largest Contentful Paint (LCP)\n * https://web.dev/articles/lcp\n *\n * Uses heuristics to try and measure when the \"main\" content has been rendered on the page. Size is a factor, but\n * certain elements that likely represent backgrounds or splash screens are excluded.\n *\n * As the page loads the element considered the largest could change, once the user interacts with the page these\n * entries stop getting reported and the metric is ready\n *\n * Only measured once per page load\n */\n LCP: onLCP,\n\n /**\n * Interaction to Next Paint (INP)\n * https://web.dev/articles/inp\n *\n * Measures how long it takes from a user interaction until the next paint. The final INP value is the longest\n * interaction observed, ignoring outliers.\n *\n * onINP is always called when the page's visibility state changes to hidden and may be called multiple times for\n * a single page load.\n *\n * Each interaction is not reported even when setting reportAllChanges=true, just when an interaction causes an\n * increase to INP.\n */\n INP: onINP,\n\n /**\n * Time to First Byte (TTFB)\n * https://web.dev/articles/ttfb\n *\n * Measures the time between the request for a resource and when the first byte of a response begins to arrive.\n */\n TTFB: onTTFB,\n\n // Omitting onFID since FID (First Input Delay) has been deprecated\n FID: undefined,\n} as const;\n"],"mappings":";;;;AAEA,MAAa,wBAAwB;AACrC,MAAa,kBAAkB;CAAC;CAAO;CAAO;CAAM;AACpD,MAAa,iBAAiB;CAAC;CAAO;CAAO;CAAO;CAAO;CAAO;AAClE,MAAa,4BAA4B;CAevC,KAAKA;CAUL,KAAKC;CAcL,KAAKC;CAeL,KAAKC;CAQL,MAAMC;CAGN,KAAK;CACN"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as web_vitals_attribution0 from "web-vitals/attribution";
|
|
2
|
+
|
|
3
|
+
//#region src/instrumentations/web-vitals/WebVitalsInstrumentation/constants.d.ts
|
|
4
|
+
declare const EMB_WEB_VITALS_PREFIX = "mxl-web-vitals";
|
|
5
|
+
declare const CORE_WEB_VITALS: readonly ["CLS", "INP", "LCP"];
|
|
6
|
+
declare const ALL_WEB_VITALS: readonly ["CLS", "INP", "LCP", "FCP", "TTFB"];
|
|
7
|
+
declare const WEB_VITALS_ID_TO_LISTENER: {
|
|
8
|
+
/**
|
|
9
|
+
* Cumulative Layout Shift (CLS)
|
|
10
|
+
* https://web.dev/articles/cls
|
|
11
|
+
*
|
|
12
|
+
* Measures _unexpected_ layout shifts throughout the lifespan of a page load. User-initiated shifts, e.g. showing
|
|
13
|
+
* a loading indicator after a user clicked a button that triggered a network request, are excluded since these are
|
|
14
|
+
* expected.
|
|
15
|
+
*
|
|
16
|
+
* onCLS is always called when the page's visibility state changes to hidden and may be called multiple times for
|
|
17
|
+
* a single page load.
|
|
18
|
+
*
|
|
19
|
+
* SPA Note: Since this is cumulative it could be misleading in a SPA, e.g. you might cross the threshold from
|
|
20
|
+
* good -> bad on Page 3 but the largest contributor to your score might have actually occurred on Page 1
|
|
21
|
+
*/
|
|
22
|
+
readonly CLS: (onReport: (metric: web_vitals_attribution0.CLSMetricWithAttribution) => void, opts?: web_vitals_attribution0.AttributionReportOpts) => void;
|
|
23
|
+
/**
|
|
24
|
+
* First Contentful Paint (FCP)
|
|
25
|
+
* https://web.dev/articles/fcp
|
|
26
|
+
*
|
|
27
|
+
* Measures from first hard page load to when the first "content" (text, image, svg elements, etc.) is rendered
|
|
28
|
+
*
|
|
29
|
+
* Only measured once per page load
|
|
30
|
+
*/
|
|
31
|
+
readonly FCP: (onReport: (metric: web_vitals_attribution0.FCPMetricWithAttribution) => void, opts?: web_vitals_attribution0.AttributionReportOpts) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Largest Contentful Paint (LCP)
|
|
34
|
+
* https://web.dev/articles/lcp
|
|
35
|
+
*
|
|
36
|
+
* Uses heuristics to try and measure when the "main" content has been rendered on the page. Size is a factor, but
|
|
37
|
+
* certain elements that likely represent backgrounds or splash screens are excluded.
|
|
38
|
+
*
|
|
39
|
+
* As the page loads the element considered the largest could change, once the user interacts with the page these
|
|
40
|
+
* entries stop getting reported and the metric is ready
|
|
41
|
+
*
|
|
42
|
+
* Only measured once per page load
|
|
43
|
+
*/
|
|
44
|
+
readonly LCP: (onReport: (metric: web_vitals_attribution0.LCPMetricWithAttribution) => void, opts?: web_vitals_attribution0.AttributionReportOpts) => void;
|
|
45
|
+
/**
|
|
46
|
+
* Interaction to Next Paint (INP)
|
|
47
|
+
* https://web.dev/articles/inp
|
|
48
|
+
*
|
|
49
|
+
* Measures how long it takes from a user interaction until the next paint. The final INP value is the longest
|
|
50
|
+
* interaction observed, ignoring outliers.
|
|
51
|
+
*
|
|
52
|
+
* onINP is always called when the page's visibility state changes to hidden and may be called multiple times for
|
|
53
|
+
* a single page load.
|
|
54
|
+
*
|
|
55
|
+
* Each interaction is not reported even when setting reportAllChanges=true, just when an interaction causes an
|
|
56
|
+
* increase to INP.
|
|
57
|
+
*/
|
|
58
|
+
readonly INP: (onReport: (metric: web_vitals_attribution0.INPMetricWithAttribution) => void, opts?: web_vitals_attribution0.INPAttributionReportOpts) => void;
|
|
59
|
+
/**
|
|
60
|
+
* Time to First Byte (TTFB)
|
|
61
|
+
* https://web.dev/articles/ttfb
|
|
62
|
+
*
|
|
63
|
+
* Measures the time between the request for a resource and when the first byte of a response begins to arrive.
|
|
64
|
+
*/
|
|
65
|
+
readonly TTFB: (onReport: (metric: web_vitals_attribution0.TTFBMetricWithAttribution) => void, opts?: web_vitals_attribution0.AttributionReportOpts) => void;
|
|
66
|
+
readonly FID: undefined;
|
|
67
|
+
};
|
|
68
|
+
//#endregion
|
|
69
|
+
export { ALL_WEB_VITALS, CORE_WEB_VITALS, EMB_WEB_VITALS_PREFIX, WEB_VITALS_ID_TO_LISTENER };
|
|
70
|
+
//# sourceMappingURL=constants.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.cts","names":[],"sources":["../../../../src/instrumentations/web-vitals/WebVitalsInstrumentation/constants.ts"],"sourcesContent":[],"mappings":";;;cAEa,qBAAA;cACA;cACA;AAFA,cAGA,yBAHqB,EAAA;EACrB;AACb;AACA;;;;;;;;;;;;oCAkEU,uBAAA,CAAA"}
|