dartastic_opentelemetry 1.0.2-alpha
dartastic_opentelemetry: ^1.0.2-alpha copied to clipboard
OpenTelemetry SDK for Dart and Flutter. Distributed tracing, metrics, OTLP exporters (gRPC/HTTP), and context propagation for observability backends.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.2-alpha - 2026-04-19 #
Fixed #
- Fixed
OTel.defaultEndpointto use the OTLP/HTTP port4318instead of the gRPC port4317, matching the defaulthttp/protobufprotocol per the OpenTelemetry specification (#29). Removed the conditional port-swap workarounds in trace and logs configuration. - Fixed
SimpleLogRecordProcessor.shutdown()not flushing pending exports (#28). - Fixed flaky
OtlpGrpcLogRecordExporter endpoint empty host defaults to 127.0.0.1test that depended on no process listening on port 4317.
Changed #
MetricsConfigurationnow defaults to the HTTP/protobuf protocol (consistent with the trace and logs pipelines and with the OpenTelemetry specification). SetOTEL_EXPORTER_OTLP_PROTOCOL=grpc(orOTEL_EXPORTER_OTLP_METRICS_PROTOCOL=grpc) to opt back into gRPC.
Added #
- Public
exportergetter onPeriodicExportingMetricReaderandexportersgetter onCompositeMetricExporterfor introspection and testability.
1.0.1-alpha - 2026-04-05 #
- Added a BaggageSpanProcessor that adds Baggage as SpanAttributes
1.0.0-alpha - 2026-04-02 #
Added #
- Log Signal SDK implementation
- Upgraded to dartastic_opentelemetry_api: ^1.0.0-alpha with Log Signal API
0.9.3 - 2025-10-25 #
0.9.2 - 2025-10-12 #
- Default to INFO OTel logging.
0.9.1 - 2025-10-04 #
- Bumped API to 0.8.8 to fix logging.
0.9.0 - 2025-10-04 #
- Added support for
OTEL_EXPORTER_OTLP_HEADERSfor http and grpc exporters for trace and metrics - Added support for all other exporter env vars
- Documented OTEL_* env var usage, added grafana examples
- Certificates env vars may not work yet tests skipped.
0.8.7 - 2025-09-29 #
- Upgraded to api 0.8.7. Upgraded all dependencies including grpc to 4.1
- Respected all OTel env vars when no explicit values are specified, uses OTEL_CONSOLE_EXPORTER
- Fixed default export, uses http/protobuf by default, not grpc
- Fixed issue with creation of the grpc exporter
- ConsoleExporter now only created on env vars or explicity
- Minor, doc, dart format, improved .gitignore, removed generated mistakenly committed
0.8.6 - 2025-09-24 #
- Minor, cleaning, format, doc.
0.8.5 - 2025-06-14 #
- prep for wondrous otel demo, upgrade to api 0.8.3, span toString
0.8.4 - 2025-06-06 #
- fix: Issue #3 - Fixed Metric generics for Histogram.
- chore: All 445 tests pass, 12 ignored, 0 fail, no crashes, thoroughly applied OTel.shutdown in test tearDowns.
0.8.3 - 2025-06-04 #
- fix: Issue 4, lack of span export
0.8.2 - 2025-05-06 #
- README.md updates
0.8.1 - 2025-05-06 #
- README.md updates
0.8.0 - 2025-05-01 #
Added #
- Initial public release of the OpenTelemetry SDK for Dart
- Complete implementation of the OpenTelemetry API
- Full tracing implementation with span processors
- Multiple exporters: OTLP (gRPC and HTTP), Console, Zipkin
- Resource providers for service information
- Sampler implementations: AlwaysOn, AlwaysOff, TraceIdRatio, ParentBased
- Context propagation: W3C Trace Context, W3C Baggage, Composite
- Batch processing with configurable parameters
- Comprehensive test suite
- Complete examples for various use cases
Compatibility #
- Implements OpenTelemetry SDK specification v1.0.0-rc3
- Requires opentelemetry_api: ^0.8.0
- Compatible with OpenTelemetry Protocol (OTLP) v0.18.0