otel_go_router 0.3.1
otel_go_router: ^0.3.1 copied to clipboard
OpenTelemetry instrumentation for go_router by Dartastic.io. Adds standard OpenTelemetry observability to applications that use go_router.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add otel_go_routerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
otel_go_router: ^0.3.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:otel_go_router/otel_go_router.dart';