blumeops/docs/changelog.d/+dagger-otel-metrics-fix.bugfix.md
Erich Blume ab834b641a Fix OTEL metrics exporter warnings in Dagger builds
The Dagger engine shim sets OTEL_METRICS_EXPORTER before our module
loads, so os.environ.setdefault was a no-op. Switch to a hard override.
Remove the redundant workflow-level env var since the fix belongs in
the module.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 08:11:15 -07:00

100 B

Fix OTEL metrics exporter warnings in Dagger builds by hard-overriding the env var before SDK init.