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

OpenTelemetry log bridge for package:fimber. Plant an OTel LogTree beside Fimber's debug tree and every call is mirrored into the OTel logs pipeline, inheriting trace_id/span_id.

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-09 #

Changed #

  • Semantic conventions updated to the current OTel registry: exception attributes are emitted via the registry's ExceptionAttributes enums (exception.type / exception.message / exception.stacktrace) — no raw string attribute keys anywhere.
  • Dependency floors raised to dartastic_opentelemetry ^1.1.0-beta.12 and dartastic_opentelemetry_api ^1.0.0-rc.1. The previous floors declared compatibility with API versions that predate the semconv enums this package uses and could not actually resolve-and-compile.
  • repository URL corrected to the canonical Dartastic org casing so pub.dev repository verification succeeds.

Added #

  • OTelFimberTree — a package:fimber LogTree that mirrors every event into the OpenTelemetry logs pipeline.
  • Severity mapping (V/T → TRACE, D → DEBUG, I → INFO, W → WARN, E → ERROR, F → FATAL).
  • log.tag attribute on every record; exception.type / exception.message / exception.stacktrace when ex / stacktrace are set.
  • Configurable handled levels via levels:; defaults to all six.
  • Optional prependTag: true to match Fimber's [tag] message console shape (the tag is always exported as an attribute regardless).
  • Zone-scoped suppression via runWithoutFimberInstrumentation().
0
likes
160
points
106
downloads

Documentation

API reference

Publisher

verified publisherdartastic.io

Weekly Downloads

OpenTelemetry log bridge for package:fimber. Plant an OTel LogTree beside Fimber's debug tree and every call is mirrored into the OTel logs pipeline, inheriting trace_id/span_id.

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

dartastic_opentelemetry_api, fimber

More

Packages that depend on otel_fimber