DatadogConfiguration and DatadogRumConfiguration.
Sampling rate
Tracking consent
TrackingConsent controls whether data is collected and reported, to meet compliance requirements such as GDPR:
Event filtering and masking
Event mappers run before events are reported; returnnull to drop the event, or return it after modification. You can use them to mask sensitive fields, remove noise, or rename views.
Distributed tracing
For hosts that matchfirstPartyHosts, the SDK injects the W3C traceparent to correlate frontend RUM with backend APM. Tracing requires network collection (enableHttpTracking()).
Custom reporting endpoint
For on-premises deployments, override the default reporting endpoint throughcustomEndpoint:
Symbol file upload
To resolve crash and error stacks back to source locations, you need to upload symbol files. A Flutter application may contain both Dart and native frames:
Use the FlashCat CLI to upload symbol files: