otel_talker 0.2.0
otel_talker: ^0.2.0 copied to clipboard
OpenTelemetry log bridge for package:talker. Mirrors every Talker log, error and exception into the OTel logs pipeline while Talker keeps rendering its dev-friendly output.
Changelog #
0.2.0 - 2026-10-11 #
Changed #
- Requires
dartastic_opentelemetry_api >=1.0.0-rc.4 <1.0.0-rc.5. - Breaking: depends on
dartastic_opentelemetry_apionly, 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.1.0 - 2026-08-10 #
Added #
OTelTalkerObserver— apackage:talkerTalkerObserverthat mirrors every log / error / exception into the OpenTelemetry logs pipeline.- Severity mapping (verbose → TRACE, debug → DEBUG, info → INFO, warning → WARN, error → ERROR, critical → FATAL).
exception.type/exception.message/exception.stacktraceattributes forTalkerErrorandTalkerExceptionentries.- Zone-scoped instrumentation suppression via
runWithoutTalkerInstrumentation(). - Runnable example under
example/.
Changed #
- Requires
talker^5.0.0. - Exception attribute keys now come from the semantic-conventions
registry enums (
ExceptionAttributes) instead of string literals (emitted keys are unchanged).