DatadogRumConfiguration class

Configuration options for the Datadog Real User Monitoring (RUM) feature.

Constructors

DatadogRumConfiguration({required String applicationId, double sessionSamplingRate = 100.0, double traceSampleRate = 20.0, bool detectLongTasks = true, double longTaskThreshold = 0.1, bool trackFrustrations = true, VitalsFrequency? vitalUpdateFrequency = VitalsFrequency.average, bool reportFlutterPerformance = false, String? customEndpoint, double telemetrySampleRate = 20.0, RumViewEventMapper? viewEventMapper, RumActionEventMapper? actionEventMapper, RumResourceEventMapper? resourceEventMapper, RumErrorEventMapper? errorEventMapper, RumLongTaskEventMapper? longTaskEventMapper, Map<String, Object?> additionalConfig = const <String, Object>{}})

Properties

actionEventMapper RumActionEventMapper?
A function that allows you to modify or drop specific RumActionEvents before they are sent to Datadog.
getter/setter pair
additionalConfig Map<String, Object?>
getter/setter pair
applicationId String
getter/setter pair
customEndpoint String?
Use a custom endpoint for sending RUM data.
getter/setter pair
detectLongTasks bool
Enable or disable detection of "long tasks"
getter/setter pair
errorEventMapper RumErrorEventMapper?
A function that allows you to modify or drop specific RumResourceEvents before they are sent to Datadog.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
longTaskEventMapper RumLongTaskEventMapper?
A function that allows you to modify or drop specific RumLongTaskEvents before they are sent to Datadog.
getter/setter pair
longTaskThreshold double
The amount of elapsed time that is considered to be a "long task", in seconds.
getter/setter pair
reportFlutterPerformance bool
Whether to report Flutter specific performance metrics (build and raster times)
getter/setter pair
resourceEventMapper RumResourceEventMapper?
A function that allows you to modify or drop specific RumResourceEvents before they are sent to Datadog.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionSamplingRate double
Sets the sampling rate for RUM Sessions.
getter/setter pair
telemetrySampleRate double
getter/setter pair
traceSampleRate double
Sets the sampling rate for resource tracing
getter/setter pair
trackFrustrations bool
getter/setter pair
viewEventMapper RumViewEventMapper?
A function that allows you to modify or drop specific RumViewEvents before they are sent to Datadog.
getter/setter pair
vitalUpdateFrequency VitalsFrequency?
Sets the preferred frequency for collecting mobile vitals.
getter/setter pair

Methods

encode() Map<String, Object?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited