aws_xray_sdk 0.3.0
aws_xray_sdk: ^0.3.0 copied to clipboard
AWS X-Ray distributed tracing for Dart. Auto-traces dart:io HTTP and Smithy SDK clients, propagates X-Amzn-Trace-Id, and sends segments via UDP. First-class Lambda support.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add aws_xray_sdkWith Flutter:
$ flutter pub add aws_xray_sdkThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
aws_xray_sdk: ^0.3.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:aws_xray_sdk/aws_xray_sdk.dart';