otel_fimber 0.2.0
otel_fimber: ^0.2.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.2.0 - 2026-08-09 #
Changed #
- Semantic conventions updated to the current OTel registry: exception
attributes are emitted via the registry's
ExceptionAttributesenums (exception.type/exception.message/exception.stacktrace) — no raw string attribute keys anywhere. - Dependency floors raised to
dartastic_opentelemetry ^1.1.0-beta.12anddartastic_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. repositoryURL corrected to the canonicalDartasticorg casing so pub.dev repository verification succeeds.
Added #
OTelFimberTree— apackage:fimberLogTreethat mirrors every event into the OpenTelemetry logs pipeline.- Severity mapping (V/T → TRACE, D → DEBUG, I → INFO, W → WARN, E → ERROR, F → FATAL).
log.tagattribute on every record;exception.type/exception.message/exception.stacktracewhenex/stacktraceare set.- Configurable handled levels via
levels:; defaults to all six. - Optional
prependTag: trueto match Fimber's[tag] messageconsole shape (the tag is always exported as an attribute regardless). - Zone-scoped suppression via
runWithoutFimberInstrumentation().