otel_auto_route 0.1.0 copy "otel_auto_route: ^0.1.0" to clipboard
otel_auto_route: ^0.1.0 copied to clipboard

OpenTelemetry instrumentation for `package:auto_route`. An AutoRouterObserver that emits a span per stack transition AND per tab transition - tabbed apps do not lose views.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add otel_auto_route

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  otel_auto_route: ^0.1.0

Alternatively, 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_auto_route/otel_auto_route.dart';
0
likes
160
points
95
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

OpenTelemetry instrumentation for `package:auto_route`. An AutoRouterObserver that emits a span per stack transition AND per tab transition - tabbed apps do not lose views.

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

auto_route, dartastic_opentelemetry, dartastic_opentelemetry_api, flutter

More

Packages that depend on otel_auto_route