open-telemetry / opentelemetry-specification

Specifications for OpenTelemetry
https://opentelemetry.io
Apache License 2.0
3.71k stars 887 forks source link

Stabilize Metrics Instrument Enabled #4215

Open codeboten opened 1 week ago

codeboten commented 1 week ago

I believe the last issue around stabilizing the Enabled API for metric instruments was https://github.com/open-telemetry/opentelemetry-specification/pull/4211 and it is now merge.

Are there other issues preventing this from stabilizing?

sfc-gh-bdrutu commented 1 week ago

I support this.

jack-berg commented 1 week ago

Do we meet the requirement for prototype implementations?

Java has a prototype. What other languages have prototypes?

codeboten commented 1 week ago

Go has a prototype in this PR https://github.com/open-telemetry/opentelemetry-go/pull/5768

codeboten commented 1 week ago

@cijothomas pointed out that .net already supports this API https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.metrics.instrument.enabled?view=net-8.0