@kubesense/kubesense-browser-rum-core 1.8.0 → 2.0.0-beta.1
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/LICENSE +1 -1
- package/cjs/boot/preStartRum.d.ts +4 -3
- package/cjs/boot/preStartRum.js +229 -204
- package/cjs/boot/preStartRum.js.map +1 -1
- package/cjs/boot/rumPublicApi.d.ts +190 -51
- package/cjs/boot/rumPublicApi.js +267 -164
- package/cjs/boot/rumPublicApi.js.map +1 -1
- package/cjs/boot/startRum.d.ts +42 -31
- package/cjs/boot/startRum.js +157 -150
- package/cjs/boot/startRum.js.map +1 -1
- package/cjs/browser/cookieObservable.d.ts +1 -5
- package/cjs/browser/cookieObservable.js +30 -34
- package/cjs/browser/cookieObservable.js.map +1 -1
- package/cjs/browser/domMutationObservable.d.ts +3 -3
- package/cjs/browser/domMutationObservable.js +29 -53
- package/cjs/browser/domMutationObservable.js.map +1 -1
- package/cjs/browser/htmlDomUtils.d.ts +5 -0
- package/cjs/browser/htmlDomUtils.js +38 -28
- package/cjs/browser/htmlDomUtils.js.map +1 -1
- package/cjs/browser/locationChangeObservable.d.ts +1 -2
- package/cjs/browser/locationChangeObservable.js +44 -45
- package/cjs/browser/locationChangeObservable.js.map +1 -1
- package/cjs/browser/performanceObservable.d.ts +4 -4
- package/cjs/browser/performanceObservable.js +50 -114
- package/cjs/browser/performanceObservable.js.map +1 -1
- package/cjs/browser/performanceUtils.d.ts +13 -1
- package/cjs/browser/performanceUtils.js +63 -37
- package/cjs/browser/performanceUtils.js.map +1 -1
- package/cjs/browser/scroll.js +17 -28
- package/cjs/browser/scroll.js.map +1 -1
- package/cjs/browser/viewportObservable.d.ts +2 -3
- package/cjs/browser/viewportObservable.js +29 -31
- package/cjs/browser/viewportObservable.js.map +1 -1
- package/cjs/browser/windowOpenObservable.js +11 -7
- package/cjs/browser/windowOpenObservable.js.map +1 -1
- package/cjs/domain/action/actionCollection.d.ts +11 -12
- package/cjs/domain/action/actionCollection.js +82 -89
- package/cjs/domain/action/actionCollection.js.map +1 -1
- package/cjs/domain/action/actionNameConstants.js +10 -9
- package/cjs/domain/action/actionNameConstants.js.map +1 -1
- package/cjs/domain/action/clickChain.js +51 -54
- package/cjs/domain/action/clickChain.js.map +1 -1
- package/cjs/domain/action/computeFrustration.js +30 -62
- package/cjs/domain/action/computeFrustration.js.map +1 -1
- package/cjs/domain/action/frustrationIgnore.d.ts +9 -0
- package/cjs/domain/action/frustrationIgnore.js +32 -0
- package/cjs/domain/action/frustrationIgnore.js.map +1 -0
- package/cjs/domain/action/getActionNameFromElement.js +141 -217
- package/cjs/domain/action/getActionNameFromElement.js.map +1 -1
- package/cjs/domain/action/interactionSelectorCache.d.ts +1 -1
- package/cjs/domain/action/interactionSelectorCache.js +17 -18
- package/cjs/domain/action/interactionSelectorCache.js.map +1 -1
- package/cjs/domain/action/isActionChildEvent.d.ts +2 -0
- package/cjs/domain/action/isActionChildEvent.js +8 -0
- package/cjs/domain/action/isActionChildEvent.js.map +1 -0
- package/cjs/domain/action/listenActionEvents.d.ts +2 -3
- package/cjs/domain/action/listenActionEvents.js +51 -55
- package/cjs/domain/action/listenActionEvents.js.map +1 -1
- package/cjs/domain/action/trackClickActions.d.ts +15 -21
- package/cjs/domain/action/trackClickActions.js +188 -226
- package/cjs/domain/action/trackClickActions.js.map +1 -1
- package/cjs/domain/action/trackManualActions.d.ts +45 -0
- package/cjs/domain/action/trackManualActions.js +48 -0
- package/cjs/domain/action/trackManualActions.js.map +1 -0
- package/cjs/domain/assembly.d.ts +1 -2
- package/cjs/domain/assembly.js +80 -95
- package/cjs/domain/assembly.js.map +1 -1
- package/cjs/domain/configuration/configuration.d.ts +575 -81
- package/cjs/domain/configuration/configuration.js +464 -199
- package/cjs/domain/configuration/configuration.js.map +1 -1
- package/cjs/domain/configuration/index.d.ts +1 -0
- package/cjs/domain/configuration/index.js +27 -21
- package/cjs/domain/configuration/jsonPathParser.js +125 -139
- package/cjs/domain/configuration/jsonPathParser.js.map +1 -1
- package/cjs/domain/configuration/remoteConfiguration.d.ts +18 -5
- package/cjs/domain/configuration/remoteConfiguration.js +268 -226
- package/cjs/domain/configuration/remoteConfiguration.js.map +1 -1
- package/cjs/domain/configuration/remoteConfiguration.types.d.ts +49 -0
- package/cjs/domain/configuration/remoteConfigurationCache.d.ts +42 -0
- package/cjs/domain/configuration/remoteConfigurationCache.js +95 -0
- package/cjs/domain/configuration/remoteConfigurationCache.js.map +1 -0
- package/cjs/domain/configuration/remoteSdkConfiguration.d.ts +11 -2
- package/cjs/domain/configuration/remoteSdkConfiguration.js +185 -117
- package/cjs/domain/configuration/remoteSdkConfiguration.js.map +1 -1
- package/cjs/domain/configuration/sessionReplayRoutes.d.ts +1 -6
- package/cjs/domain/configuration/sessionReplayRoutes.js +20 -63
- package/cjs/domain/configuration/sessionReplayRoutes.js.map +1 -1
- package/cjs/domain/contexts/ciVisibilityContext.d.ts +2 -4
- package/cjs/domain/contexts/ciVisibilityContext.js +36 -32
- package/cjs/domain/contexts/ciVisibilityContext.js.map +1 -1
- package/cjs/domain/contexts/connectivityContext.d.ts +2 -2
- package/cjs/domain/contexts/connectivityContext.js +10 -9
- package/cjs/domain/contexts/connectivityContext.js.map +1 -1
- package/cjs/domain/contexts/defaultContext.d.ts +3 -3
- package/cjs/domain/contexts/defaultContext.js +28 -32
- package/cjs/domain/contexts/defaultContext.js.map +1 -1
- package/cjs/domain/contexts/displayContext.d.ts +2 -3
- package/cjs/domain/contexts/displayContext.js +22 -26
- package/cjs/domain/contexts/displayContext.js.map +1 -1
- package/cjs/domain/contexts/featureFlagContext.d.ts +2 -2
- package/cjs/domain/contexts/featureFlagContext.js +38 -50
- package/cjs/domain/contexts/featureFlagContext.js.map +1 -1
- package/cjs/domain/contexts/internalContext.d.ts +2 -3
- package/cjs/domain/contexts/internalContext.js +26 -22
- package/cjs/domain/contexts/internalContext.js.map +1 -1
- package/cjs/domain/contexts/pageStateHistory.d.ts +3 -4
- package/cjs/domain/contexts/pageStateHistory.js +76 -96
- package/cjs/domain/contexts/pageStateHistory.js.map +1 -1
- package/cjs/domain/contexts/sessionContext.d.ts +9 -3
- package/cjs/domain/contexts/sessionContext.js +31 -45
- package/cjs/domain/contexts/sessionContext.js.map +1 -1
- package/cjs/domain/contexts/sourceCodeMfeContext.d.ts +10 -0
- package/cjs/domain/contexts/sourceCodeMfeContext.js +35 -0
- package/cjs/domain/contexts/sourceCodeMfeContext.js.map +1 -0
- package/cjs/domain/contexts/syntheticsContext.d.ts +2 -2
- package/cjs/domain/contexts/syntheticsContext.js +19 -23
- package/cjs/domain/contexts/syntheticsContext.js.map +1 -1
- package/cjs/domain/contexts/trackingConsentContext.d.ts +2 -2
- package/cjs/domain/contexts/trackingConsentContext.js +10 -12
- package/cjs/domain/contexts/trackingConsentContext.js.map +1 -1
- package/cjs/domain/contexts/urlContexts.d.ts +4 -3
- package/cjs/domain/contexts/urlContexts.js +65 -61
- package/cjs/domain/contexts/urlContexts.js.map +1 -1
- package/cjs/domain/contexts/userAgentDataContext.d.ts +2 -2
- package/cjs/domain/contexts/userAgentDataContext.js +20 -29
- package/cjs/domain/contexts/userAgentDataContext.js.map +1 -1
- package/cjs/domain/contexts/viewHistory.d.ts +5 -2
- package/cjs/domain/contexts/viewHistory.js +41 -45
- package/cjs/domain/contexts/viewHistory.js.map +1 -1
- package/cjs/domain/discardNegativeDuration.d.ts +1 -1
- package/cjs/domain/discardNegativeDuration.js +6 -5
- package/cjs/domain/discardNegativeDuration.js.map +1 -1
- package/cjs/domain/error/errorCollection.d.ts +3 -3
- package/cjs/domain/error/errorCollection.js +67 -68
- package/cjs/domain/error/errorCollection.js.map +1 -1
- package/cjs/domain/error/trackReportError.d.ts +1 -2
- package/cjs/domain/error/trackReportError.js +10 -14
- package/cjs/domain/error/trackReportError.js.map +1 -1
- package/cjs/domain/event/eventCollection.d.ts +2 -1
- package/cjs/domain/event/eventCollection.js +21 -22
- package/cjs/domain/event/eventCollection.js.map +1 -1
- package/cjs/domain/eventTracker.d.ts +37 -0
- package/cjs/domain/eventTracker.js +94 -0
- package/cjs/domain/eventTracker.js.map +1 -0
- package/cjs/domain/extractRegexMatch.d.ts +5 -0
- package/cjs/domain/extractRegexMatch.js +16 -0
- package/cjs/domain/extractRegexMatch.js.map +1 -0
- package/cjs/domain/getComposedPathSelector.d.ts +22 -0
- package/cjs/domain/getComposedPathSelector.js +95 -0
- package/cjs/domain/getComposedPathSelector.js.map +1 -0
- package/cjs/domain/getSelectorFromElement.d.ts +18 -6
- package/cjs/domain/getSelectorFromElement.js +199 -191
- package/cjs/domain/getSelectorFromElement.js.map +1 -1
- package/cjs/domain/getSessionReplayUrl.d.ts +2 -2
- package/cjs/domain/getSessionReplayUrl.js +17 -30
- package/cjs/domain/getSessionReplayUrl.js.map +1 -1
- package/cjs/domain/hooks.d.ts +26 -17
- package/cjs/domain/hooks.js +12 -5
- package/cjs/domain/hooks.js.map +1 -1
- package/cjs/domain/lifeCycle.d.ts +26 -12
- package/cjs/domain/lifeCycle.js +28 -5
- package/cjs/domain/lifeCycle.js.map +1 -1
- package/cjs/domain/limitModification.d.ts +5 -1
- package/cjs/domain/limitModification.js +32 -36
- package/cjs/domain/limitModification.js.map +1 -1
- package/cjs/domain/longTask/longTaskCollection.d.ts +0 -13
- package/cjs/domain/longTask/longTaskCollection.js +75 -87
- package/cjs/domain/longTask/longTaskCollection.js.map +1 -1
- package/cjs/domain/plugins.d.ts +37 -14
- package/cjs/domain/plugins.js +22 -13
- package/cjs/domain/plugins.js.map +1 -1
- package/cjs/domain/privacy.d.ts +6 -1
- package/cjs/domain/privacy.js +143 -286
- package/cjs/domain/privacy.js.map +1 -1
- package/cjs/domain/privacyConstants.js +43 -34
- package/cjs/domain/privacyConstants.js.map +1 -1
- package/cjs/domain/requestCollection.d.ts +6 -5
- package/cjs/domain/requestCollection.js +82 -105
- package/cjs/domain/requestCollection.js.map +1 -1
- package/cjs/domain/resource/graphql.d.ts +1 -1
- package/cjs/domain/resource/graphql.js +85 -86
- package/cjs/domain/resource/graphql.js.map +1 -1
- package/cjs/domain/resource/requestRegistry.js +30 -38
- package/cjs/domain/resource/requestRegistry.js.map +1 -1
- package/cjs/domain/resource/resourceCollection.d.ts +5 -3
- package/cjs/domain/resource/resourceCollection.js +241 -175
- package/cjs/domain/resource/resourceCollection.js.map +1 -1
- package/cjs/domain/resource/resourceUtils.d.ts +13 -13
- package/cjs/domain/resource/resourceUtils.js +323 -221
- package/cjs/domain/resource/resourceUtils.js.map +1 -1
- package/cjs/domain/resource/trackManualResources.d.ts +55 -0
- package/cjs/domain/resource/trackManualResources.js +53 -0
- package/cjs/domain/resource/trackManualResources.js.map +1 -0
- package/cjs/domain/resource/webSocketCollection.d.ts +46 -0
- package/cjs/domain/resource/webSocketCollection.js +163 -0
- package/cjs/domain/resource/webSocketCollection.js.map +1 -0
- package/cjs/domain/session/session.types.d.ts +4 -0
- package/cjs/domain/sessionReplayState.d.ts +8 -0
- package/cjs/domain/sessionReplayState.js +19 -0
- package/cjs/domain/sessionReplayState.js.map +1 -0
- package/cjs/domain/startCustomerDataTelemetry.js +39 -43
- package/cjs/domain/startCustomerDataTelemetry.js.map +1 -1
- package/cjs/domain/tracing/getDocumentTraceId.d.ts +1 -1
- package/cjs/domain/tracing/getDocumentTraceId.js +42 -63
- package/cjs/domain/tracing/getDocumentTraceId.js.map +1 -1
- package/cjs/domain/tracing/identifier.js +13 -46
- package/cjs/domain/tracing/identifier.js.map +1 -1
- package/cjs/domain/tracing/tracer.d.ts +2 -5
- package/cjs/domain/tracing/tracer.js +110 -150
- package/cjs/domain/tracing/tracer.js.map +1 -1
- package/cjs/domain/trackEventCounts.js +43 -48
- package/cjs/domain/trackEventCounts.js.map +1 -1
- package/cjs/domain/view/bfCacheSupport.d.ts +1 -2
- package/cjs/domain/view/bfCacheSupport.js +10 -11
- package/cjs/domain/view/bfCacheSupport.js.map +1 -1
- package/cjs/domain/view/trackViewEventCounts.js +14 -13
- package/cjs/domain/view/trackViewEventCounts.js.map +1 -1
- package/cjs/domain/view/trackViews.d.ts +8 -2
- package/cjs/domain/view/trackViews.js +221 -270
- package/cjs/domain/view/trackViews.js.map +1 -1
- package/cjs/domain/view/viewCollection.d.ts +4 -3
- package/cjs/domain/view/viewCollection.js +124 -148
- package/cjs/domain/view/viewCollection.js.map +1 -1
- package/cjs/domain/view/viewDiff.d.ts +22 -0
- package/cjs/domain/view/viewDiff.js +62 -0
- package/cjs/domain/view/viewDiff.js.map +1 -0
- package/cjs/domain/view/viewMetrics/getClsAttributionImpactedArea.js +20 -22
- package/cjs/domain/view/viewMetrics/getClsAttributionImpactedArea.js.map +1 -1
- package/cjs/domain/view/viewMetrics/interactionCountPolyfill.d.ts +1 -0
- package/cjs/domain/view/viewMetrics/interactionCountPolyfill.js +35 -33
- package/cjs/domain/view/viewMetrics/interactionCountPolyfill.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackBfcacheMetrics.d.ts +1 -1
- package/cjs/domain/view/viewMetrics/trackBfcacheMetrics.js +14 -13
- package/cjs/domain/view/viewMetrics/trackBfcacheMetrics.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackCommonViewMetrics.d.ts +4 -2
- package/cjs/domain/view/viewMetrics/trackCommonViewMetrics.js +51 -34
- package/cjs/domain/view/viewMetrics/trackCommonViewMetrics.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackCumulativeLayoutShift.d.ts +1 -1
- package/cjs/domain/view/viewMetrics/trackCumulativeLayoutShift.js +106 -122
- package/cjs/domain/view/viewMetrics/trackCumulativeLayoutShift.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackFirstContentfulPaint.d.ts +2 -3
- package/cjs/domain/view/viewMetrics/trackFirstContentfulPaint.js +26 -34
- package/cjs/domain/view/viewMetrics/trackFirstContentfulPaint.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackFirstHidden.d.ts +2 -3
- package/cjs/domain/view/viewMetrics/trackFirstHidden.js +31 -31
- package/cjs/domain/view/viewMetrics/trackFirstHidden.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackInitialViewMetrics.d.ts +1 -3
- package/cjs/domain/view/viewMetrics/trackInitialViewMetrics.js +33 -38
- package/cjs/domain/view/viewMetrics/trackInitialViewMetrics.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackInteractionToNextPaint.d.ts +10 -1
- package/cjs/domain/view/viewMetrics/trackInteractionToNextPaint.js +202 -144
- package/cjs/domain/view/viewMetrics/trackInteractionToNextPaint.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackLargestContentfulPaint.d.ts +6 -1
- package/cjs/domain/view/viewMetrics/trackLargestContentfulPaint.js +65 -55
- package/cjs/domain/view/viewMetrics/trackLargestContentfulPaint.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackLoadingTime.d.ts +2 -1
- package/cjs/domain/view/viewMetrics/trackLoadingTime.js +42 -46
- package/cjs/domain/view/viewMetrics/trackLoadingTime.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackNavigationTimings.d.ts +2 -3
- package/cjs/domain/view/viewMetrics/trackNavigationTimings.js +28 -36
- package/cjs/domain/view/viewMetrics/trackNavigationTimings.js.map +1 -1
- package/cjs/domain/view/viewMetrics/trackScrollMetrics.d.ts +3 -4
- package/cjs/domain/view/viewMetrics/trackScrollMetrics.js +63 -72
- package/cjs/domain/view/viewMetrics/trackScrollMetrics.js.map +1 -1
- package/cjs/domain/vital/vitalCollection.d.ts +44 -20
- package/cjs/domain/vital/vitalCollection.js +81 -109
- package/cjs/domain/vital/vitalCollection.js.map +1 -1
- package/cjs/domain/waitPageActivityEnd.d.ts +1 -4
- package/cjs/domain/waitPageActivityEnd.js +99 -119
- package/cjs/domain/waitPageActivityEnd.js.map +1 -1
- package/cjs/domainContext.types.d.ts +21 -13
- package/cjs/index.d.ts +11 -10
- package/cjs/index.js +84 -62
- package/cjs/rawRumEvent.types.d.ts +79 -13
- package/cjs/rawRumEvent.types.js +40 -27
- package/cjs/rawRumEvent.types.js.map +1 -1
- package/cjs/rumEvent.types.d.ts +906 -669
- package/cjs/transport/formDataTransport.js +43 -41
- package/cjs/transport/formDataTransport.js.map +1 -1
- package/cjs/transport/startRumBatch.d.ts +27 -3
- package/cjs/transport/startRumBatch.js +132 -31
- package/cjs/transport/startRumBatch.js.map +1 -1
- package/cjs/transport/startRumEventBridge.js +10 -8
- package/cjs/transport/startRumEventBridge.js.map +1 -1
- package/esm/boot/preStartRum.mjs +233 -0
- package/esm/boot/preStartRum.mjs.map +1 -0
- package/esm/boot/rumPublicApi.mjs +271 -0
- package/esm/boot/rumPublicApi.mjs.map +1 -0
- package/esm/boot/startRum.mjs +159 -0
- package/esm/boot/startRum.mjs.map +1 -0
- package/esm/browser/cookieObservable.mjs +34 -0
- package/esm/browser/cookieObservable.mjs.map +1 -0
- package/esm/browser/domMutationObservable.mjs +33 -0
- package/esm/browser/domMutationObservable.mjs.map +1 -0
- package/esm/browser/htmlDomUtils.mjs +48 -0
- package/esm/browser/htmlDomUtils.mjs.map +1 -0
- package/esm/browser/locationChangeObservable.mjs +50 -0
- package/esm/browser/locationChangeObservable.mjs.map +1 -0
- package/esm/browser/performanceObservable.mjs +60 -0
- package/esm/browser/performanceObservable.mjs.map +1 -0
- package/esm/browser/performanceUtils.mjs +64 -0
- package/esm/browser/performanceUtils.mjs.map +1 -0
- package/esm/browser/scroll.mjs +21 -0
- package/esm/browser/scroll.mjs.map +1 -0
- package/esm/browser/viewportObservable.mjs +33 -0
- package/esm/browser/viewportObservable.mjs.map +1 -0
- package/esm/browser/windowOpenObservable.mjs +14 -0
- package/esm/browser/windowOpenObservable.mjs.map +1 -0
- package/esm/domain/action/actionCollection.mjs +89 -0
- package/esm/domain/action/actionCollection.mjs.map +1 -0
- package/esm/domain/action/actionNameConstants.mjs +11 -0
- package/esm/domain/action/actionNameConstants.mjs.map +1 -0
- package/esm/domain/action/clickChain.mjs +57 -0
- package/esm/domain/action/clickChain.mjs.map +1 -0
- package/esm/domain/action/computeFrustration.mjs +36 -0
- package/esm/domain/action/computeFrustration.mjs.map +1 -0
- package/esm/domain/action/frustrationIgnore.mjs +31 -0
- package/esm/domain/action/frustrationIgnore.mjs.map +1 -0
- package/esm/domain/action/getActionNameFromElement.mjs +163 -0
- package/esm/domain/action/getActionNameFromElement.mjs.map +1 -0
- package/esm/domain/action/interactionSelectorCache.mjs +19 -0
- package/esm/domain/action/interactionSelectorCache.mjs.map +1 -0
- package/esm/domain/action/isActionChildEvent.mjs +8 -0
- package/esm/domain/action/isActionChildEvent.mjs.map +1 -0
- package/esm/domain/action/listenActionEvents.mjs +57 -0
- package/esm/domain/action/listenActionEvents.mjs.map +1 -0
- package/esm/domain/action/trackClickActions.mjs +198 -0
- package/esm/domain/action/trackClickActions.mjs.map +1 -0
- package/esm/domain/action/trackManualActions.mjs +48 -0
- package/esm/domain/action/trackManualActions.mjs.map +1 -0
- package/esm/domain/assembly.mjs +87 -0
- package/esm/domain/assembly.mjs.map +1 -0
- package/esm/domain/configuration/configuration.mjs +474 -0
- package/esm/domain/configuration/configuration.mjs.map +1 -0
- package/esm/domain/configuration/index.mjs +6 -0
- package/esm/domain/configuration/jsonPathParser.mjs +145 -0
- package/esm/domain/configuration/jsonPathParser.mjs.map +1 -0
- package/esm/domain/configuration/remoteConfiguration.mjs +279 -0
- package/esm/domain/configuration/remoteConfiguration.mjs.map +1 -0
- package/esm/domain/configuration/remoteConfigurationCache.mjs +92 -0
- package/esm/domain/configuration/remoteConfigurationCache.mjs.map +1 -0
- package/esm/domain/configuration/remoteSdkConfiguration.mjs +208 -0
- package/esm/domain/configuration/remoteSdkConfiguration.mjs.map +1 -0
- package/esm/domain/configuration/sessionReplayRoutes.mjs +26 -0
- package/esm/domain/configuration/sessionReplayRoutes.mjs.map +1 -0
- package/esm/domain/contexts/ciVisibilityContext.mjs +37 -0
- package/esm/domain/contexts/ciVisibilityContext.mjs.map +1 -0
- package/esm/domain/contexts/connectivityContext.mjs +12 -0
- package/esm/domain/contexts/connectivityContext.mjs.map +1 -0
- package/esm/domain/contexts/defaultContext.mjs +30 -0
- package/esm/domain/contexts/defaultContext.mjs.map +1 -0
- package/esm/domain/contexts/displayContext.mjs +24 -0
- package/esm/domain/contexts/displayContext.mjs.map +1 -0
- package/esm/domain/contexts/featureFlagContext.mjs +40 -0
- package/esm/domain/contexts/featureFlagContext.mjs.map +1 -0
- package/esm/domain/contexts/internalContext.mjs +30 -0
- package/esm/domain/contexts/internalContext.mjs.map +1 -0
- package/esm/domain/contexts/pageStateHistory.mjs +82 -0
- package/esm/domain/contexts/pageStateHistory.mjs.map +1 -0
- package/esm/domain/contexts/sessionContext.mjs +33 -0
- package/esm/domain/contexts/sessionContext.mjs.map +1 -0
- package/esm/domain/contexts/sourceCodeMfeContext.mjs +35 -0
- package/esm/domain/contexts/sourceCodeMfeContext.mjs.map +1 -0
- package/esm/domain/contexts/syntheticsContext.mjs +21 -0
- package/esm/domain/contexts/syntheticsContext.mjs.map +1 -0
- package/esm/domain/contexts/trackingConsentContext.mjs +12 -0
- package/esm/domain/contexts/trackingConsentContext.mjs.map +1 -0
- package/esm/domain/contexts/urlContexts.mjs +67 -0
- package/esm/domain/contexts/urlContexts.mjs.map +1 -0
- package/esm/domain/contexts/userAgentDataContext.mjs +22 -0
- package/esm/domain/contexts/userAgentDataContext.mjs.map +1 -0
- package/esm/domain/contexts/viewHistory.mjs +43 -0
- package/esm/domain/contexts/viewHistory.mjs.map +1 -0
- package/esm/domain/discardNegativeDuration.mjs +9 -0
- package/esm/domain/discardNegativeDuration.mjs.map +1 -0
- package/esm/domain/error/errorCollection.mjs +72 -0
- package/esm/domain/error/errorCollection.mjs.map +1 -0
- package/esm/domain/error/trackReportError.mjs +12 -0
- package/esm/domain/error/trackReportError.mjs.map +1 -0
- package/esm/domain/event/eventCollection.mjs +26 -0
- package/esm/domain/event/eventCollection.mjs.map +1 -0
- package/esm/domain/eventTracker.mjs +93 -0
- package/esm/domain/eventTracker.mjs.map +1 -0
- package/esm/domain/extractRegexMatch.mjs +16 -0
- package/esm/domain/extractRegexMatch.mjs.map +1 -0
- package/esm/domain/getComposedPathSelector.mjs +93 -0
- package/esm/domain/getComposedPathSelector.mjs.map +1 -0
- package/esm/domain/getSelectorFromElement.mjs +218 -0
- package/esm/domain/getSelectorFromElement.mjs.map +1 -0
- package/esm/domain/getSessionReplayUrl.mjs +20 -0
- package/esm/domain/getSessionReplayUrl.mjs.map +1 -0
- package/esm/domain/hooks.mjs +13 -0
- package/esm/domain/hooks.mjs.map +1 -0
- package/esm/domain/lifeCycle.mjs +28 -0
- package/esm/domain/lifeCycle.mjs.map +1 -0
- package/esm/domain/limitModification.mjs +42 -0
- package/esm/domain/limitModification.mjs.map +1 -0
- package/esm/domain/longTask/longTaskCollection.mjs +79 -0
- package/esm/domain/longTask/longTaskCollection.mjs.map +1 -0
- package/esm/domain/plugins.mjs +23 -0
- package/esm/domain/plugins.mjs.map +1 -0
- package/esm/domain/privacy.mjs +161 -0
- package/esm/domain/privacy.mjs.map +1 -0
- package/esm/domain/privacyConstants.mjs +36 -0
- package/esm/domain/privacyConstants.mjs.map +1 -0
- package/esm/domain/requestCollection.mjs +86 -0
- package/esm/domain/requestCollection.mjs.map +1 -0
- package/esm/domain/resource/graphql.mjs +93 -0
- package/esm/domain/resource/graphql.mjs.map +1 -0
- package/esm/domain/resource/requestRegistry.mjs +32 -0
- package/esm/domain/resource/requestRegistry.mjs.map +1 -0
- package/esm/domain/resource/resourceCollection.mjs +256 -0
- package/esm/domain/resource/resourceCollection.mjs.map +1 -0
- package/esm/domain/resource/resourceUtils.mjs +349 -0
- package/esm/domain/resource/resourceUtils.mjs.map +1 -0
- package/esm/domain/resource/trackManualResources.mjs +53 -0
- package/esm/domain/resource/trackManualResources.mjs.map +1 -0
- package/esm/domain/resource/webSocketCollection.mjs +160 -0
- package/esm/domain/resource/webSocketCollection.mjs.map +1 -0
- package/esm/domain/sessionReplayState.mjs +18 -0
- package/esm/domain/sessionReplayState.mjs.map +1 -0
- package/esm/domain/startCustomerDataTelemetry.mjs +51 -0
- package/esm/domain/startCustomerDataTelemetry.mjs.map +1 -0
- package/esm/domain/tracing/getDocumentTraceId.mjs +50 -0
- package/esm/domain/tracing/getDocumentTraceId.mjs.map +1 -0
- package/esm/domain/tracing/identifier.mjs +20 -0
- package/esm/domain/tracing/identifier.mjs.map +1 -0
- package/esm/domain/tracing/tracer.mjs +120 -0
- package/esm/domain/tracing/tracer.mjs.map +1 -0
- package/esm/domain/trackEventCounts.mjs +45 -0
- package/esm/domain/trackEventCounts.mjs.map +1 -0
- package/esm/domain/view/bfCacheSupport.mjs +12 -0
- package/esm/domain/view/bfCacheSupport.mjs.map +1 -0
- package/esm/domain/view/trackViewEventCounts.mjs +17 -0
- package/esm/domain/view/trackViewEventCounts.mjs.map +1 -0
- package/esm/domain/view/trackViews.mjs +230 -0
- package/esm/domain/view/trackViews.mjs.map +1 -0
- package/esm/domain/view/viewCollection.mjs +129 -0
- package/esm/domain/view/viewCollection.mjs.map +1 -0
- package/esm/domain/view/viewDiff.mjs +61 -0
- package/esm/domain/view/viewDiff.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/getClsAttributionImpactedArea.mjs +30 -0
- package/esm/domain/view/viewMetrics/getClsAttributionImpactedArea.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/interactionCountPolyfill.mjs +45 -0
- package/esm/domain/view/viewMetrics/interactionCountPolyfill.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackBfcacheMetrics.mjs +18 -0
- package/esm/domain/view/viewMetrics/trackBfcacheMetrics.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackCommonViewMetrics.mjs +54 -0
- package/esm/domain/view/viewMetrics/trackCommonViewMetrics.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackCumulativeLayoutShift.mjs +117 -0
- package/esm/domain/view/viewMetrics/trackCumulativeLayoutShift.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackFirstContentfulPaint.mjs +29 -0
- package/esm/domain/view/viewMetrics/trackFirstContentfulPaint.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackFirstHidden.mjs +33 -0
- package/esm/domain/view/viewMetrics/trackFirstHidden.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackInitialViewMetrics.mjs +36 -0
- package/esm/domain/view/viewMetrics/trackInitialViewMetrics.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackInteractionToNextPaint.mjs +210 -0
- package/esm/domain/view/viewMetrics/trackInteractionToNextPaint.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackLargestContentfulPaint.mjs +70 -0
- package/esm/domain/view/viewMetrics/trackLargestContentfulPaint.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackLoadingTime.mjs +46 -0
- package/esm/domain/view/viewMetrics/trackLoadingTime.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackNavigationTimings.mjs +35 -0
- package/esm/domain/view/viewMetrics/trackNavigationTimings.mjs.map +1 -0
- package/esm/domain/view/viewMetrics/trackScrollMetrics.mjs +66 -0
- package/esm/domain/view/viewMetrics/trackScrollMetrics.mjs.map +1 -0
- package/esm/domain/vital/vitalCollection.mjs +85 -0
- package/esm/domain/vital/vitalCollection.mjs.map +1 -0
- package/esm/domain/waitPageActivityEnd.mjs +107 -0
- package/esm/domain/waitPageActivityEnd.mjs.map +1 -0
- package/esm/index.mjs +23 -0
- package/esm/rawRumEvent.types.mjs +42 -0
- package/esm/rawRumEvent.types.mjs.map +1 -0
- package/esm/transport/formDataTransport.mjs +48 -0
- package/esm/transport/formDataTransport.mjs.map +1 -0
- package/esm/transport/startRumBatch.mjs +132 -0
- package/esm/transport/startRumBatch.mjs.map +1 -0
- package/esm/transport/startRumEventBridge.mjs +13 -0
- package/esm/transport/startRumEventBridge.mjs.map +1 -0
- package/package.json +19 -11
- package/src/boot/preStartRum.ts +216 -88
- package/src/boot/rumPublicApi.ts +358 -119
- package/src/boot/startRum.ts +88 -84
- package/src/browser/cookieObservable.ts +19 -28
- package/src/browser/domMutationObservable.ts +7 -12
- package/src/browser/htmlDomUtils.ts +15 -0
- package/src/browser/locationChangeObservable.ts +23 -12
- package/src/browser/performanceObservable.ts +23 -73
- package/src/browser/performanceUtils.ts +52 -4
- package/src/browser/viewportObservable.ts +4 -6
- package/src/domain/action/actionCollection.ts +94 -87
- package/src/domain/action/clickChain.ts +11 -10
- package/src/domain/action/computeFrustration.ts +19 -5
- package/src/domain/action/frustrationIgnore.ts +54 -0
- package/src/domain/action/getActionNameFromElement.ts +27 -61
- package/src/domain/action/interactionSelectorCache.ts +2 -2
- package/src/domain/action/isActionChildEvent.ts +6 -0
- package/src/domain/action/listenActionEvents.ts +2 -11
- package/src/domain/action/trackClickActions.ts +92 -82
- package/src/domain/action/trackManualActions.ts +104 -0
- package/src/domain/assembly.ts +57 -70
- package/src/domain/configuration/configuration.ts +587 -208
- package/src/domain/configuration/index.ts +1 -0
- package/src/domain/configuration/remoteConfiguration.ts +152 -29
- package/src/domain/configuration/remoteConfiguration.types.ts +51 -1
- package/src/domain/configuration/remoteConfigurationCache.ts +153 -0
- package/src/domain/configuration/remoteSdkConfiguration.ts +131 -13
- package/src/domain/configuration/sessionReplayRoutes.ts +2 -47
- package/src/domain/contexts/ciVisibilityContext.ts +23 -12
- package/src/domain/contexts/connectivityContext.ts +7 -10
- package/src/domain/contexts/defaultContext.ts +11 -14
- package/src/domain/contexts/displayContext.ts +8 -12
- package/src/domain/contexts/featureFlagContext.ts +5 -4
- package/src/domain/contexts/internalContext.ts +3 -3
- package/src/domain/contexts/pageStateHistory.ts +20 -31
- package/src/domain/contexts/sessionContext.ts +16 -22
- package/src/domain/contexts/sourceCodeMfeContext.ts +53 -0
- package/src/domain/contexts/syntheticsContext.ts +7 -17
- package/src/domain/contexts/trackingConsentContext.ts +7 -4
- package/src/domain/contexts/urlContexts.ts +13 -9
- package/src/domain/contexts/userAgentDataContext.ts +12 -13
- package/src/domain/contexts/viewHistory.ts +4 -3
- package/src/domain/discardNegativeDuration.ts +1 -1
- package/src/domain/error/errorCollection.ts +12 -22
- package/src/domain/error/trackReportError.ts +4 -7
- package/src/domain/event/eventCollection.ts +4 -2
- package/src/domain/eventTracker.ts +169 -0
- package/src/domain/extractRegexMatch.ts +15 -0
- package/src/domain/getComposedPathSelector.ts +130 -0
- package/src/domain/getSelectorFromElement.ts +125 -31
- package/src/domain/getSessionReplayUrl.ts +4 -13
- package/src/domain/hooks.ts +34 -21
- package/src/domain/lifeCycle.ts +21 -8
- package/src/domain/limitModification.ts +20 -4
- package/src/domain/longTask/longTaskCollection.ts +18 -47
- package/src/domain/plugins.ts +54 -25
- package/src/domain/privacy.ts +16 -24
- package/src/domain/requestCollection.ts +108 -97
- package/src/domain/resource/graphql.ts +71 -25
- package/src/domain/resource/requestRegistry.ts +1 -3
- package/src/domain/resource/resourceCollection.ts +319 -137
- package/src/domain/resource/resourceUtils.ts +24 -26
- package/src/domain/resource/trackManualResources.ts +121 -0
- package/src/domain/resource/webSocketCollection.ts +281 -0
- package/src/domain/session/session.types.ts +5 -0
- package/src/domain/sessionReplayState.ts +36 -0
- package/src/domain/startCustomerDataTelemetry.ts +2 -2
- package/src/domain/tracing/getDocumentTraceId.ts +5 -4
- package/src/domain/tracing/identifier.ts +6 -37
- package/src/domain/tracing/tracer.ts +22 -21
- package/src/domain/tracing/tracer.types.ts +3 -3
- package/src/domain/view/bfCacheSupport.ts +1 -6
- package/src/domain/view/trackViews.ts +40 -37
- package/src/domain/view/viewCollection.ts +29 -23
- package/src/domain/view/viewDiff.ts +115 -0
- package/src/domain/view/viewMetrics/interactionCountPolyfill.ts +13 -2
- package/src/domain/view/viewMetrics/trackBfcacheMetrics.ts +1 -1
- package/src/domain/view/viewMetrics/trackCommonViewMetrics.ts +27 -6
- package/src/domain/view/viewMetrics/trackCumulativeLayoutShift.ts +5 -3
- package/src/domain/view/viewMetrics/trackFirstContentfulPaint.ts +4 -9
- package/src/domain/view/viewMetrics/trackFirstHidden.ts +2 -8
- package/src/domain/view/viewMetrics/trackInitialViewMetrics.ts +4 -13
- package/src/domain/view/viewMetrics/trackInteractionToNextPaint.ts +180 -35
- package/src/domain/view/viewMetrics/trackLargestContentfulPaint.ts +47 -6
- package/src/domain/view/viewMetrics/trackLoadingTime.ts +4 -3
- package/src/domain/view/viewMetrics/trackNavigationTimings.ts +10 -18
- package/src/domain/view/viewMetrics/trackScrollMetrics.ts +23 -37
- package/src/domain/vital/vitalCollection.ts +83 -102
- package/src/domain/waitPageActivityEnd.ts +7 -11
- package/src/domainContext.types.ts +23 -15
- package/src/index.ts +17 -11
- package/src/rawRumEvent.types.ts +80 -26
- package/src/rumEvent.types.ts +730 -505
- package/src/transport/formDataTransport.ts +16 -6
- package/src/transport/startRumBatch.ts +181 -24
- package/cjs/browser/firstInputPolyfill.d.ts +0 -8
- package/cjs/browser/firstInputPolyfill.js +0 -68
- package/cjs/browser/firstInputPolyfill.js.map +0 -1
- package/cjs/domain/configuration/index.js.map +0 -1
- package/cjs/domain/configuration/remoteConfiguration.types.js +0 -7
- package/cjs/domain/configuration/remoteConfiguration.types.js.map +0 -1
- package/cjs/domain/error/trackConsoleError.d.ts +0 -4
- package/cjs/domain/error/trackConsoleError.js +0 -13
- package/cjs/domain/error/trackConsoleError.js.map +0 -1
- package/cjs/domain/resource/matchRequestResourceEntry.d.ts +0 -16
- package/cjs/domain/resource/matchRequestResourceEntry.js +0 -49
- package/cjs/domain/resource/matchRequestResourceEntry.js.map +0 -1
- package/cjs/domain/resource/retrieveInitialDocumentResourceTiming.d.ts +0 -4
- package/cjs/domain/resource/retrieveInitialDocumentResourceTiming.js +0 -24
- package/cjs/domain/resource/retrieveInitialDocumentResourceTiming.js.map +0 -1
- package/cjs/domain/rumSessionManager.d.ts +0 -36
- package/cjs/domain/rumSessionManager.js +0 -77
- package/cjs/domain/rumSessionManager.js.map +0 -1
- package/cjs/domain/sampler/sampler.d.ts +0 -10
- package/cjs/domain/sampler/sampler.js +0 -63
- package/cjs/domain/sampler/sampler.js.map +0 -1
- package/cjs/domain/tracing/sampler.d.ts +0 -10
- package/cjs/domain/tracing/sampler.js +0 -69
- package/cjs/domain/tracing/sampler.js.map +0 -1
- package/cjs/domain/tracing/tracer.types.js +0 -3
- package/cjs/domain/tracing/tracer.types.js.map +0 -1
- package/cjs/domain/view/viewMetrics/startInitialViewMetricsTelemetry.d.ts +0 -6
- package/cjs/domain/view/viewMetrics/startInitialViewMetricsTelemetry.js +0 -44
- package/cjs/domain/view/viewMetrics/startInitialViewMetricsTelemetry.js.map +0 -1
- package/cjs/domain/view/viewMetrics/trackFirstInput.d.ts +0 -19
- package/cjs/domain/view/viewMetrics/trackFirstInput.js +0 -43
- package/cjs/domain/view/viewMetrics/trackFirstInput.js.map +0 -1
- package/cjs/domainContext.types.js +0 -6
- package/cjs/domainContext.types.js.map +0 -1
- package/cjs/index.js.map +0 -1
- package/cjs/rumEvent.types.js +0 -7
- package/cjs/rumEvent.types.js.map +0 -1
- package/esm/boot/preStartRum.d.ts +0 -7
- package/esm/boot/preStartRum.js +0 -205
- package/esm/boot/preStartRum.js.map +0 -1
- package/esm/boot/rumPublicApi.d.ts +0 -409
- package/esm/boot/rumPublicApi.js +0 -165
- package/esm/boot/rumPublicApi.js.map +0 -1
- package/esm/boot/startRum.d.ts +0 -109
- package/esm/boot/startRum.js +0 -149
- package/esm/boot/startRum.js.map +0 -1
- package/esm/browser/cookieObservable.d.ts +0 -8
- package/esm/browser/cookieObservable.js +0 -35
- package/esm/browser/cookieObservable.js.map +0 -1
- package/esm/browser/domMutationObservable.d.ts +0 -27
- package/esm/browser/domMutationObservable.js +0 -54
- package/esm/browser/domMutationObservable.js.map +0 -1
- package/esm/browser/firstInputPolyfill.d.ts +0 -8
- package/esm/browser/firstInputPolyfill.js +0 -65
- package/esm/browser/firstInputPolyfill.js.map +0 -1
- package/esm/browser/htmlDomUtils.d.ts +0 -13
- package/esm/browser/htmlDomUtils.js +0 -36
- package/esm/browser/htmlDomUtils.js.map +0 -1
- package/esm/browser/locationChangeObservable.d.ts +0 -7
- package/esm/browser/locationChangeObservable.js +0 -48
- package/esm/browser/locationChangeObservable.js.map +0 -1
- package/esm/browser/performanceObservable.d.ts +0 -174
- package/esm/browser/performanceObservable.js +0 -121
- package/esm/browser/performanceObservable.js.map +0 -1
- package/esm/browser/performanceUtils.d.ts +0 -7
- package/esm/browser/performanceUtils.js +0 -38
- package/esm/browser/performanceUtils.js.map +0 -1
- package/esm/browser/scroll.d.ts +0 -2
- package/esm/browser/scroll.js +0 -29
- package/esm/browser/scroll.js.map +0 -1
- package/esm/browser/viewportObservable.d.ts +0 -10
- package/esm/browser/viewportObservable.js +0 -32
- package/esm/browser/viewportObservable.js.map +0 -1
- package/esm/browser/windowOpenObservable.d.ts +0 -5
- package/esm/browser/windowOpenObservable.js +0 -7
- package/esm/browser/windowOpenObservable.js.map +0 -1
- package/esm/domain/action/actionCollection.d.ts +0 -21
- package/esm/domain/action/actionCollection.js +0 -93
- package/esm/domain/action/actionCollection.js.map +0 -1
- package/esm/domain/action/actionNameConstants.d.ts +0 -18
- package/esm/domain/action/actionNameConstants.js +0 -8
- package/esm/domain/action/actionNameConstants.js.map +0 -1
- package/esm/domain/action/clickChain.d.ts +0 -8
- package/esm/domain/action/clickChain.js +0 -57
- package/esm/domain/action/clickChain.js.map +0 -1
- package/esm/domain/action/computeFrustration.d.ts +0 -6
- package/esm/domain/action/computeFrustration.js +0 -65
- package/esm/domain/action/computeFrustration.js.map +0 -1
- package/esm/domain/action/getActionNameFromElement.d.ts +0 -4
- package/esm/domain/action/getActionNameFromElement.js +0 -236
- package/esm/domain/action/getActionNameFromElement.js.map +0 -1
- package/esm/domain/action/interactionSelectorCache.d.ts +0 -5
- package/esm/domain/action/interactionSelectorCache.js +0 -18
- package/esm/domain/action/interactionSelectorCache.js.map +0 -1
- package/esm/domain/action/listenActionEvents.d.ts +0 -19
- package/esm/domain/action/listenActionEvents.js +0 -58
- package/esm/domain/action/listenActionEvents.js.map +0 -1
- package/esm/domain/action/trackClickActions.d.ts +0 -81
- package/esm/domain/action/trackClickActions.js +0 -232
- package/esm/domain/action/trackClickActions.js.map +0 -1
- package/esm/domain/assembly.d.ts +0 -5
- package/esm/domain/assembly.js +0 -99
- package/esm/domain/assembly.js.map +0 -1
- package/esm/domain/configuration/configuration.d.ts +0 -358
- package/esm/domain/configuration/configuration.js +0 -209
- package/esm/domain/configuration/configuration.js.map +0 -1
- package/esm/domain/configuration/index.d.ts +0 -4
- package/esm/domain/configuration/index.js +0 -5
- package/esm/domain/configuration/index.js.map +0 -1
- package/esm/domain/configuration/jsonPathParser.d.ts +0 -28
- package/esm/domain/configuration/jsonPathParser.js +0 -156
- package/esm/domain/configuration/jsonPathParser.js.map +0 -1
- package/esm/domain/configuration/remoteConfiguration.d.ts +0 -39
- package/esm/domain/configuration/remoteConfiguration.js +0 -236
- package/esm/domain/configuration/remoteConfiguration.js.map +0 -1
- package/esm/domain/configuration/remoteConfiguration.types.d.ts +0 -138
- package/esm/domain/configuration/remoteConfiguration.types.js +0 -6
- package/esm/domain/configuration/remoteConfiguration.types.js.map +0 -1
- package/esm/domain/configuration/remoteSdkConfiguration.d.ts +0 -18
- package/esm/domain/configuration/remoteSdkConfiguration.js +0 -137
- package/esm/domain/configuration/remoteSdkConfiguration.js.map +0 -1
- package/esm/domain/configuration/sessionReplayRoutes.d.ts +0 -35
- package/esm/domain/configuration/sessionReplayRoutes.js +0 -65
- package/esm/domain/configuration/sessionReplayRoutes.js.map +0 -1
- package/esm/domain/contexts/ciVisibilityContext.d.ts +0 -12
- package/esm/domain/contexts/ciVisibilityContext.js +0 -30
- package/esm/domain/contexts/ciVisibilityContext.js.map +0 -1
- package/esm/domain/contexts/connectivityContext.d.ts +0 -2
- package/esm/domain/contexts/connectivityContext.js +0 -8
- package/esm/domain/contexts/connectivityContext.js.map +0 -1
- package/esm/domain/contexts/defaultContext.d.ts +0 -4
- package/esm/domain/contexts/defaultContext.js +0 -31
- package/esm/domain/contexts/defaultContext.js.map +0 -1
- package/esm/domain/contexts/displayContext.d.ts +0 -6
- package/esm/domain/contexts/displayContext.js +0 -25
- package/esm/domain/contexts/displayContext.js.map +0 -1
- package/esm/domain/contexts/featureFlagContext.d.ts +0 -19
- package/esm/domain/contexts/featureFlagContext.js +0 -49
- package/esm/domain/contexts/featureFlagContext.js.map +0 -1
- package/esm/domain/contexts/internalContext.d.ts +0 -12
- package/esm/domain/contexts/internalContext.js +0 -23
- package/esm/domain/contexts/internalContext.js.map +0 -1
- package/esm/domain/contexts/pageStateHistory.d.ts +0 -23
- package/esm/domain/contexts/pageStateHistory.js +0 -100
- package/esm/domain/contexts/pageStateHistory.js.map +0 -1
- package/esm/domain/contexts/sessionContext.d.ts +0 -5
- package/esm/domain/contexts/sessionContext.js +0 -44
- package/esm/domain/contexts/sessionContext.js.map +0 -1
- package/esm/domain/contexts/syntheticsContext.d.ts +0 -2
- package/esm/domain/contexts/syntheticsContext.js +0 -22
- package/esm/domain/contexts/syntheticsContext.js.map +0 -1
- package/esm/domain/contexts/trackingConsentContext.d.ts +0 -3
- package/esm/domain/contexts/trackingConsentContext.js +0 -11
- package/esm/domain/contexts/trackingConsentContext.js.map +0 -1
- package/esm/domain/contexts/urlContexts.d.ts +0 -22
- package/esm/domain/contexts/urlContexts.js +0 -60
- package/esm/domain/contexts/urlContexts.js.map +0 -1
- package/esm/domain/contexts/userAgentDataContext.d.ts +0 -2
- package/esm/domain/contexts/userAgentDataContext.js +0 -28
- package/esm/domain/contexts/userAgentDataContext.js.map +0 -1
- package/esm/domain/contexts/viewHistory.d.ts +0 -17
- package/esm/domain/contexts/viewHistory.js +0 -44
- package/esm/domain/contexts/viewHistory.js.map +0 -1
- package/esm/domain/discardNegativeDuration.d.ts +0 -2
- package/esm/domain/discardNegativeDuration.js +0 -5
- package/esm/domain/discardNegativeDuration.js.map +0 -1
- package/esm/domain/error/errorCollection.d.ts +0 -17
- package/esm/domain/error/errorCollection.js +0 -70
- package/esm/domain/error/errorCollection.js.map +0 -1
- package/esm/domain/error/trackConsoleError.d.ts +0 -4
- package/esm/domain/error/trackConsoleError.js +0 -10
- package/esm/domain/error/trackConsoleError.js.map +0 -1
- package/esm/domain/error/trackReportError.d.ts +0 -5
- package/esm/domain/error/trackReportError.js +0 -13
- package/esm/domain/error/trackReportError.js.map +0 -1
- package/esm/domain/event/eventCollection.d.ts +0 -10
- package/esm/domain/event/eventCollection.js +0 -24
- package/esm/domain/event/eventCollection.js.map +0 -1
- package/esm/domain/getSelectorFromElement.d.ts +0 -64
- package/esm/domain/getSelectorFromElement.js +0 -213
- package/esm/domain/getSelectorFromElement.js.map +0 -1
- package/esm/domain/getSessionReplayUrl.d.ts +0 -9
- package/esm/domain/getSessionReplayUrl.js +0 -30
- package/esm/domain/getSessionReplayUrl.js.map +0 -1
- package/esm/domain/hooks.d.ts +0 -23
- package/esm/domain/hooks.js +0 -3
- package/esm/domain/hooks.js.map +0 -1
- package/esm/domain/lifeCycle.d.ts +0 -73
- package/esm/domain/lifeCycle.js +0 -3
- package/esm/domain/lifeCycle.js.map +0 -1
- package/esm/domain/limitModification.d.ts +0 -8
- package/esm/domain/limitModification.js +0 -43
- package/esm/domain/limitModification.js.map +0 -1
- package/esm/domain/longTask/longTaskCollection.d.ts +0 -18
- package/esm/domain/longTask/longTaskCollection.js +0 -87
- package/esm/domain/longTask/longTaskCollection.js.map +0 -1
- package/esm/domain/plugins.d.ts +0 -40
- package/esm/domain/plugins.js +0 -12
- package/esm/domain/plugins.js.map +0 -1
- package/esm/domain/privacy.d.ts +0 -44
- package/esm/domain/privacy.js +0 -302
- package/esm/domain/privacy.js.map +0 -1
- package/esm/domain/privacyConstants.d.ts +0 -23
- package/esm/domain/privacyConstants.js +0 -35
- package/esm/domain/privacyConstants.js.map +0 -1
- package/esm/domain/requestCollection.d.ts +0 -54
- package/esm/domain/requestCollection.js +0 -106
- package/esm/domain/requestCollection.js.map +0 -1
- package/esm/domain/resource/graphql.d.ts +0 -23
- package/esm/domain/resource/graphql.js +0 -91
- package/esm/domain/resource/graphql.js.map +0 -1
- package/esm/domain/resource/matchRequestResourceEntry.d.ts +0 -16
- package/esm/domain/resource/matchRequestResourceEntry.js +0 -46
- package/esm/domain/resource/matchRequestResourceEntry.js.map +0 -1
- package/esm/domain/resource/requestRegistry.d.ts +0 -9
- package/esm/domain/resource/requestRegistry.js +0 -37
- package/esm/domain/resource/requestRegistry.js.map +0 -1
- package/esm/domain/resource/resourceCollection.d.ts +0 -7
- package/esm/domain/resource/resourceCollection.js +0 -187
- package/esm/domain/resource/resourceCollection.js.map +0 -1
- package/esm/domain/resource/resourceUtils.d.ts +0 -55
- package/esm/domain/resource/resourceUtils.js +0 -244
- package/esm/domain/resource/resourceUtils.js.map +0 -1
- package/esm/domain/resource/retrieveInitialDocumentResourceTiming.d.ts +0 -4
- package/esm/domain/resource/retrieveInitialDocumentResourceTiming.js +0 -21
- package/esm/domain/resource/retrieveInitialDocumentResourceTiming.js.map +0 -1
- package/esm/domain/rumSessionManager.d.ts +0 -36
- package/esm/domain/rumSessionManager.js +0 -72
- package/esm/domain/rumSessionManager.js.map +0 -1
- package/esm/domain/sampler/sampler.d.ts +0 -10
- package/esm/domain/sampler/sampler.js +0 -58
- package/esm/domain/sampler/sampler.js.map +0 -1
- package/esm/domain/startCustomerDataTelemetry.d.ts +0 -4
- package/esm/domain/startCustomerDataTelemetry.js +0 -52
- package/esm/domain/startCustomerDataTelemetry.js.map +0 -1
- package/esm/domain/tracing/getDocumentTraceId.d.ts +0 -12
- package/esm/domain/tracing/getDocumentTraceId.js +0 -68
- package/esm/domain/tracing/getDocumentTraceId.js.map +0 -1
- package/esm/domain/tracing/identifier.d.ts +0 -13
- package/esm/domain/tracing/identifier.js +0 -50
- package/esm/domain/tracing/identifier.js.map +0 -1
- package/esm/domain/tracing/sampler.d.ts +0 -10
- package/esm/domain/tracing/sampler.js +0 -64
- package/esm/domain/tracing/sampler.js.map +0 -1
- package/esm/domain/tracing/tracer.d.ts +0 -30
- package/esm/domain/tracing/tracer.js +0 -156
- package/esm/domain/tracing/tracer.js.map +0 -1
- package/esm/domain/tracing/tracer.types.d.ts +0 -12
- package/esm/domain/tracing/tracer.types.js +0 -2
- package/esm/domain/tracing/tracer.types.js.map +0 -1
- package/esm/domain/trackEventCounts.d.ts +0 -17
- package/esm/domain/trackEventCounts.js +0 -47
- package/esm/domain/trackEventCounts.js.map +0 -1
- package/esm/domain/view/bfCacheSupport.d.ts +0 -2
- package/esm/domain/view/bfCacheSupport.js +0 -10
- package/esm/domain/view/bfCacheSupport.js.map +0 -1
- package/esm/domain/view/trackViewEventCounts.d.ts +0 -5
- package/esm/domain/view/trackViewEventCounts.js +0 -13
- package/esm/domain/view/trackViewEventCounts.js.map +0 -1
- package/esm/domain/view/trackViews.d.ts +0 -65
- package/esm/domain/view/trackViews.js +0 -278
- package/esm/domain/view/trackViews.js.map +0 -1
- package/esm/domain/view/viewCollection.d.ts +0 -18
- package/esm/domain/view/viewCollection.js +0 -150
- package/esm/domain/view/viewCollection.js.map +0 -1
- package/esm/domain/view/viewMetrics/getClsAttributionImpactedArea.d.ts +0 -6
- package/esm/domain/view/viewMetrics/getClsAttributionImpactedArea.js +0 -28
- package/esm/domain/view/viewMetrics/getClsAttributionImpactedArea.js.map +0 -1
- package/esm/domain/view/viewMetrics/interactionCountPolyfill.d.ts +0 -18
- package/esm/domain/view/viewMetrics/interactionCountPolyfill.js +0 -39
- package/esm/domain/view/viewMetrics/interactionCountPolyfill.js.map +0 -1
- package/esm/domain/view/viewMetrics/startInitialViewMetricsTelemetry.d.ts +0 -6
- package/esm/domain/view/viewMetrics/startInitialViewMetricsTelemetry.js +0 -41
- package/esm/domain/view/viewMetrics/startInitialViewMetricsTelemetry.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackBfcacheMetrics.d.ts +0 -8
- package/esm/domain/view/viewMetrics/trackBfcacheMetrics.js +0 -14
- package/esm/domain/view/viewMetrics/trackBfcacheMetrics.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackCommonViewMetrics.d.ts +0 -21
- package/esm/domain/view/viewMetrics/trackCommonViewMetrics.js +0 -34
- package/esm/domain/view/viewMetrics/trackCommonViewMetrics.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackCumulativeLayoutShift.d.ts +0 -37
- package/esm/domain/view/viewMetrics/trackCumulativeLayoutShift.js +0 -130
- package/esm/domain/view/viewMetrics/trackCumulativeLayoutShift.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackFirstContentfulPaint.d.ts +0 -13
- package/esm/domain/view/viewMetrics/trackFirstContentfulPaint.js +0 -34
- package/esm/domain/view/viewMetrics/trackFirstContentfulPaint.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackFirstHidden.d.ts +0 -10
- package/esm/domain/view/viewMetrics/trackFirstHidden.js +0 -30
- package/esm/domain/view/viewMetrics/trackFirstHidden.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackFirstInput.d.ts +0 -19
- package/esm/domain/view/viewMetrics/trackFirstInput.js +0 -40
- package/esm/domain/view/viewMetrics/trackFirstInput.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackInitialViewMetrics.d.ts +0 -15
- package/esm/domain/view/viewMetrics/trackInitialViewMetrics.js +0 -38
- package/esm/domain/view/viewMetrics/trackInitialViewMetrics.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackInteractionToNextPaint.d.ts +0 -25
- package/esm/domain/view/viewMetrics/trackInteractionToNextPaint.js +0 -149
- package/esm/domain/view/viewMetrics/trackInteractionToNextPaint.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackLargestContentfulPaint.d.ts +0 -18
- package/esm/domain/view/viewMetrics/trackLargestContentfulPaint.js +0 -57
- package/esm/domain/view/viewMetrics/trackLargestContentfulPaint.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackLoadingTime.d.ts +0 -14
- package/esm/domain/view/viewMetrics/trackLoadingTime.js +0 -47
- package/esm/domain/view/viewMetrics/trackLoadingTime.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackNavigationTimings.d.ts +0 -14
- package/esm/domain/view/viewMetrics/trackNavigationTimings.js +0 -40
- package/esm/domain/view/viewMetrics/trackNavigationTimings.js.map +0 -1
- package/esm/domain/view/viewMetrics/trackScrollMetrics.d.ts +0 -25
- package/esm/domain/view/viewMetrics/trackScrollMetrics.js +0 -72
- package/esm/domain/view/viewMetrics/trackScrollMetrics.js.map +0 -1
- package/esm/domain/vital/vitalCollection.d.ts +0 -55
- package/esm/domain/vital/vitalCollection.js +0 -107
- package/esm/domain/vital/vitalCollection.js.map +0 -1
- package/esm/domain/waitPageActivityEnd.d.ts +0 -54
- package/esm/domain/waitPageActivityEnd.js +0 -123
- package/esm/domain/waitPageActivityEnd.js.map +0 -1
- package/esm/domainContext.types.d.ts +0 -39
- package/esm/domainContext.types.js +0 -5
- package/esm/domainContext.types.js.map +0 -1
- package/esm/index.d.ts +0 -42
- package/esm/index.js +0 -22
- package/esm/index.js.map +0 -1
- package/esm/rawRumEvent.types.d.ts +0 -326
- package/esm/rawRumEvent.types.js +0 -31
- package/esm/rawRumEvent.types.js.map +0 -1
- package/esm/rumEvent.types.d.ts +0 -2038
- package/esm/rumEvent.types.js +0 -6
- package/esm/rumEvent.types.js.map +0 -1
- package/esm/transport/formDataTransport.d.ts +0 -16
- package/esm/transport/formDataTransport.js +0 -43
- package/esm/transport/formDataTransport.js.map +0 -1
- package/esm/transport/startRumBatch.d.ts +0 -5
- package/esm/transport/startRumBatch.js +0 -30
- package/esm/transport/startRumBatch.js.map +0 -1
- package/esm/transport/startRumEventBridge.d.ts +0 -2
- package/esm/transport/startRumEventBridge.js +0 -8
- package/esm/transport/startRumEventBridge.js.map +0 -1
- package/src/browser/firstInputPolyfill.ts +0 -87
- package/src/domain/error/trackConsoleError.ts +0 -14
- package/src/domain/resource/matchRequestResourceEntry.ts +0 -68
- package/src/domain/resource/retrieveInitialDocumentResourceTiming.ts +0 -27
- package/src/domain/rumSessionManager.ts +0 -134
- package/src/domain/sampler/sampler.ts +0 -63
- package/src/domain/tracing/sampler.ts +0 -69
- package/src/domain/view/viewMetrics/startInitialViewMetricsTelemetry.ts +0 -70
- package/src/domain/view/viewMetrics/trackFirstInput.ts +0 -59
package/src/rumEvent.types.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
1
|
/**
|
|
3
2
|
* DO NOT MODIFY IT BY HAND. Run `yarn json-schemas:sync` instead.
|
|
4
3
|
*/
|
|
@@ -13,6 +12,7 @@ export type RumEvent =
|
|
|
13
12
|
| RumLongTaskEvent
|
|
14
13
|
| RumResourceEvent
|
|
15
14
|
| RumViewEvent
|
|
15
|
+
| RumViewUpdateEvent
|
|
16
16
|
| RumVitalEvent
|
|
17
17
|
/**
|
|
18
18
|
* Schema of all properties of an Action event
|
|
@@ -141,6 +141,10 @@ export type RumActionEvent = CommonProperties &
|
|
|
141
141
|
* CSS selector path of the target element
|
|
142
142
|
*/
|
|
143
143
|
readonly selector?: string
|
|
144
|
+
/**
|
|
145
|
+
* Selector data based on the click event composed path
|
|
146
|
+
*/
|
|
147
|
+
readonly composed_path_selector?: string
|
|
144
148
|
/**
|
|
145
149
|
* Width of the target element (in pixels)
|
|
146
150
|
*/
|
|
@@ -149,18 +153,17 @@ export type RumActionEvent = CommonProperties &
|
|
|
149
153
|
* Height of the target element (in pixels)
|
|
150
154
|
*/
|
|
151
155
|
readonly height?: number
|
|
156
|
+
/**
|
|
157
|
+
* Mobile-only: a globally unique and stable identifier for this UI element, computed as the hash of the element's path. Used to correlate actions with mobile session replay wireframes.
|
|
158
|
+
*/
|
|
159
|
+
readonly permanent_id?: string
|
|
152
160
|
[k: string]: unknown
|
|
153
161
|
}
|
|
154
162
|
/**
|
|
155
163
|
* The strategy of how the auto click action name is computed
|
|
156
164
|
*/
|
|
157
165
|
name_source?:
|
|
158
|
-
| '
|
|
159
|
-
| 'mask_placeholder'
|
|
160
|
-
| 'standard_attribute'
|
|
161
|
-
| 'text_content'
|
|
162
|
-
| 'mask_disallowed'
|
|
163
|
-
| 'blank'
|
|
166
|
+
'custom_attribute' | 'mask_placeholder' | 'standard_attribute' | 'text_content' | 'mask_disallowed' | 'blank'
|
|
164
167
|
[k: string]: unknown
|
|
165
168
|
}
|
|
166
169
|
[k: string]: unknown
|
|
@@ -175,7 +178,7 @@ export type RumTransitionEvent = CommonProperties & {
|
|
|
175
178
|
* RUM event type
|
|
176
179
|
*/
|
|
177
180
|
readonly type: 'transition'
|
|
178
|
-
view: {
|
|
181
|
+
readonly view: {
|
|
179
182
|
[k: string]: unknown
|
|
180
183
|
}
|
|
181
184
|
/**
|
|
@@ -299,13 +302,14 @@ export type RumErrorEvent = CommonProperties &
|
|
|
299
302
|
/**
|
|
300
303
|
* Handling call stack
|
|
301
304
|
*/
|
|
302
|
-
|
|
305
|
+
handling_stack?: string
|
|
303
306
|
/**
|
|
304
307
|
* Source type of the error (the language or platform impacting the error stacktrace format)
|
|
305
308
|
*/
|
|
306
309
|
readonly source_type?:
|
|
307
310
|
| 'android'
|
|
308
311
|
| 'browser'
|
|
312
|
+
| 'browser+wasm'
|
|
309
313
|
| 'ios'
|
|
310
314
|
| 'react-native'
|
|
311
315
|
| 'flutter'
|
|
@@ -313,6 +317,11 @@ export type RumErrorEvent = CommonProperties &
|
|
|
313
317
|
| 'ndk'
|
|
314
318
|
| 'ios+il2cpp'
|
|
315
319
|
| 'ndk+il2cpp'
|
|
320
|
+
| 'windows'
|
|
321
|
+
| 'macos'
|
|
322
|
+
| 'linux'
|
|
323
|
+
| 'maui'
|
|
324
|
+
| 'nodejs'
|
|
316
325
|
/**
|
|
317
326
|
* Resource properties of the error
|
|
318
327
|
*/
|
|
@@ -361,6 +370,7 @@ export type RumErrorEvent = CommonProperties &
|
|
|
361
370
|
| 'video'
|
|
362
371
|
[k: string]: unknown
|
|
363
372
|
}
|
|
373
|
+
readonly graphql?: RumGraphql
|
|
364
374
|
[k: string]: unknown
|
|
365
375
|
}
|
|
366
376
|
/**
|
|
@@ -415,6 +425,20 @@ export type RumErrorEvent = CommonProperties &
|
|
|
415
425
|
readonly arch?: string
|
|
416
426
|
[k: string]: unknown
|
|
417
427
|
}[]
|
|
428
|
+
/**
|
|
429
|
+
* WebAssembly modules available for stack trace symbolication.
|
|
430
|
+
*/
|
|
431
|
+
readonly wasm_modules?: {
|
|
432
|
+
/**
|
|
433
|
+
* URL identifying the WebAssembly module.
|
|
434
|
+
*/
|
|
435
|
+
readonly url: string
|
|
436
|
+
/**
|
|
437
|
+
* Build ID used to identify the WebAssembly debug symbols.
|
|
438
|
+
*/
|
|
439
|
+
readonly build_id: string
|
|
440
|
+
[k: string]: unknown
|
|
441
|
+
}[]
|
|
418
442
|
/**
|
|
419
443
|
* A boolean value saying if any of the stack traces was truncated due to minification.
|
|
420
444
|
*/
|
|
@@ -495,6 +519,30 @@ export type RumErrorEvent = CommonProperties &
|
|
|
495
519
|
readonly feature_flags?: {
|
|
496
520
|
[k: string]: unknown
|
|
497
521
|
}
|
|
522
|
+
/**
|
|
523
|
+
* Internal properties
|
|
524
|
+
*/
|
|
525
|
+
readonly _kubesense?: RumTrace & {
|
|
526
|
+
/**
|
|
527
|
+
* Profiling context
|
|
528
|
+
*/
|
|
529
|
+
profiling?: ProfilingInternalContextSchema
|
|
530
|
+
/**
|
|
531
|
+
* Mapping of source file URLs to their debug IDs for source map deobfuscation
|
|
532
|
+
*/
|
|
533
|
+
debug_ids?: {
|
|
534
|
+
/**
|
|
535
|
+
* URL of the source file
|
|
536
|
+
*/
|
|
537
|
+
url: string
|
|
538
|
+
/**
|
|
539
|
+
* Debug ID (UUID) for the source file
|
|
540
|
+
*/
|
|
541
|
+
id: string
|
|
542
|
+
[k: string]: unknown
|
|
543
|
+
}[]
|
|
544
|
+
[k: string]: unknown
|
|
545
|
+
}
|
|
498
546
|
[k: string]: unknown
|
|
499
547
|
}
|
|
500
548
|
/**
|
|
@@ -507,7 +555,7 @@ export type RumLongTaskEvent = CommonProperties &
|
|
|
507
555
|
* RUM event type
|
|
508
556
|
*/
|
|
509
557
|
readonly type: 'long_task'
|
|
510
|
-
view: {
|
|
558
|
+
readonly view: {
|
|
511
559
|
[k: string]: unknown
|
|
512
560
|
}
|
|
513
561
|
/**
|
|
@@ -594,12 +642,7 @@ export type RumLongTaskEvent = CommonProperties &
|
|
|
594
642
|
* Type of the invoker of the script
|
|
595
643
|
*/
|
|
596
644
|
readonly invoker_type?:
|
|
597
|
-
|
|
598
|
-
| 'event-listener'
|
|
599
|
-
| 'resolve-promise'
|
|
600
|
-
| 'reject-promise'
|
|
601
|
-
| 'classic-script'
|
|
602
|
-
| 'module-script'
|
|
645
|
+
'user-callback' | 'event-listener' | 'resolve-promise' | 'reject-promise' | 'classic-script' | 'module-script'
|
|
603
646
|
/**
|
|
604
647
|
* The container (the top-level document, or an <iframe>) the long animation frame occurred in
|
|
605
648
|
*/
|
|
@@ -620,6 +663,20 @@ export type RumLongTaskEvent = CommonProperties &
|
|
|
620
663
|
* Profiling context
|
|
621
664
|
*/
|
|
622
665
|
profiling?: ProfilingInternalContextSchema
|
|
666
|
+
/**
|
|
667
|
+
* Mapping of source file URLs to their debug IDs for source map deobfuscation
|
|
668
|
+
*/
|
|
669
|
+
debug_ids?: {
|
|
670
|
+
/**
|
|
671
|
+
* URL of the source file
|
|
672
|
+
*/
|
|
673
|
+
url: string
|
|
674
|
+
/**
|
|
675
|
+
* Debug ID (UUID) for the source file
|
|
676
|
+
*/
|
|
677
|
+
id: string
|
|
678
|
+
[k: string]: unknown
|
|
679
|
+
}[]
|
|
623
680
|
[k: string]: unknown
|
|
624
681
|
}
|
|
625
682
|
[k: string]: unknown
|
|
@@ -634,7 +691,7 @@ export type RumResourceEvent = CommonProperties &
|
|
|
634
691
|
* RUM event type
|
|
635
692
|
*/
|
|
636
693
|
readonly type: 'resource'
|
|
637
|
-
view: {
|
|
694
|
+
readonly view: {
|
|
638
695
|
[k: string]: unknown
|
|
639
696
|
}
|
|
640
697
|
/**
|
|
@@ -649,17 +706,7 @@ export type RumResourceEvent = CommonProperties &
|
|
|
649
706
|
* Resource type
|
|
650
707
|
*/
|
|
651
708
|
readonly type:
|
|
652
|
-
| '
|
|
653
|
-
| 'xhr'
|
|
654
|
-
| 'beacon'
|
|
655
|
-
| 'fetch'
|
|
656
|
-
| 'css'
|
|
657
|
-
| 'js'
|
|
658
|
-
| 'image'
|
|
659
|
-
| 'font'
|
|
660
|
-
| 'media'
|
|
661
|
-
| 'other'
|
|
662
|
-
| 'native'
|
|
709
|
+
'document' | 'xhr' | 'beacon' | 'fetch' | 'css' | 'js' | 'image' | 'font' | 'media' | 'other' | 'native'
|
|
663
710
|
/**
|
|
664
711
|
* HTTP method of the resource
|
|
665
712
|
*/
|
|
@@ -681,15 +728,15 @@ export type RumResourceEvent = CommonProperties &
|
|
|
681
728
|
*/
|
|
682
729
|
readonly size?: number
|
|
683
730
|
/**
|
|
684
|
-
* Size in octet of the
|
|
731
|
+
* Size in octet of the response body before removing any applied content encodings
|
|
685
732
|
*/
|
|
686
733
|
readonly encoded_body_size?: number
|
|
687
734
|
/**
|
|
688
|
-
* Size in octet of the
|
|
735
|
+
* Size in octet of the response body after removing any applied encoding
|
|
689
736
|
*/
|
|
690
737
|
readonly decoded_body_size?: number
|
|
691
738
|
/**
|
|
692
|
-
* Size in octet of the fetched resource
|
|
739
|
+
* Size in octet of the fetched response resource
|
|
693
740
|
*/
|
|
694
741
|
readonly transfer_size?: number
|
|
695
742
|
/**
|
|
@@ -802,6 +849,10 @@ export type RumResourceEvent = CommonProperties &
|
|
|
802
849
|
* Delivery type of the resource
|
|
803
850
|
*/
|
|
804
851
|
readonly delivery_type?: 'cache' | 'navigational-prefetch' | 'other'
|
|
852
|
+
/**
|
|
853
|
+
* Whether the resource was served from the device's local cache
|
|
854
|
+
*/
|
|
855
|
+
readonly local_cache_hit?: boolean
|
|
805
856
|
/**
|
|
806
857
|
* The provider for this resource
|
|
807
858
|
*/
|
|
@@ -835,85 +886,44 @@ export type RumResourceEvent = CommonProperties &
|
|
|
835
886
|
[k: string]: unknown
|
|
836
887
|
}
|
|
837
888
|
/**
|
|
838
|
-
*
|
|
889
|
+
* Request properties
|
|
839
890
|
*/
|
|
840
|
-
readonly
|
|
841
|
-
/**
|
|
842
|
-
* Type of the GraphQL operation
|
|
843
|
-
*/
|
|
844
|
-
readonly operationType: 'query' | 'mutation' | 'subscription'
|
|
845
|
-
/**
|
|
846
|
-
* Name of the GraphQL operation
|
|
847
|
-
*/
|
|
848
|
-
readonly operationName?: string
|
|
891
|
+
readonly request?: {
|
|
849
892
|
/**
|
|
850
|
-
*
|
|
893
|
+
* Size in octet of the request body sent over the network (after encoding)
|
|
851
894
|
*/
|
|
852
|
-
|
|
895
|
+
readonly encoded_body_size?: number
|
|
853
896
|
/**
|
|
854
|
-
*
|
|
897
|
+
* Size in octet of the request body before any encoding
|
|
855
898
|
*/
|
|
856
|
-
|
|
899
|
+
readonly decoded_body_size?: number
|
|
857
900
|
/**
|
|
858
|
-
*
|
|
901
|
+
* HTTP headers of the resource request
|
|
859
902
|
*/
|
|
860
|
-
|
|
903
|
+
headers?: {
|
|
904
|
+
[k: string]: string
|
|
905
|
+
}
|
|
906
|
+
[k: string]: unknown
|
|
907
|
+
}
|
|
908
|
+
/**
|
|
909
|
+
* Response properties
|
|
910
|
+
*/
|
|
911
|
+
readonly response?: {
|
|
861
912
|
/**
|
|
862
|
-
*
|
|
913
|
+
* HTTP headers of the resource response
|
|
863
914
|
*/
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
*/
|
|
868
|
-
readonly message: string
|
|
869
|
-
/**
|
|
870
|
-
* Error code (used by some providers)
|
|
871
|
-
*/
|
|
872
|
-
readonly code?: string
|
|
873
|
-
/**
|
|
874
|
-
* Array of error locations in the GraphQL query
|
|
875
|
-
*/
|
|
876
|
-
readonly locations?: {
|
|
877
|
-
/**
|
|
878
|
-
* Line number where the error occurred
|
|
879
|
-
*/
|
|
880
|
-
readonly line: number
|
|
881
|
-
/**
|
|
882
|
-
* Column number where the error occurred
|
|
883
|
-
*/
|
|
884
|
-
readonly column: number
|
|
885
|
-
[k: string]: unknown
|
|
886
|
-
}[]
|
|
887
|
-
/**
|
|
888
|
-
* Path to the field that caused the error
|
|
889
|
-
*/
|
|
890
|
-
readonly path?: (string | number)[]
|
|
891
|
-
[k: string]: unknown
|
|
892
|
-
}[]
|
|
915
|
+
headers?: {
|
|
916
|
+
[k: string]: string
|
|
917
|
+
}
|
|
893
918
|
[k: string]: unknown
|
|
894
919
|
}
|
|
920
|
+
readonly graphql?: RumGraphql
|
|
895
921
|
[k: string]: unknown
|
|
896
922
|
}
|
|
897
923
|
/**
|
|
898
924
|
* Internal properties
|
|
899
925
|
*/
|
|
900
|
-
readonly _kubesense?: {
|
|
901
|
-
/**
|
|
902
|
-
* span identifier in decimal format
|
|
903
|
-
*/
|
|
904
|
-
readonly span_id?: string
|
|
905
|
-
/**
|
|
906
|
-
* parent span identifier in decimal format
|
|
907
|
-
*/
|
|
908
|
-
readonly parent_span_id?: string
|
|
909
|
-
/**
|
|
910
|
-
* trace identifier, either a 64 bit decimal number or a 128 bit hexadecimal number padded with 0s
|
|
911
|
-
*/
|
|
912
|
-
readonly trace_id?: string
|
|
913
|
-
/**
|
|
914
|
-
* trace sample rate in decimal format
|
|
915
|
-
*/
|
|
916
|
-
readonly rule_psr?: number
|
|
926
|
+
readonly _kubesense?: RumTrace & {
|
|
917
927
|
/**
|
|
918
928
|
* Whether the resource should be discarded or indexed
|
|
919
929
|
*/
|
|
@@ -927,421 +937,61 @@ export type RumResourceEvent = CommonProperties &
|
|
|
927
937
|
*/
|
|
928
938
|
export type RumViewEvent = CommonProperties &
|
|
929
939
|
ViewContainerSchema &
|
|
930
|
-
StreamSchema &
|
|
940
|
+
StreamSchema &
|
|
941
|
+
ViewProperties & {
|
|
931
942
|
/**
|
|
932
943
|
* RUM event type
|
|
933
944
|
*/
|
|
934
945
|
readonly type: 'view'
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
readonly view: {
|
|
939
|
-
/**
|
|
940
|
-
* Duration in ns to the view is considered loaded
|
|
941
|
-
*/
|
|
942
|
-
readonly loading_time?: number
|
|
943
|
-
/**
|
|
944
|
-
* Duration in ns from the moment the view was started until all the initial network requests settled
|
|
945
|
-
*/
|
|
946
|
-
readonly network_settled_time?: number
|
|
947
|
-
/**
|
|
948
|
-
* Duration in ns to from the last interaction on previous view to the moment the current view was displayed
|
|
949
|
-
*/
|
|
950
|
-
readonly interaction_to_next_view_time?: number
|
|
951
|
-
/**
|
|
952
|
-
* Type of the loading of the view
|
|
953
|
-
*/
|
|
954
|
-
readonly loading_type?:
|
|
955
|
-
| 'initial_load'
|
|
956
|
-
| 'route_change'
|
|
957
|
-
| 'activity_display'
|
|
958
|
-
| 'activity_redisplay'
|
|
959
|
-
| 'fragment_display'
|
|
960
|
-
| 'fragment_redisplay'
|
|
961
|
-
| 'view_controller_display'
|
|
962
|
-
| 'view_controller_redisplay'
|
|
963
|
-
/**
|
|
964
|
-
* Time spent on the view in ns
|
|
965
|
-
*/
|
|
966
|
-
readonly time_spent: number
|
|
967
|
-
/**
|
|
968
|
-
* Duration in ns to the first rendering (deprecated in favor of `view.performance.fcp.timestamp`)
|
|
969
|
-
*/
|
|
970
|
-
readonly first_contentful_paint?: number
|
|
971
|
-
/**
|
|
972
|
-
* Duration in ns to the largest contentful paint (deprecated in favor of `view.performance.lcp.timestamp`)
|
|
973
|
-
*/
|
|
974
|
-
readonly largest_contentful_paint?: number
|
|
975
|
-
/**
|
|
976
|
-
* CSS selector path of the largest contentful paint element (deprecated in favor of `view.performance.lcp.target_selector`)
|
|
977
|
-
*/
|
|
978
|
-
readonly largest_contentful_paint_target_selector?: string
|
|
979
|
-
/**
|
|
980
|
-
* Duration in ns of the first input event delay (deprecated in favor of `view.performance.fid.duration`)
|
|
981
|
-
*/
|
|
982
|
-
readonly first_input_delay?: number
|
|
983
|
-
/**
|
|
984
|
-
* Duration in ns to the first input (deprecated in favor of `view.performance.fid.timestamp`)
|
|
985
|
-
*/
|
|
986
|
-
readonly first_input_time?: number
|
|
987
|
-
/**
|
|
988
|
-
* CSS selector path of the first input target element (deprecated in favor of `view.performance.fid.target_selector`)
|
|
989
|
-
*/
|
|
990
|
-
readonly first_input_target_selector?: string
|
|
991
|
-
/**
|
|
992
|
-
* Longest duration in ns between an interaction and the next paint (deprecated in favor of `view.performance.inp.duration`)
|
|
993
|
-
*/
|
|
994
|
-
readonly interaction_to_next_paint?: number
|
|
995
|
-
/**
|
|
996
|
-
* Duration in ns between start of the view and start of the INP (deprecated in favor of `view.performance.inp.timestamp`)
|
|
997
|
-
*/
|
|
998
|
-
readonly interaction_to_next_paint_time?: number
|
|
999
|
-
/**
|
|
1000
|
-
* CSS selector path of the interacted element corresponding to INP (deprecated in favor of `view.performance.inp.target_selector`)
|
|
1001
|
-
*/
|
|
1002
|
-
readonly interaction_to_next_paint_target_selector?: string
|
|
1003
|
-
/**
|
|
1004
|
-
* Total layout shift score that occurred on the view (deprecated in favor of `view.performance.cls.score`)
|
|
1005
|
-
*/
|
|
1006
|
-
readonly cumulative_layout_shift?: number
|
|
1007
|
-
/**
|
|
1008
|
-
* Duration in ns between start of the view and start of the largest layout shift contributing to CLS (deprecated in favor of `view.performance.cls.timestamp`)
|
|
1009
|
-
*/
|
|
1010
|
-
readonly cumulative_layout_shift_time?: number
|
|
1011
|
-
/**
|
|
1012
|
-
* CSS selector path of the first element (in document order) of the largest layout shift contributing to CLS (deprecated in favor of `view.performance.cls.target_selector`)
|
|
1013
|
-
*/
|
|
1014
|
-
readonly cumulative_layout_shift_target_selector?: string
|
|
1015
|
-
/**
|
|
1016
|
-
* Duration in ns to the complete parsing and loading of the document and its sub resources
|
|
1017
|
-
*/
|
|
1018
|
-
readonly dom_complete?: number
|
|
1019
|
-
/**
|
|
1020
|
-
* Duration in ns to the complete parsing and loading of the document without its sub resources
|
|
1021
|
-
*/
|
|
1022
|
-
readonly dom_content_loaded?: number
|
|
1023
|
-
/**
|
|
1024
|
-
* Duration in ns to the end of the parsing of the document
|
|
1025
|
-
*/
|
|
1026
|
-
readonly dom_interactive?: number
|
|
1027
|
-
/**
|
|
1028
|
-
* Duration in ns to the end of the load event handler execution
|
|
1029
|
-
*/
|
|
1030
|
-
readonly load_event?: number
|
|
1031
|
-
/**
|
|
1032
|
-
* Duration in ns to the response start of the document request
|
|
1033
|
-
*/
|
|
1034
|
-
readonly first_byte?: number
|
|
1035
|
-
/**
|
|
1036
|
-
* User custom timings of the view. As timing name is used as facet path, it must contain only letters, digits, or the characters - _ . @ $
|
|
1037
|
-
*/
|
|
1038
|
-
readonly custom_timings?: {
|
|
1039
|
-
[k: string]: number
|
|
1040
|
-
}
|
|
1041
|
-
/**
|
|
1042
|
-
* Whether the View corresponding to this event is considered active
|
|
1043
|
-
*/
|
|
1044
|
-
readonly is_active?: boolean
|
|
1045
|
-
/**
|
|
1046
|
-
* Whether the View had a low average refresh rate
|
|
1047
|
-
*/
|
|
1048
|
-
readonly is_slow_rendered?: boolean
|
|
1049
|
-
/**
|
|
1050
|
-
* Properties of the actions of the view
|
|
1051
|
-
*/
|
|
1052
|
-
readonly action: {
|
|
1053
|
-
/**
|
|
1054
|
-
* Number of actions that occurred on the view
|
|
1055
|
-
*/
|
|
1056
|
-
readonly count: number
|
|
1057
|
-
[k: string]: unknown
|
|
1058
|
-
}
|
|
1059
|
-
/**
|
|
1060
|
-
* Properties of the errors of the view
|
|
1061
|
-
*/
|
|
1062
|
-
readonly error: {
|
|
1063
|
-
/**
|
|
1064
|
-
* Number of errors that occurred on the view
|
|
1065
|
-
*/
|
|
1066
|
-
readonly count: number
|
|
1067
|
-
[k: string]: unknown
|
|
1068
|
-
}
|
|
1069
|
-
/**
|
|
1070
|
-
* Properties of the crashes of the view
|
|
1071
|
-
*/
|
|
1072
|
-
readonly crash?: {
|
|
1073
|
-
/**
|
|
1074
|
-
* Number of crashes that occurred on the view
|
|
1075
|
-
*/
|
|
1076
|
-
readonly count: number
|
|
1077
|
-
[k: string]: unknown
|
|
1078
|
-
}
|
|
1079
|
-
/**
|
|
1080
|
-
* Properties of the long tasks of the view
|
|
1081
|
-
*/
|
|
1082
|
-
readonly long_task?: {
|
|
1083
|
-
/**
|
|
1084
|
-
* Number of long tasks that occurred on the view
|
|
1085
|
-
*/
|
|
1086
|
-
readonly count: number
|
|
1087
|
-
[k: string]: unknown
|
|
1088
|
-
}
|
|
1089
|
-
/**
|
|
1090
|
-
* Properties of the frozen frames of the view
|
|
1091
|
-
*/
|
|
1092
|
-
readonly frozen_frame?: {
|
|
1093
|
-
/**
|
|
1094
|
-
* Number of frozen frames that occurred on the view
|
|
1095
|
-
*/
|
|
1096
|
-
readonly count: number
|
|
946
|
+
view: {
|
|
947
|
+
time_spent: number
|
|
948
|
+
action: {
|
|
1097
949
|
[k: string]: unknown
|
|
1098
950
|
}
|
|
1099
|
-
|
|
1100
|
-
* List of slow frames during the view’s lifetime
|
|
1101
|
-
*/
|
|
1102
|
-
readonly slow_frames?: {
|
|
1103
|
-
/**
|
|
1104
|
-
* Duration in ns between start of the view and the start of the slow frame
|
|
1105
|
-
*/
|
|
1106
|
-
readonly start: number
|
|
1107
|
-
/**
|
|
1108
|
-
* Duration in ns of the slow frame
|
|
1109
|
-
*/
|
|
1110
|
-
readonly duration: number
|
|
1111
|
-
[k: string]: unknown
|
|
1112
|
-
}[]
|
|
1113
|
-
/**
|
|
1114
|
-
* Properties of the resources of the view
|
|
1115
|
-
*/
|
|
1116
|
-
readonly resource: {
|
|
1117
|
-
/**
|
|
1118
|
-
* Number of resources that occurred on the view
|
|
1119
|
-
*/
|
|
1120
|
-
readonly count: number
|
|
951
|
+
error: {
|
|
1121
952
|
[k: string]: unknown
|
|
1122
953
|
}
|
|
1123
|
-
|
|
1124
|
-
* Properties of the frustrations of the view
|
|
1125
|
-
*/
|
|
1126
|
-
readonly frustration?: {
|
|
1127
|
-
/**
|
|
1128
|
-
* Number of frustrations that occurred on the view
|
|
1129
|
-
*/
|
|
1130
|
-
readonly count: number
|
|
954
|
+
resource: {
|
|
1131
955
|
[k: string]: unknown
|
|
1132
956
|
}
|
|
1133
|
-
/**
|
|
1134
|
-
* List of the periods of time the user had the view in foreground (focused in the browser)
|
|
1135
|
-
*/
|
|
1136
|
-
readonly in_foreground_periods?: {
|
|
1137
|
-
/**
|
|
1138
|
-
* Duration in ns between start of the view and start of foreground period
|
|
1139
|
-
*/
|
|
1140
|
-
readonly start: number
|
|
1141
|
-
/**
|
|
1142
|
-
* Duration in ns of the view foreground period
|
|
1143
|
-
*/
|
|
1144
|
-
readonly duration: number
|
|
1145
|
-
[k: string]: unknown
|
|
1146
|
-
}[]
|
|
1147
|
-
/**
|
|
1148
|
-
* Average memory used during the view lifetime (in bytes)
|
|
1149
|
-
*/
|
|
1150
|
-
readonly memory_average?: number
|
|
1151
|
-
/**
|
|
1152
|
-
* Peak memory used during the view lifetime (in bytes)
|
|
1153
|
-
*/
|
|
1154
|
-
readonly memory_max?: number
|
|
1155
|
-
/**
|
|
1156
|
-
* Total number of cpu ticks during the view’s lifetime
|
|
1157
|
-
*/
|
|
1158
|
-
readonly cpu_ticks_count?: number
|
|
1159
|
-
/**
|
|
1160
|
-
* Average number of cpu ticks per second during the view’s lifetime
|
|
1161
|
-
*/
|
|
1162
|
-
readonly cpu_ticks_per_second?: number
|
|
1163
|
-
/**
|
|
1164
|
-
* Average refresh rate during the view’s lifetime (in frames per second)
|
|
1165
|
-
*/
|
|
1166
|
-
readonly refresh_rate_average?: number
|
|
1167
|
-
/**
|
|
1168
|
-
* Minimum refresh rate during the view’s lifetime (in frames per second)
|
|
1169
|
-
*/
|
|
1170
|
-
readonly refresh_rate_min?: number
|
|
1171
|
-
/**
|
|
1172
|
-
* Rate of slow frames during the view’s lifetime (in milliseconds per second)
|
|
1173
|
-
*/
|
|
1174
|
-
readonly slow_frames_rate?: number
|
|
1175
|
-
/**
|
|
1176
|
-
* Rate of freezes during the view’s lifetime (in seconds per hour)
|
|
1177
|
-
*/
|
|
1178
|
-
readonly freeze_rate?: number
|
|
1179
|
-
/**
|
|
1180
|
-
* Time taken for Flutter 'build' methods.
|
|
1181
|
-
*/
|
|
1182
|
-
flutter_build_time?: RumPerfMetric
|
|
1183
|
-
/**
|
|
1184
|
-
* Time taken for Flutter to rasterize the view.
|
|
1185
|
-
*/
|
|
1186
|
-
flutter_raster_time?: RumPerfMetric
|
|
1187
|
-
/**
|
|
1188
|
-
* The JavaScript refresh rate for React Native
|
|
1189
|
-
*/
|
|
1190
|
-
js_refresh_rate?: RumPerfMetric
|
|
1191
|
-
/**
|
|
1192
|
-
* Performance data. (Web Vitals, etc.)
|
|
1193
|
-
*/
|
|
1194
|
-
performance?: ViewPerformanceData
|
|
1195
|
-
/**
|
|
1196
|
-
* Accessibility properties of the view
|
|
1197
|
-
*/
|
|
1198
|
-
accessibility?: ViewAccessibilityProperties
|
|
1199
957
|
[k: string]: unknown
|
|
1200
958
|
}
|
|
1201
|
-
|
|
1202
|
-
* Session properties
|
|
1203
|
-
*/
|
|
1204
|
-
readonly session?: {
|
|
1205
|
-
/**
|
|
1206
|
-
* Whether this session is currently active. Set to false to manually stop a session
|
|
1207
|
-
*/
|
|
1208
|
-
readonly is_active?: boolean
|
|
1209
|
-
/**
|
|
1210
|
-
* Whether this session has been sampled for replay
|
|
1211
|
-
*/
|
|
1212
|
-
readonly sampled_for_replay?: boolean
|
|
959
|
+
readonly _kubesense: {
|
|
1213
960
|
[k: string]: unknown
|
|
1214
961
|
}
|
|
962
|
+
[k: string]: unknown
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Schema of all properties of a View Update event
|
|
966
|
+
*/
|
|
967
|
+
export type RumViewUpdateEvent = ViewContainerSchema &
|
|
968
|
+
StreamSchema &
|
|
969
|
+
ViewProperties &
|
|
970
|
+
CommonProperties & {
|
|
1215
971
|
/**
|
|
1216
|
-
*
|
|
972
|
+
* RUM event type
|
|
1217
973
|
*/
|
|
1218
|
-
readonly
|
|
974
|
+
readonly type: 'view_update'
|
|
975
|
+
readonly view: {
|
|
1219
976
|
[k: string]: unknown
|
|
1220
977
|
}
|
|
978
|
+
[k: string]: unknown
|
|
979
|
+
}
|
|
980
|
+
export type RumVitalEvent = RumVitalDurationEvent | RumVitalOperationStepEvent
|
|
981
|
+
/**
|
|
982
|
+
* Schema for a duration vital event.
|
|
983
|
+
*/
|
|
984
|
+
export type RumVitalDurationEvent = RumVitalEventCommonProperties & {
|
|
985
|
+
/**
|
|
986
|
+
* Vital properties
|
|
987
|
+
*/
|
|
988
|
+
readonly vital?: {
|
|
1221
989
|
/**
|
|
1222
|
-
*
|
|
990
|
+
* Type of the vital.
|
|
1223
991
|
*/
|
|
1224
|
-
readonly
|
|
1225
|
-
/**
|
|
1226
|
-
* The replay privacy level
|
|
1227
|
-
*/
|
|
1228
|
-
readonly replay_level: 'allow' | 'mask' | 'mask-user-input'
|
|
1229
|
-
[k: string]: unknown
|
|
1230
|
-
}
|
|
992
|
+
readonly type: 'duration'
|
|
1231
993
|
/**
|
|
1232
|
-
*
|
|
1233
|
-
*/
|
|
1234
|
-
readonly _kubesense: {
|
|
1235
|
-
/**
|
|
1236
|
-
* Version of the update of the view event
|
|
1237
|
-
*/
|
|
1238
|
-
readonly document_version: number
|
|
1239
|
-
/**
|
|
1240
|
-
* List of the page states during the view
|
|
1241
|
-
*/
|
|
1242
|
-
readonly page_states?: {
|
|
1243
|
-
/**
|
|
1244
|
-
* Page state name
|
|
1245
|
-
*/
|
|
1246
|
-
readonly state: 'active' | 'passive' | 'hidden' | 'frozen' | 'terminated'
|
|
1247
|
-
/**
|
|
1248
|
-
* Duration in ns between start of the view and start of the page state
|
|
1249
|
-
*/
|
|
1250
|
-
readonly start: number
|
|
1251
|
-
[k: string]: unknown
|
|
1252
|
-
}[]
|
|
1253
|
-
/**
|
|
1254
|
-
* Debug metadata for Replay Sessions
|
|
1255
|
-
*/
|
|
1256
|
-
replay_stats?: {
|
|
1257
|
-
/**
|
|
1258
|
-
* The number of records produced during this view lifetime
|
|
1259
|
-
*/
|
|
1260
|
-
records_count?: number
|
|
1261
|
-
/**
|
|
1262
|
-
* The number of segments sent during this view lifetime
|
|
1263
|
-
*/
|
|
1264
|
-
segments_count?: number
|
|
1265
|
-
/**
|
|
1266
|
-
* The total size in bytes of the segments sent during this view lifetime
|
|
1267
|
-
*/
|
|
1268
|
-
segments_total_raw_size?: number
|
|
1269
|
-
[k: string]: unknown
|
|
1270
|
-
}
|
|
1271
|
-
/**
|
|
1272
|
-
* Additional information of the reported Cumulative Layout Shift
|
|
1273
|
-
*/
|
|
1274
|
-
readonly cls?: {
|
|
1275
|
-
/**
|
|
1276
|
-
* Pixel ratio of the device where the layout shift was reported
|
|
1277
|
-
*/
|
|
1278
|
-
readonly device_pixel_ratio?: number
|
|
1279
|
-
[k: string]: unknown
|
|
1280
|
-
}
|
|
1281
|
-
/**
|
|
1282
|
-
* Subset of the SDK configuration options in use during its execution
|
|
1283
|
-
*/
|
|
1284
|
-
readonly configuration?: {
|
|
1285
|
-
/**
|
|
1286
|
-
* Whether session replay recording configured to start manually
|
|
1287
|
-
*/
|
|
1288
|
-
readonly start_session_replay_recording_manually?: boolean
|
|
1289
|
-
[k: string]: unknown
|
|
1290
|
-
}
|
|
1291
|
-
/**
|
|
1292
|
-
* Profiling context
|
|
1293
|
-
*/
|
|
1294
|
-
profiling?: ProfilingInternalContextSchema
|
|
1295
|
-
[k: string]: unknown
|
|
1296
|
-
}
|
|
1297
|
-
/**
|
|
1298
|
-
* Display properties
|
|
1299
|
-
*/
|
|
1300
|
-
readonly display?: {
|
|
1301
|
-
/**
|
|
1302
|
-
* Scroll properties
|
|
1303
|
-
*/
|
|
1304
|
-
readonly scroll?: {
|
|
1305
|
-
/**
|
|
1306
|
-
* Distance between the top and the lowest point reached on this view (in pixels)
|
|
1307
|
-
*/
|
|
1308
|
-
readonly max_depth: number
|
|
1309
|
-
/**
|
|
1310
|
-
* Page scroll top (scrolled distance) when the maximum scroll depth was reached for this view (in pixels)
|
|
1311
|
-
*/
|
|
1312
|
-
readonly max_depth_scroll_top: number
|
|
1313
|
-
/**
|
|
1314
|
-
* Maximum page scroll height (total height) for this view (in pixels)
|
|
1315
|
-
*/
|
|
1316
|
-
readonly max_scroll_height: number
|
|
1317
|
-
/**
|
|
1318
|
-
* Duration between the view start and the time the max scroll height was reached for this view (in nanoseconds)
|
|
1319
|
-
*/
|
|
1320
|
-
readonly max_scroll_height_time: number
|
|
1321
|
-
[k: string]: unknown
|
|
1322
|
-
}
|
|
1323
|
-
[k: string]: unknown
|
|
1324
|
-
}
|
|
1325
|
-
[k: string]: unknown
|
|
1326
|
-
}
|
|
1327
|
-
export type RumVitalEvent = RumVitalDurationEvent | RumVitalOperationStepEvent
|
|
1328
|
-
/**
|
|
1329
|
-
* Schema for a duration vital event.
|
|
1330
|
-
*/
|
|
1331
|
-
export type RumVitalDurationEvent = RumVitalEventCommonProperties & {
|
|
1332
|
-
view: {
|
|
1333
|
-
[k: string]: unknown
|
|
1334
|
-
}
|
|
1335
|
-
/**
|
|
1336
|
-
* Vital properties
|
|
1337
|
-
*/
|
|
1338
|
-
readonly vital: {
|
|
1339
|
-
/**
|
|
1340
|
-
* Type of the vital.
|
|
1341
|
-
*/
|
|
1342
|
-
readonly type: 'duration'
|
|
1343
|
-
/**
|
|
1344
|
-
* Duration of the vital in nanoseconds.
|
|
994
|
+
* Duration of the vital in nanoseconds.
|
|
1345
995
|
*/
|
|
1346
996
|
readonly duration: number
|
|
1347
997
|
[k: string]: unknown
|
|
@@ -1357,6 +1007,9 @@ export type RumVitalEventCommonProperties = CommonProperties &
|
|
|
1357
1007
|
* RUM event type
|
|
1358
1008
|
*/
|
|
1359
1009
|
readonly type: 'vital'
|
|
1010
|
+
readonly view: {
|
|
1011
|
+
[k: string]: unknown
|
|
1012
|
+
}
|
|
1360
1013
|
/**
|
|
1361
1014
|
* Vital properties
|
|
1362
1015
|
*/
|
|
@@ -1375,19 +1028,26 @@ export type RumVitalEventCommonProperties = CommonProperties &
|
|
|
1375
1028
|
readonly description?: string
|
|
1376
1029
|
[k: string]: unknown
|
|
1377
1030
|
}
|
|
1031
|
+
/**
|
|
1032
|
+
* Internal properties
|
|
1033
|
+
*/
|
|
1034
|
+
readonly _kubesense?: {
|
|
1035
|
+
/**
|
|
1036
|
+
* Profiling context
|
|
1037
|
+
*/
|
|
1038
|
+
profiling?: ProfilingInternalContextSchema
|
|
1039
|
+
[k: string]: unknown
|
|
1040
|
+
}
|
|
1378
1041
|
[k: string]: unknown
|
|
1379
1042
|
}
|
|
1380
1043
|
/**
|
|
1381
1044
|
* Schema for a vital operation step event.
|
|
1382
1045
|
*/
|
|
1383
1046
|
export type RumVitalOperationStepEvent = RumVitalEventCommonProperties & {
|
|
1384
|
-
view: {
|
|
1385
|
-
[k: string]: unknown
|
|
1386
|
-
}
|
|
1387
1047
|
/**
|
|
1388
1048
|
* Vital properties
|
|
1389
1049
|
*/
|
|
1390
|
-
readonly vital
|
|
1050
|
+
readonly vital?: {
|
|
1391
1051
|
/**
|
|
1392
1052
|
* Type of the vital.
|
|
1393
1053
|
*/
|
|
@@ -1481,6 +1141,9 @@ export interface CommonProperties {
|
|
|
1481
1141
|
| 'roku'
|
|
1482
1142
|
| 'unity'
|
|
1483
1143
|
| 'kotlin-multiplatform'
|
|
1144
|
+
| 'electron'
|
|
1145
|
+
| 'cpp'
|
|
1146
|
+
| 'maui'
|
|
1484
1147
|
/**
|
|
1485
1148
|
* View properties
|
|
1486
1149
|
*/
|
|
@@ -1543,6 +1206,16 @@ export interface CommonProperties {
|
|
|
1543
1206
|
readonly name?: string
|
|
1544
1207
|
[k: string]: unknown
|
|
1545
1208
|
}
|
|
1209
|
+
/**
|
|
1210
|
+
* Tab properties
|
|
1211
|
+
*/
|
|
1212
|
+
readonly tab?: {
|
|
1213
|
+
/**
|
|
1214
|
+
* UUID of the browser tab
|
|
1215
|
+
*/
|
|
1216
|
+
readonly id: string
|
|
1217
|
+
[k: string]: unknown
|
|
1218
|
+
}
|
|
1546
1219
|
/**
|
|
1547
1220
|
* Device connectivity properties
|
|
1548
1221
|
*/
|
|
@@ -1555,15 +1228,7 @@ export interface CommonProperties {
|
|
|
1555
1228
|
* The list of available network interfaces
|
|
1556
1229
|
*/
|
|
1557
1230
|
readonly interfaces?: (
|
|
1558
|
-
| '
|
|
1559
|
-
| 'cellular'
|
|
1560
|
-
| 'ethernet'
|
|
1561
|
-
| 'wifi'
|
|
1562
|
-
| 'wimax'
|
|
1563
|
-
| 'mixed'
|
|
1564
|
-
| 'other'
|
|
1565
|
-
| 'unknown'
|
|
1566
|
-
| 'none'
|
|
1231
|
+
'bluetooth' | 'cellular' | 'ethernet' | 'wifi' | 'wimax' | 'mixed' | 'other' | 'unknown' | 'none'
|
|
1567
1232
|
)[]
|
|
1568
1233
|
/**
|
|
1569
1234
|
* Cellular connection type reflecting the measured network performance
|
|
@@ -1711,6 +1376,18 @@ export interface CommonProperties {
|
|
|
1711
1376
|
* Current screen brightness level (0.0 to 1.0).
|
|
1712
1377
|
*/
|
|
1713
1378
|
readonly brightness_level?: number
|
|
1379
|
+
/**
|
|
1380
|
+
* Number of logical CPU cores available for scheduling on the device at runtime, as reported by the operating system.
|
|
1381
|
+
*/
|
|
1382
|
+
readonly logical_cpu_count?: number
|
|
1383
|
+
/**
|
|
1384
|
+
* Total RAM in megabytes
|
|
1385
|
+
*/
|
|
1386
|
+
readonly total_ram?: number
|
|
1387
|
+
/**
|
|
1388
|
+
* Whether the device is considered a low RAM device (Android)
|
|
1389
|
+
*/
|
|
1390
|
+
readonly is_low_ram?: boolean
|
|
1714
1391
|
[k: string]: unknown
|
|
1715
1392
|
}
|
|
1716
1393
|
/**
|
|
@@ -1762,6 +1439,10 @@ export interface CommonProperties {
|
|
|
1762
1439
|
* The percentage of sessions with traced resources
|
|
1763
1440
|
*/
|
|
1764
1441
|
readonly trace_sample_rate?: number
|
|
1442
|
+
/**
|
|
1443
|
+
* Session Replay experimental features enabled in the SDK configuration
|
|
1444
|
+
*/
|
|
1445
|
+
readonly session_replay_experimental_features?: string[]
|
|
1765
1446
|
[k: string]: unknown
|
|
1766
1447
|
}
|
|
1767
1448
|
/**
|
|
@@ -1822,6 +1503,9 @@ export interface ViewContainerSchema {
|
|
|
1822
1503
|
| 'roku'
|
|
1823
1504
|
| 'unity'
|
|
1824
1505
|
| 'kotlin-multiplatform'
|
|
1506
|
+
| 'electron'
|
|
1507
|
+
| 'cpp'
|
|
1508
|
+
| 'maui'
|
|
1825
1509
|
[k: string]: unknown
|
|
1826
1510
|
}
|
|
1827
1511
|
[k: string]: unknown
|
|
@@ -1842,6 +1526,86 @@ export interface ActionChildProperties {
|
|
|
1842
1526
|
}
|
|
1843
1527
|
[k: string]: unknown
|
|
1844
1528
|
}
|
|
1529
|
+
/**
|
|
1530
|
+
* GraphQL request parameters
|
|
1531
|
+
*/
|
|
1532
|
+
export interface RumGraphql {
|
|
1533
|
+
/**
|
|
1534
|
+
* Type of the GraphQL operation
|
|
1535
|
+
*/
|
|
1536
|
+
readonly operationType?: 'query' | 'mutation' | 'subscription'
|
|
1537
|
+
/**
|
|
1538
|
+
* Name of the GraphQL operation
|
|
1539
|
+
*/
|
|
1540
|
+
readonly operationName?: string
|
|
1541
|
+
/**
|
|
1542
|
+
* Content of the GraphQL operation
|
|
1543
|
+
*/
|
|
1544
|
+
payload?: string
|
|
1545
|
+
/**
|
|
1546
|
+
* String representation of the operation variables
|
|
1547
|
+
*/
|
|
1548
|
+
variables?: string
|
|
1549
|
+
/**
|
|
1550
|
+
* Number of GraphQL errors in the response
|
|
1551
|
+
*/
|
|
1552
|
+
readonly error_count?: number
|
|
1553
|
+
/**
|
|
1554
|
+
* Array of GraphQL errors from the response
|
|
1555
|
+
*/
|
|
1556
|
+
readonly errors?: {
|
|
1557
|
+
/**
|
|
1558
|
+
* Error message
|
|
1559
|
+
*/
|
|
1560
|
+
readonly message: string
|
|
1561
|
+
/**
|
|
1562
|
+
* Error code (used by some providers)
|
|
1563
|
+
*/
|
|
1564
|
+
readonly code?: string
|
|
1565
|
+
/**
|
|
1566
|
+
* Array of error locations in the GraphQL query
|
|
1567
|
+
*/
|
|
1568
|
+
readonly locations?: {
|
|
1569
|
+
/**
|
|
1570
|
+
* Line number where the error occurred
|
|
1571
|
+
*/
|
|
1572
|
+
readonly line: number
|
|
1573
|
+
/**
|
|
1574
|
+
* Column number where the error occurred
|
|
1575
|
+
*/
|
|
1576
|
+
readonly column: number
|
|
1577
|
+
[k: string]: unknown
|
|
1578
|
+
}[]
|
|
1579
|
+
/**
|
|
1580
|
+
* Path to the field that caused the error
|
|
1581
|
+
*/
|
|
1582
|
+
readonly path?: (string | number)[]
|
|
1583
|
+
[k: string]: unknown
|
|
1584
|
+
}[]
|
|
1585
|
+
[k: string]: unknown
|
|
1586
|
+
}
|
|
1587
|
+
/**
|
|
1588
|
+
* Trace context properties
|
|
1589
|
+
*/
|
|
1590
|
+
export interface RumTrace {
|
|
1591
|
+
/**
|
|
1592
|
+
* span identifier in decimal format
|
|
1593
|
+
*/
|
|
1594
|
+
readonly span_id?: string
|
|
1595
|
+
/**
|
|
1596
|
+
* parent span identifier in decimal format
|
|
1597
|
+
*/
|
|
1598
|
+
readonly parent_span_id?: string
|
|
1599
|
+
/**
|
|
1600
|
+
* trace identifier, either a 64 bit decimal number or a 128 bit hexadecimal number padded with 0s
|
|
1601
|
+
*/
|
|
1602
|
+
readonly trace_id?: string
|
|
1603
|
+
/**
|
|
1604
|
+
* trace sample rate in decimal format
|
|
1605
|
+
*/
|
|
1606
|
+
readonly rule_psr?: number
|
|
1607
|
+
[k: string]: unknown
|
|
1608
|
+
}
|
|
1845
1609
|
/**
|
|
1846
1610
|
* RUM Profiler Internal Context schema
|
|
1847
1611
|
*/
|
|
@@ -1867,10 +1631,21 @@ export interface ProfilingInternalContextSchema {
|
|
|
1867
1631
|
* - `unexpected-exception`: An exception occurred when starting the Profiler.
|
|
1868
1632
|
*/
|
|
1869
1633
|
readonly error_reason?:
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1634
|
+
'not-supported-by-browser' | 'failed-to-lazy-load' | 'missing-document-policy-header' | 'unexpected-exception'
|
|
1635
|
+
/**
|
|
1636
|
+
* The reason provided by the profiling quota admission API. This attribute is only present if the status is `stopped` due to quota.
|
|
1637
|
+
*
|
|
1638
|
+
* Possible values:
|
|
1639
|
+
* - `quota_ok`: Quota check passed.
|
|
1640
|
+
* - `quota_exceeded`: The organization has exceeded its profiling quota.
|
|
1641
|
+
* - `org_disabled`: The organization has profiling disabled.
|
|
1642
|
+
* - `backend_unavailable`: The quota admission API is unavailable or not initialized.
|
|
1643
|
+
* - `undefined`: The quota reason is undefined.
|
|
1644
|
+
* - `timeout`: The quota check timed out on the client side.
|
|
1645
|
+
* - `api-error`: An API error occurred on the client side.
|
|
1646
|
+
*/
|
|
1647
|
+
readonly quota_reason?:
|
|
1648
|
+
'quota_ok' | 'quota_exceeded' | 'org_disabled' | 'backend_unavailable' | 'undefined' | 'timeout' | 'api-error'
|
|
1874
1649
|
[k: string]: unknown
|
|
1875
1650
|
}
|
|
1876
1651
|
/**
|
|
@@ -1917,6 +1692,420 @@ export interface StreamSchema {
|
|
|
1917
1692
|
}
|
|
1918
1693
|
[k: string]: unknown
|
|
1919
1694
|
}
|
|
1695
|
+
/**
|
|
1696
|
+
* Shared optional view-specific properties used by both view and view_update events
|
|
1697
|
+
*/
|
|
1698
|
+
export interface ViewProperties {
|
|
1699
|
+
/**
|
|
1700
|
+
* View properties
|
|
1701
|
+
*/
|
|
1702
|
+
readonly view?: {
|
|
1703
|
+
/**
|
|
1704
|
+
* Duration in ns to the view is considered loaded
|
|
1705
|
+
*/
|
|
1706
|
+
readonly loading_time?: number
|
|
1707
|
+
/**
|
|
1708
|
+
* Duration in ns from the moment the view was started until all the initial network requests settled
|
|
1709
|
+
*/
|
|
1710
|
+
readonly network_settled_time?: number
|
|
1711
|
+
/**
|
|
1712
|
+
* Duration in ns to from the last interaction on previous view to the moment the current view was displayed
|
|
1713
|
+
*/
|
|
1714
|
+
readonly interaction_to_next_view_time?: number
|
|
1715
|
+
/**
|
|
1716
|
+
* Type of the loading of the view
|
|
1717
|
+
*/
|
|
1718
|
+
readonly loading_type?:
|
|
1719
|
+
| 'initial_load'
|
|
1720
|
+
| 'route_change'
|
|
1721
|
+
| 'activity_display'
|
|
1722
|
+
| 'activity_redisplay'
|
|
1723
|
+
| 'fragment_display'
|
|
1724
|
+
| 'fragment_redisplay'
|
|
1725
|
+
| 'view_controller_display'
|
|
1726
|
+
| 'view_controller_redisplay'
|
|
1727
|
+
| 'session_renewal'
|
|
1728
|
+
| 'bf_cache'
|
|
1729
|
+
/**
|
|
1730
|
+
* Time spent on the view in ns
|
|
1731
|
+
*/
|
|
1732
|
+
readonly time_spent?: number
|
|
1733
|
+
/**
|
|
1734
|
+
* @deprecated
|
|
1735
|
+
* Duration in ns to the first rendering (deprecated in favor of `view.performance.fcp.timestamp`)
|
|
1736
|
+
*/
|
|
1737
|
+
readonly first_contentful_paint?: number
|
|
1738
|
+
/**
|
|
1739
|
+
* @deprecated
|
|
1740
|
+
* Duration in ns to the largest contentful paint (deprecated in favor of `view.performance.lcp.timestamp`)
|
|
1741
|
+
*/
|
|
1742
|
+
readonly largest_contentful_paint?: number
|
|
1743
|
+
/**
|
|
1744
|
+
* @deprecated
|
|
1745
|
+
* CSS selector path of the largest contentful paint element (deprecated in favor of `view.performance.lcp.target_selector`)
|
|
1746
|
+
*/
|
|
1747
|
+
readonly largest_contentful_paint_target_selector?: string
|
|
1748
|
+
/**
|
|
1749
|
+
* @deprecated
|
|
1750
|
+
* Duration in ns of the first input event delay (deprecated in favor of `view.performance.fid.duration`)
|
|
1751
|
+
*/
|
|
1752
|
+
readonly first_input_delay?: number
|
|
1753
|
+
/**
|
|
1754
|
+
* @deprecated
|
|
1755
|
+
* Duration in ns to the first input (deprecated in favor of `view.performance.fid.timestamp`)
|
|
1756
|
+
*/
|
|
1757
|
+
readonly first_input_time?: number
|
|
1758
|
+
/**
|
|
1759
|
+
* @deprecated
|
|
1760
|
+
* CSS selector path of the first input target element (deprecated in favor of `view.performance.fid.target_selector`)
|
|
1761
|
+
*/
|
|
1762
|
+
readonly first_input_target_selector?: string
|
|
1763
|
+
/**
|
|
1764
|
+
* @deprecated
|
|
1765
|
+
* Longest duration in ns between an interaction and the next paint (deprecated in favor of `view.performance.inp.duration`)
|
|
1766
|
+
*/
|
|
1767
|
+
readonly interaction_to_next_paint?: number
|
|
1768
|
+
/**
|
|
1769
|
+
* @deprecated
|
|
1770
|
+
* Duration in ns between start of the view and start of the INP (deprecated in favor of `view.performance.inp.timestamp`)
|
|
1771
|
+
*/
|
|
1772
|
+
readonly interaction_to_next_paint_time?: number
|
|
1773
|
+
/**
|
|
1774
|
+
* @deprecated
|
|
1775
|
+
* CSS selector path of the interacted element corresponding to INP (deprecated in favor of `view.performance.inp.target_selector`)
|
|
1776
|
+
*/
|
|
1777
|
+
readonly interaction_to_next_paint_target_selector?: string
|
|
1778
|
+
/**
|
|
1779
|
+
* @deprecated
|
|
1780
|
+
* Total layout shift score that occurred on the view (deprecated in favor of `view.performance.cls.score`)
|
|
1781
|
+
*/
|
|
1782
|
+
readonly cumulative_layout_shift?: number
|
|
1783
|
+
/**
|
|
1784
|
+
* @deprecated
|
|
1785
|
+
* Duration in ns between start of the view and start of the largest layout shift contributing to CLS (deprecated in favor of `view.performance.cls.timestamp`)
|
|
1786
|
+
*/
|
|
1787
|
+
readonly cumulative_layout_shift_time?: number
|
|
1788
|
+
/**
|
|
1789
|
+
* @deprecated
|
|
1790
|
+
* CSS selector path of the first element (in document order) of the largest layout shift contributing to CLS (deprecated in favor of `view.performance.cls.target_selector`)
|
|
1791
|
+
*/
|
|
1792
|
+
readonly cumulative_layout_shift_target_selector?: string
|
|
1793
|
+
/**
|
|
1794
|
+
* Duration in ns to the complete parsing and loading of the document and its sub resources
|
|
1795
|
+
*/
|
|
1796
|
+
readonly dom_complete?: number
|
|
1797
|
+
/**
|
|
1798
|
+
* Duration in ns to the complete parsing and loading of the document without its sub resources
|
|
1799
|
+
*/
|
|
1800
|
+
readonly dom_content_loaded?: number
|
|
1801
|
+
/**
|
|
1802
|
+
* Duration in ns to the end of the parsing of the document
|
|
1803
|
+
*/
|
|
1804
|
+
readonly dom_interactive?: number
|
|
1805
|
+
/**
|
|
1806
|
+
* Duration in ns to the end of the load event handler execution
|
|
1807
|
+
*/
|
|
1808
|
+
readonly load_event?: number
|
|
1809
|
+
/**
|
|
1810
|
+
* Duration in ns to the response start of the document request
|
|
1811
|
+
*/
|
|
1812
|
+
readonly first_byte?: number
|
|
1813
|
+
/**
|
|
1814
|
+
* User custom timings of the view. As timing name is used as facet path, it must contain only letters, digits, or the characters - _ . @ $
|
|
1815
|
+
*/
|
|
1816
|
+
readonly custom_timings?: {
|
|
1817
|
+
[k: string]: number
|
|
1818
|
+
}
|
|
1819
|
+
/**
|
|
1820
|
+
* Whether the View corresponding to this event is considered active
|
|
1821
|
+
*/
|
|
1822
|
+
readonly is_active?: boolean
|
|
1823
|
+
/**
|
|
1824
|
+
* Whether the View had a low average refresh rate
|
|
1825
|
+
*/
|
|
1826
|
+
readonly is_slow_rendered?: boolean
|
|
1827
|
+
/**
|
|
1828
|
+
* Properties of the actions of the view
|
|
1829
|
+
*/
|
|
1830
|
+
readonly action?: {
|
|
1831
|
+
/**
|
|
1832
|
+
* Number of actions that occurred on the view
|
|
1833
|
+
*/
|
|
1834
|
+
readonly count: number
|
|
1835
|
+
[k: string]: unknown
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* Properties of the errors of the view
|
|
1839
|
+
*/
|
|
1840
|
+
readonly error?: {
|
|
1841
|
+
/**
|
|
1842
|
+
* Number of errors that occurred on the view
|
|
1843
|
+
*/
|
|
1844
|
+
readonly count: number
|
|
1845
|
+
[k: string]: unknown
|
|
1846
|
+
}
|
|
1847
|
+
/**
|
|
1848
|
+
* Properties of the crashes of the view
|
|
1849
|
+
*/
|
|
1850
|
+
readonly crash?: {
|
|
1851
|
+
/**
|
|
1852
|
+
* Number of crashes that occurred on the view
|
|
1853
|
+
*/
|
|
1854
|
+
readonly count: number
|
|
1855
|
+
[k: string]: unknown
|
|
1856
|
+
}
|
|
1857
|
+
/**
|
|
1858
|
+
* Properties of the long tasks of the view
|
|
1859
|
+
*/
|
|
1860
|
+
readonly long_task?: {
|
|
1861
|
+
/**
|
|
1862
|
+
* Number of long tasks that occurred on the view
|
|
1863
|
+
*/
|
|
1864
|
+
readonly count: number
|
|
1865
|
+
[k: string]: unknown
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* Properties of the frozen frames of the view
|
|
1869
|
+
*/
|
|
1870
|
+
readonly frozen_frame?: {
|
|
1871
|
+
/**
|
|
1872
|
+
* Number of frozen frames that occurred on the view
|
|
1873
|
+
*/
|
|
1874
|
+
readonly count: number
|
|
1875
|
+
[k: string]: unknown
|
|
1876
|
+
}
|
|
1877
|
+
/**
|
|
1878
|
+
* List of slow frames during the view's lifetime
|
|
1879
|
+
*/
|
|
1880
|
+
readonly slow_frames?: {
|
|
1881
|
+
/**
|
|
1882
|
+
* Duration in ns between start of the view and the start of the slow frame
|
|
1883
|
+
*/
|
|
1884
|
+
readonly start: number
|
|
1885
|
+
/**
|
|
1886
|
+
* Duration in ns of the slow frame
|
|
1887
|
+
*/
|
|
1888
|
+
readonly duration: number
|
|
1889
|
+
[k: string]: unknown
|
|
1890
|
+
}[]
|
|
1891
|
+
/**
|
|
1892
|
+
* Properties of the resources of the view
|
|
1893
|
+
*/
|
|
1894
|
+
readonly resource?: {
|
|
1895
|
+
/**
|
|
1896
|
+
* Number of resources that occurred on the view
|
|
1897
|
+
*/
|
|
1898
|
+
readonly count: number
|
|
1899
|
+
[k: string]: unknown
|
|
1900
|
+
}
|
|
1901
|
+
/**
|
|
1902
|
+
* Properties of the frustrations of the view
|
|
1903
|
+
*/
|
|
1904
|
+
readonly frustration?: {
|
|
1905
|
+
/**
|
|
1906
|
+
* Number of frustrations that occurred on the view
|
|
1907
|
+
*/
|
|
1908
|
+
readonly count: number
|
|
1909
|
+
[k: string]: unknown
|
|
1910
|
+
}
|
|
1911
|
+
/**
|
|
1912
|
+
* List of the periods of time the user had the view in foreground (focused in the browser)
|
|
1913
|
+
*/
|
|
1914
|
+
readonly in_foreground_periods?: {
|
|
1915
|
+
/**
|
|
1916
|
+
* Duration in ns between start of the view and start of foreground period
|
|
1917
|
+
*/
|
|
1918
|
+
readonly start: number
|
|
1919
|
+
/**
|
|
1920
|
+
* Duration in ns of the view foreground period
|
|
1921
|
+
*/
|
|
1922
|
+
readonly duration: number
|
|
1923
|
+
[k: string]: unknown
|
|
1924
|
+
}[]
|
|
1925
|
+
/**
|
|
1926
|
+
* Average memory used during the view lifetime (in bytes)
|
|
1927
|
+
*/
|
|
1928
|
+
readonly memory_average?: number
|
|
1929
|
+
/**
|
|
1930
|
+
* Peak memory used during the view lifetime (in bytes)
|
|
1931
|
+
*/
|
|
1932
|
+
readonly memory_max?: number
|
|
1933
|
+
/**
|
|
1934
|
+
* Total number of cpu ticks during the view's lifetime
|
|
1935
|
+
*/
|
|
1936
|
+
readonly cpu_ticks_count?: number
|
|
1937
|
+
/**
|
|
1938
|
+
* Average number of cpu ticks per second during the view's lifetime
|
|
1939
|
+
*/
|
|
1940
|
+
readonly cpu_ticks_per_second?: number
|
|
1941
|
+
/**
|
|
1942
|
+
* Average refresh rate during the view's lifetime (in frames per second)
|
|
1943
|
+
*/
|
|
1944
|
+
readonly refresh_rate_average?: number
|
|
1945
|
+
/**
|
|
1946
|
+
* Minimum refresh rate during the view's lifetime (in frames per second)
|
|
1947
|
+
*/
|
|
1948
|
+
readonly refresh_rate_min?: number
|
|
1949
|
+
/**
|
|
1950
|
+
* Rate of slow frames during the view's lifetime (in milliseconds per second)
|
|
1951
|
+
*/
|
|
1952
|
+
readonly slow_frames_rate?: number
|
|
1953
|
+
/**
|
|
1954
|
+
* Rate of freezes during the view's lifetime (in seconds per hour)
|
|
1955
|
+
*/
|
|
1956
|
+
readonly freeze_rate?: number
|
|
1957
|
+
/**
|
|
1958
|
+
* Time taken for Flutter 'build' methods.
|
|
1959
|
+
*/
|
|
1960
|
+
flutter_build_time?: RumPerfMetric
|
|
1961
|
+
/**
|
|
1962
|
+
* Time taken for Flutter to rasterize the view.
|
|
1963
|
+
*/
|
|
1964
|
+
flutter_raster_time?: RumPerfMetric
|
|
1965
|
+
/**
|
|
1966
|
+
* The JavaScript refresh rate for React Native
|
|
1967
|
+
*/
|
|
1968
|
+
js_refresh_rate?: RumPerfMetric
|
|
1969
|
+
/**
|
|
1970
|
+
* Performance data. (Web Vitals, etc.)
|
|
1971
|
+
*/
|
|
1972
|
+
performance?: ViewPerformanceData
|
|
1973
|
+
/**
|
|
1974
|
+
* Accessibility properties of the view
|
|
1975
|
+
*/
|
|
1976
|
+
accessibility?: ViewAccessibilityProperties
|
|
1977
|
+
[k: string]: unknown
|
|
1978
|
+
}
|
|
1979
|
+
/**
|
|
1980
|
+
* Session properties
|
|
1981
|
+
*/
|
|
1982
|
+
readonly session?: {
|
|
1983
|
+
/**
|
|
1984
|
+
* Whether this session is currently active. Set to false to manually stop a session
|
|
1985
|
+
*/
|
|
1986
|
+
readonly is_active?: boolean
|
|
1987
|
+
/**
|
|
1988
|
+
* Whether this session has been sampled for replay
|
|
1989
|
+
*/
|
|
1990
|
+
readonly sampled_for_replay?: boolean
|
|
1991
|
+
[k: string]: unknown
|
|
1992
|
+
}
|
|
1993
|
+
/**
|
|
1994
|
+
* Feature flags properties
|
|
1995
|
+
*/
|
|
1996
|
+
readonly feature_flags?: {
|
|
1997
|
+
[k: string]: unknown
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* Privacy properties
|
|
2001
|
+
*/
|
|
2002
|
+
readonly privacy?: {
|
|
2003
|
+
/**
|
|
2004
|
+
* The replay privacy level
|
|
2005
|
+
*/
|
|
2006
|
+
readonly replay_level: 'allow' | 'mask' | 'mask-user-input'
|
|
2007
|
+
[k: string]: unknown
|
|
2008
|
+
}
|
|
2009
|
+
/**
|
|
2010
|
+
* Display properties
|
|
2011
|
+
*/
|
|
2012
|
+
readonly display?: {
|
|
2013
|
+
/**
|
|
2014
|
+
* Scroll properties
|
|
2015
|
+
*/
|
|
2016
|
+
readonly scroll?: {
|
|
2017
|
+
/**
|
|
2018
|
+
* Distance between the top and the lowest point reached on this view (in pixels)
|
|
2019
|
+
*/
|
|
2020
|
+
readonly max_depth: number
|
|
2021
|
+
/**
|
|
2022
|
+
* Page scroll top (scrolled distance) when the maximum scroll depth was reached for this view (in pixels)
|
|
2023
|
+
*/
|
|
2024
|
+
readonly max_depth_scroll_top: number
|
|
2025
|
+
/**
|
|
2026
|
+
* Maximum page scroll height (total height) for this view (in pixels)
|
|
2027
|
+
*/
|
|
2028
|
+
readonly max_scroll_height: number
|
|
2029
|
+
/**
|
|
2030
|
+
* Duration between the view start and the time the max scroll height was reached for this view (in nanoseconds)
|
|
2031
|
+
*/
|
|
2032
|
+
readonly max_scroll_height_time: number
|
|
2033
|
+
[k: string]: unknown
|
|
2034
|
+
}
|
|
2035
|
+
[k: string]: unknown
|
|
2036
|
+
}
|
|
2037
|
+
/**
|
|
2038
|
+
* Internal properties
|
|
2039
|
+
*/
|
|
2040
|
+
readonly _kubesense?: {
|
|
2041
|
+
/**
|
|
2042
|
+
* Version of the update of the view event
|
|
2043
|
+
*/
|
|
2044
|
+
readonly document_version: number
|
|
2045
|
+
/**
|
|
2046
|
+
* List of the page states during the view
|
|
2047
|
+
*/
|
|
2048
|
+
readonly page_states?: {
|
|
2049
|
+
/**
|
|
2050
|
+
* Page state name
|
|
2051
|
+
*/
|
|
2052
|
+
readonly state: 'active' | 'passive' | 'hidden' | 'frozen' | 'terminated'
|
|
2053
|
+
/**
|
|
2054
|
+
* Duration in ns between start of the view and start of the page state
|
|
2055
|
+
*/
|
|
2056
|
+
readonly start: number
|
|
2057
|
+
[k: string]: unknown
|
|
2058
|
+
}[]
|
|
2059
|
+
/**
|
|
2060
|
+
* Debug metadata for Replay Sessions
|
|
2061
|
+
*/
|
|
2062
|
+
replay_stats?: {
|
|
2063
|
+
/**
|
|
2064
|
+
* The number of records produced during this view lifetime
|
|
2065
|
+
*/
|
|
2066
|
+
records_count?: number
|
|
2067
|
+
/**
|
|
2068
|
+
* The number of segments sent during this view lifetime
|
|
2069
|
+
*/
|
|
2070
|
+
segments_count?: number
|
|
2071
|
+
/**
|
|
2072
|
+
* The total size in bytes of the segments sent during this view lifetime
|
|
2073
|
+
*/
|
|
2074
|
+
segments_total_raw_size?: number
|
|
2075
|
+
[k: string]: unknown
|
|
2076
|
+
}
|
|
2077
|
+
/**
|
|
2078
|
+
* Additional information of the reported Cumulative Layout Shift
|
|
2079
|
+
*/
|
|
2080
|
+
readonly cls?: {
|
|
2081
|
+
/**
|
|
2082
|
+
* Pixel ratio of the device where the layout shift was reported
|
|
2083
|
+
*/
|
|
2084
|
+
readonly device_pixel_ratio?: number
|
|
2085
|
+
[k: string]: unknown
|
|
2086
|
+
}
|
|
2087
|
+
/**
|
|
2088
|
+
* Subset of the SDK configuration options in use during its execution
|
|
2089
|
+
*/
|
|
2090
|
+
readonly configuration?: {
|
|
2091
|
+
/**
|
|
2092
|
+
* Whether session replay recording configured to start manually
|
|
2093
|
+
*/
|
|
2094
|
+
readonly start_session_replay_recording_manually?: boolean
|
|
2095
|
+
/**
|
|
2096
|
+
* The id of the remote configuration applied to the SDK, if any
|
|
2097
|
+
*/
|
|
2098
|
+
readonly remote_configuration_id?: string
|
|
2099
|
+
[k: string]: unknown
|
|
2100
|
+
}
|
|
2101
|
+
/**
|
|
2102
|
+
* Profiling context
|
|
2103
|
+
*/
|
|
2104
|
+
profiling?: ProfilingInternalContextSchema
|
|
2105
|
+
[k: string]: unknown
|
|
2106
|
+
}
|
|
2107
|
+
[k: string]: unknown
|
|
2108
|
+
}
|
|
1920
2109
|
/**
|
|
1921
2110
|
* Schema of properties for a technical performance metric
|
|
1922
2111
|
*/
|
|
@@ -2013,6 +2202,24 @@ export interface ViewPerformanceData {
|
|
|
2013
2202
|
* CSS selector path of the interacted element for the INP interaction
|
|
2014
2203
|
*/
|
|
2015
2204
|
readonly target_selector?: string
|
|
2205
|
+
/**
|
|
2206
|
+
* Sub-parts of the INP
|
|
2207
|
+
*/
|
|
2208
|
+
sub_parts?: {
|
|
2209
|
+
/**
|
|
2210
|
+
* Time from the start of the input event to the start of the processing of the event
|
|
2211
|
+
*/
|
|
2212
|
+
readonly input_delay: number
|
|
2213
|
+
/**
|
|
2214
|
+
* Event handler execution time
|
|
2215
|
+
*/
|
|
2216
|
+
readonly processing_duration: number
|
|
2217
|
+
/**
|
|
2218
|
+
* Rendering time happening after processing
|
|
2219
|
+
*/
|
|
2220
|
+
readonly presentation_delay: number
|
|
2221
|
+
[k: string]: unknown
|
|
2222
|
+
}
|
|
2016
2223
|
[k: string]: unknown
|
|
2017
2224
|
}
|
|
2018
2225
|
/**
|
|
@@ -2031,6 +2238,24 @@ export interface ViewPerformanceData {
|
|
|
2031
2238
|
* URL of the largest contentful paint element
|
|
2032
2239
|
*/
|
|
2033
2240
|
resource_url?: string
|
|
2241
|
+
/**
|
|
2242
|
+
* Sub-parts of the LCP
|
|
2243
|
+
*/
|
|
2244
|
+
sub_parts?: {
|
|
2245
|
+
/**
|
|
2246
|
+
* Time between first_byte and the loading start of the resource associated with the LCP
|
|
2247
|
+
*/
|
|
2248
|
+
readonly load_delay: number
|
|
2249
|
+
/**
|
|
2250
|
+
* Time to takes to load the resource attached to the LCP
|
|
2251
|
+
*/
|
|
2252
|
+
readonly load_time: number
|
|
2253
|
+
/**
|
|
2254
|
+
* Time between the LCP resource finishes loading and the LCP element is fully rendered
|
|
2255
|
+
*/
|
|
2256
|
+
readonly render_delay: number
|
|
2257
|
+
[k: string]: unknown
|
|
2258
|
+
}
|
|
2034
2259
|
[k: string]: unknown
|
|
2035
2260
|
}
|
|
2036
2261
|
/**
|