1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00
Files
opentelemetry-go/semconv
David Ashpole fe35606998 Update semconv template and 1.40.0 to use Enabled for metrics (#8172)
Part of https://github.com/open-telemetry/opentelemetry-go/issues/7800

This adds Enabled checks to the generated semconv metric instruments. I
also opted to regenerate the 1.40.0 conventions given this is not a
behavioral change.

While implementing it, I did get the sense that this _should_ be
redundant. Callers should be checking Enabled before making these calls
because they should avoid building attribute sets. But it does still
make sense to have this as a fallback for cases where callers haven't
done that.

---------

Co-authored-by: Robert Pająk <pellared@hotmail.com>
2026-04-13 09:31:43 -04:00
..
2026-01-30 18:15:17 +01:00
2026-01-30 18:15:17 +01:00
2025-12-03 19:55:44 -08:00