opentelemetry 1.0.0-beta.17
opentelemetry: ^1.0.0-beta.17 copied to clipboard
OpenTelemetry for Dart and Flutter. A cross-post of dartastic_opentelemetry, which is being donated by Dartastic.io to become the official OpenTelemetry SDK.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add opentelemetryWith Flutter:
$ flutter pub add opentelemetryThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
opentelemetry: ^1.0.0-beta.17Alternatively, 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:opentelemetry/opentelemetry.dart';