1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00
Files
opentelemetry-go/exporters/stdout/stdouttrace/internal
Nesterov Yehor 90c75c4b66 stdouttrace observability: skip metric work when instruments are disabled (#7853)
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

Co-authored-by: David Ashpole <dashpole@google.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2026-02-03 13:52:02 -08:00
..
2026-02-02 09:46:33 -08:00