Skip to content

Latest commit

 

History

History
 
 

datadog_tracking_http_client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Datadog Tracking HTTP Client Plugin

A plugin for use with the Datadog SDK, used to track performance of HTTP calls and enable Datadog Distributed Tracing.

Getting started

To use this plugin, enable it during configuration of your SDK. In order to enable Datadog Distributed Tracing, you also need to set the firstPartyHosts property in your configuration object.

import 'package:datadog_tracking_http_client/datadog_tracking_http_client.dart';

final configuration = DdSdkConfiguration(
  // configuration
  firstPartyHosts: ['example.com'],
)..enableHttpTracking()

Flutter 2.10 Support

Flutter 3.0 updated to Dart 2.17, which added two methods to HttpClient.

Currently, version 1.0.1-beta.1 sets a version constraint to Dart >= 2.17. If you need to support Flutter 2.10, use version 1.0.0-beta.1 instead. There is no difference between these versions other than support for Dart 2.16 instead of Dart 2.17.

Moving forward, Flutter Pre-3.0 is supported on the 1.0.x line, and Flutter Post-3.0 will be moved to 1.1.x.

Contributing

Pull requests are welcome. First, open an issue to discuss what you would like to change. For more information, read the Contributing guide in the root repository.

License

Apache License, v2.0