datadog_tracking_http_client library

Classes

DatadogClient
A composable client for use with the http package that supports tracking network requests and sending them to Datadog.
DatadogTrackingHttpClient
A wrapper around HttpClient that supports tracking network requests and sending them to Datadog
DatadogTrackingHttpClientListener
An interface for providing attributes to Datadog RUM resources by listening to HttpClient requests and responses.
DatadogTrackingHttpOverrides
Overrides to supply the DatadogTrackingHttpClient instead of the default HttpClient

Extensions

TrackingExtension on DatadogConfiguration
TrackingExtensionExisting on DatadogAttachConfiguration

Typedefs

DatadogClientAttributesProvider = Map<String, Object?> Function(BaseRequest request, StreamedResponse? response, Object? error)
A callback function that allows you to provide attributes that should be attached to a Datadog RUM resource created from DatadogClient. This callback is called when the resource is finished loading, so the provided request and response streams are already closed.