-
public final class TelemetryConfigurationEvent.ConfigurationConfiguration properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTelemetryConfigurationEvent.Configuration.Companion
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TelemetryConfigurationEvent.Configuration(Long sessionSampleRate, Long telemetrySampleRate, Long telemetryConfigurationSampleRate, Long traceSampleRate, Long premiumSampleRate, Long replaySampleRate, Long sessionReplaySampleRate, Boolean useProxy, Boolean useBeforeSend, Boolean silentMultipleInit, Boolean trackSessionAcrossSubdomains, Boolean trackResources, Boolean trackLongTask, Boolean useCrossSiteSessionCookie, Boolean useSecureSessionCookie, String actionNameAttribute, Boolean useAllowedTracingOrigins, Boolean useAllowedTracingUrls, List<TelemetryConfigurationEvent.SelectedTracingPropagator> selectedTracingPropagators, String defaultPrivacyLevel, Boolean useExcludedActivityUrls, Boolean trackFrustrations, Boolean trackViewsManually, Boolean trackInteractions, Boolean trackUserInteractions, Boolean forwardErrorsToLogs, List<String> forwardConsoleLogs, List<String> forwardReports, Boolean useLocalEncryption, TelemetryConfigurationEvent.ViewTrackingStrategy viewTrackingStrategy, Boolean trackBackgroundEvents, Long mobileVitalsUpdatePeriod, Boolean trackErrors, Boolean trackNetworkRequests, Boolean useTracing, Boolean trackNativeViews, Boolean trackNativeErrors, Boolean trackNativeLongTasks, Boolean trackCrossPlatformLongTasks, Boolean useFirstPartyHosts, String initializationType, Boolean trackFlutterPerformance, Long batchSize, Long batchUploadFrequency, String reactVersion, String reactNativeVersion, String dartVersion)
-
Method Summary
-
-
Constructor Detail
-
TelemetryConfigurationEvent.Configuration
TelemetryConfigurationEvent.Configuration(Long sessionSampleRate, Long telemetrySampleRate, Long telemetryConfigurationSampleRate, Long traceSampleRate, Long premiumSampleRate, Long replaySampleRate, Long sessionReplaySampleRate, Boolean useProxy, Boolean useBeforeSend, Boolean silentMultipleInit, Boolean trackSessionAcrossSubdomains, Boolean trackResources, Boolean trackLongTask, Boolean useCrossSiteSessionCookie, Boolean useSecureSessionCookie, String actionNameAttribute, Boolean useAllowedTracingOrigins, Boolean useAllowedTracingUrls, List<TelemetryConfigurationEvent.SelectedTracingPropagator> selectedTracingPropagators, String defaultPrivacyLevel, Boolean useExcludedActivityUrls, Boolean trackFrustrations, Boolean trackViewsManually, Boolean trackInteractions, Boolean trackUserInteractions, Boolean forwardErrorsToLogs, List<String> forwardConsoleLogs, List<String> forwardReports, Boolean useLocalEncryption, TelemetryConfigurationEvent.ViewTrackingStrategy viewTrackingStrategy, Boolean trackBackgroundEvents, Long mobileVitalsUpdatePeriod, Boolean trackErrors, Boolean trackNetworkRequests, Boolean useTracing, Boolean trackNativeViews, Boolean trackNativeErrors, Boolean trackNativeLongTasks, Boolean trackCrossPlatformLongTasks, Boolean useFirstPartyHosts, String initializationType, Boolean trackFlutterPerformance, Long batchSize, Long batchUploadFrequency, String reactVersion, String reactNativeVersion, String dartVersion)
- Parameters:
sessionSampleRate- The percentage of sessions trackedtelemetrySampleRate- The percentage of telemetry events senttelemetryConfigurationSampleRate- The percentage of telemetry configuration events sent after being sampled by telemetry_sample_ratetraceSampleRate- The percentage of requests tracedpremiumSampleRate- The percentage of sessions with Browser RUM & Session Replay pricing tracked (deprecated in favor of session_replay_sample_rate)replaySampleRate- The percentage of sessions with Browser RUM & Session Replay pricing tracked (deprecated in favor of session_replay_sample_rate)sessionReplaySampleRate- The percentage of sessions with Browser RUM & Session Replay pricing trackeduseProxy- Whether a proxy configured is useduseBeforeSend- Whether beforeSend callback function is usedsilentMultipleInit- Whether initialization fails silently if the SDK is already initializedtrackSessionAcrossSubdomains- Whether sessions across subdomains for the same site are trackedtrackResources- Whether resources are trackedtrackLongTask- Whether long tasks are trackeduseCrossSiteSessionCookie- Whether a secure cross-site session cookie is useduseSecureSessionCookie- Whether a secure session cookie is usedactionNameAttribute- Attribute to be used to name actionsuseAllowedTracingOrigins- Whether the allowed tracing origins list is used (deprecated in favor of use_allowed_tracing_urls)useAllowedTracingUrls- Whether the allowed tracing urls list is usedselectedTracingPropagators- A list of selected tracing propagatorsdefaultPrivacyLevel- Session replay default privacy leveluseExcludedActivityUrls- Whether the request origins list to ignore when computing the page activity is usedtrackFrustrations- Whether user frustrations are trackedtrackViewsManually- Whether the RUM views creation is handled manuallytrackInteractions- Whether user actions are tracked (deprecated in favor of track_user_interactions)trackUserInteractions- Whether user actions are trackedforwardErrorsToLogs- Whether console.useLocalEncryption- Whether local encryption is usedviewTrackingStrategy- View tracking strategytrackBackgroundEvents- Whether RUM events are tracked when the application is in BackgroundmobileVitalsUpdatePeriod- The period between each Mobile Vital sample (in milliseconds)trackErrors- Whether error monitoring & crash reporting is enabled for the source platformtrackNetworkRequests- Whether automatic collection of network requests is enableduseTracing- Whether tracing features are enabledtrackNativeViews- Whether native views are tracked (for cross platform SDKs)trackNativeErrors- Whether native error monitoring & crash reporting is enabled (for cross platform SDKs)trackNativeLongTasks- Whether long task tracking is performed automaticallytrackCrossPlatformLongTasks- Whether long task tracking is performed automatically for cross platform SDKsuseFirstPartyHosts- Whether the client has provided a list of first party hostsinitializationType- The type of initialization the SDK used, in case multiple are supportedtrackFlutterPerformance- Whether Flutter build and raster time tracking is enabledbatchSize- The window duration for batches sent by the SDK (in milliseconds)batchUploadFrequency- The upload frequency of batches (in milliseconds)reactVersion- The version of React used in a ReactNative applicationreactNativeVersion- The version of ReactNative used in a ReactNative applicationdartVersion- The version of Dart used in a Flutter application
-
-
Method Detail
-
getSessionSampleRate
final Long getSessionSampleRate()
-
getTelemetrySampleRate
final Long getTelemetrySampleRate()
-
getTelemetryConfigurationSampleRate
final Long getTelemetryConfigurationSampleRate()
-
getTraceSampleRate
final Long getTraceSampleRate()
-
getPremiumSampleRate
final Long getPremiumSampleRate()
-
getReplaySampleRate
final Long getReplaySampleRate()
-
getSessionReplaySampleRate
final Long getSessionReplaySampleRate()
-
setSessionReplaySampleRate
final Unit setSessionReplaySampleRate(Long sessionReplaySampleRate)
- Parameters:
sessionReplaySampleRate- The percentage of sessions with Browser RUM & Session Replay pricing tracked
-
getUseProxy
final Boolean getUseProxy()
-
setUseProxy
final Unit setUseProxy(Boolean useProxy)
- Parameters:
useProxy- Whether a proxy configured is used
-
getUseBeforeSend
final Boolean getUseBeforeSend()
-
getSilentMultipleInit
final Boolean getSilentMultipleInit()
-
getTrackSessionAcrossSubdomains
final Boolean getTrackSessionAcrossSubdomains()
-
getTrackResources
final Boolean getTrackResources()
-
setTrackResources
final Unit setTrackResources(Boolean trackResources)
- Parameters:
trackResources- Whether resources are tracked
-
getTrackLongTask
final Boolean getTrackLongTask()
-
setTrackLongTask
final Unit setTrackLongTask(Boolean trackLongTask)
- Parameters:
trackLongTask- Whether long tasks are tracked
-
getUseCrossSiteSessionCookie
final Boolean getUseCrossSiteSessionCookie()
-
getUseSecureSessionCookie
final Boolean getUseSecureSessionCookie()
-
getActionNameAttribute
final String getActionNameAttribute()
-
getUseAllowedTracingOrigins
final Boolean getUseAllowedTracingOrigins()
-
getUseAllowedTracingUrls
final Boolean getUseAllowedTracingUrls()
-
getSelectedTracingPropagators
final List<TelemetryConfigurationEvent.SelectedTracingPropagator> getSelectedTracingPropagators()
-
getDefaultPrivacyLevel
final String getDefaultPrivacyLevel()
-
setDefaultPrivacyLevel
final Unit setDefaultPrivacyLevel(String defaultPrivacyLevel)
- Parameters:
defaultPrivacyLevel- Session replay default privacy level
-
getUseExcludedActivityUrls
final Boolean getUseExcludedActivityUrls()
-
getTrackFrustrations
final Boolean getTrackFrustrations()
-
setTrackFrustrations
final Unit setTrackFrustrations(Boolean trackFrustrations)
- Parameters:
trackFrustrations- Whether user frustrations are tracked
-
getTrackViewsManually
final Boolean getTrackViewsManually()
-
setTrackViewsManually
final Unit setTrackViewsManually(Boolean trackViewsManually)
- Parameters:
trackViewsManually- Whether the RUM views creation is handled manually
-
getTrackInteractions
final Boolean getTrackInteractions()
-
setTrackInteractions
final Unit setTrackInteractions(Boolean trackInteractions)
- Parameters:
trackInteractions- Whether user actions are tracked (deprecated in favor of track_user_interactions)
-
getTrackUserInteractions
final Boolean getTrackUserInteractions()
-
setTrackUserInteractions
final Unit setTrackUserInteractions(Boolean trackUserInteractions)
- Parameters:
trackUserInteractions- Whether user actions are tracked
-
getForwardErrorsToLogs
final Boolean getForwardErrorsToLogs()
-
getForwardConsoleLogs
final List<String> getForwardConsoleLogs()
-
getForwardReports
final List<String> getForwardReports()
-
getUseLocalEncryption
final Boolean getUseLocalEncryption()
-
getViewTrackingStrategy
final TelemetryConfigurationEvent.ViewTrackingStrategy getViewTrackingStrategy()
-
getTrackBackgroundEvents
final Boolean getTrackBackgroundEvents()
-
setTrackBackgroundEvents
final Unit setTrackBackgroundEvents(Boolean trackBackgroundEvents)
- Parameters:
trackBackgroundEvents- Whether RUM events are tracked when the application is in Background
-
getMobileVitalsUpdatePeriod
final Long getMobileVitalsUpdatePeriod()
-
setMobileVitalsUpdatePeriod
final Unit setMobileVitalsUpdatePeriod(Long mobileVitalsUpdatePeriod)
- Parameters:
mobileVitalsUpdatePeriod- The period between each Mobile Vital sample (in milliseconds)
-
getTrackErrors
final Boolean getTrackErrors()
-
setTrackErrors
final Unit setTrackErrors(Boolean trackErrors)
- Parameters:
trackErrors- Whether error monitoring & crash reporting is enabled for the source platform
-
getTrackNetworkRequests
final Boolean getTrackNetworkRequests()
-
setTrackNetworkRequests
final Unit setTrackNetworkRequests(Boolean trackNetworkRequests)
- Parameters:
trackNetworkRequests- Whether automatic collection of network requests is enabled
-
getUseTracing
final Boolean getUseTracing()
-
getTrackNativeViews
final Boolean getTrackNativeViews()
-
setTrackNativeViews
final Unit setTrackNativeViews(Boolean trackNativeViews)
- Parameters:
trackNativeViews- Whether native views are tracked (for cross platform SDKs)
-
getTrackNativeErrors
final Boolean getTrackNativeErrors()
-
setTrackNativeErrors
final Unit setTrackNativeErrors(Boolean trackNativeErrors)
- Parameters:
trackNativeErrors- Whether native error monitoring & crash reporting is enabled (for cross platform SDKs)
-
getTrackNativeLongTasks
final Boolean getTrackNativeLongTasks()
-
setTrackNativeLongTasks
final Unit setTrackNativeLongTasks(Boolean trackNativeLongTasks)
- Parameters:
trackNativeLongTasks- Whether long task tracking is performed automatically
-
getTrackCrossPlatformLongTasks
final Boolean getTrackCrossPlatformLongTasks()
-
setTrackCrossPlatformLongTasks
final Unit setTrackCrossPlatformLongTasks(Boolean trackCrossPlatformLongTasks)
- Parameters:
trackCrossPlatformLongTasks- Whether long task tracking is performed automatically for cross platform SDKs
-
getUseFirstPartyHosts
final Boolean getUseFirstPartyHosts()
-
setUseFirstPartyHosts
final Unit setUseFirstPartyHosts(Boolean useFirstPartyHosts)
- Parameters:
useFirstPartyHosts- Whether the client has provided a list of first party hosts
-
getInitializationType
final String getInitializationType()
-
setInitializationType
final Unit setInitializationType(String initializationType)
- Parameters:
initializationType- The type of initialization the SDK used, in case multiple are supported
-
getTrackFlutterPerformance
final Boolean getTrackFlutterPerformance()
-
setTrackFlutterPerformance
final Unit setTrackFlutterPerformance(Boolean trackFlutterPerformance)
- Parameters:
trackFlutterPerformance- Whether Flutter build and raster time tracking is enabled
-
getBatchSize
final Long getBatchSize()
-
getBatchUploadFrequency
final Long getBatchUploadFrequency()
-
getReactVersion
final String getReactVersion()
-
setReactVersion
final Unit setReactVersion(String reactVersion)
- Parameters:
reactVersion- The version of React used in a ReactNative application
-
getReactNativeVersion
final String getReactNativeVersion()
-
setReactNativeVersion
final Unit setReactNativeVersion(String reactNativeVersion)
- Parameters:
reactNativeVersion- The version of ReactNative used in a ReactNative application
-
getDartVersion
final String getDartVersion()
-
setDartVersion
final Unit setDartVersion(String dartVersion)
- Parameters:
dartVersion- The version of Dart used in a Flutter application
-
toJson
final JsonElement toJson()
-
-
-
-