Repository navigation
v1.1.0-beta.6
Pre-release
Pre-release
·
104 commits
to main
since this release
- Bumped
dartastic_opentelemetry_apito^1.0.0-beta.7. Beta.7 fixes observable metrics and standard env var defaults.
Fixed
- Default metrics pipeline no longer prints to stdout.
OTel.initialize()used to wrap the default OTLP metric exporter in aCompositeMetricExporterwithConsoleMetricExporter, so every server using the SDK with zero env vars dumped metric payloads to the console. The default is now OTLP-only, matching traces and logs (and the OTel spec, which specifiesotlpas the default for all three signals — neverconsole). To opt back into stdout output setOTEL_METRICS_EXPORTER=console(or pass an explicitmetricExporter/metricReadertoOTel.initialize).
Added
OTEL_TRACES_EXPORTER/OTEL_METRICS_EXPORTER/OTEL_LOGS_EXPORTERnow honored end-to-end. Each acceptsotlp(default),console, ornone;noneskips processor/reader installation for that signal entirely. Previously onlyOTEL_TRACES_EXPORTERandOTEL_LOGS_EXPORTERwere partially read andOTEL_METRICS_EXPORTERwas ignored.OTEL_SDK_DISABLED=trueglobal off-switch. When set,OTel.initialize()installs no span processors, metric readers, or log record processors — the SDK becomes a no-op for all three signals. Implemented via the newOTelEnv.isSdkDisabled()helper.