stdouttrace observability: skip metric work when instruments are disabled by NesterovYehor · Pull Request #7853 · open-telemetry/opentelemetry-go (original) (raw)
Add Enabled(ctx) checks to stdout trace exporter observability.
Benchmarks improved from ~120–370 ns/op to ~67 ns/op.
No user-facing changes.
Existing tests still cover behavior and i think this change doesn’t need a changelog entry.
Issue: #7800