otel_redux 0.3.0 copy "otel_redux: ^0.3.0" to clipboard
otel_redux: ^0.3.0 copied to clipboard

OpenTelemetry instrumentation for `package:redux`. Provides a Middleware that emits a span per dispatched action.

Changelog #

0.3.0 - 2026-10-11 #

Changed #

  • Requires dartastic_opentelemetry_api >=1.0.0-rc.4 <1.0.0-rc.5.
  • Breaking: depends on dartastic_opentelemetry_api only, no longer on the SDK. The application chooses and initializes the OpenTelemetry SDK. Parameters and fields typed with SDK classes now use the API types (APITracer, APISpan, APILogger, ...); SDK instances are still accepted wherever an API type is expected.

0.2.0 - 2026-08-10 #

Added #

  • ReduxSemantics enum (state.system, state.operation, state.action.name) plus stateSystemRedux / stateOperationDispatch value constants; the middleware and tests now use these instead of raw string keys. Emitted keys unchanged.
  • Runnable example (example/otel_redux_example.dart).
  • Dartdoc for the zone-scoped suppression API.

0.1.0-beta.1 - 2026-05-16 #

Added #

  • otelReduxMiddleware<S>({tracer}) — a [Middleware] that opens an INTERNAL span around each dispatched action with state.system=redux, state.operation=dispatch, state.action.name=<runtime type>.
  • Zone-scoped suppression (runWithoutReduxInstrumentation / async variant).
  • 3 tests using real Store<int> instances.
0
likes
160
points
112
downloads

Documentation

API reference

Publisher

verified publisherdartastic.io

Weekly Downloads

OpenTelemetry instrumentation for `package:redux`. Provides a Middleware that emits a span per dispatched action.

Homepage
Repository (GitHub)
View/report issues

License

(pending) (license)

Dependencies

dartastic_opentelemetry_api, redux

More

Packages that depend on otel_redux