opentelemetry-dotnet
opentelemetry-dotnet copied to clipboard
Add support for Instrument Advisory Parameter for ExplicitHistogram Buckets
Add support for Instrument Advisory Parameter for ExplicitHistogram buckets https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/api.md#instrument-advisory-parameter-explicitbucketboundaries
PR for annotating ASP.NET Core metrics: https://github.com/dotnet/aspnetcore/pull/56500 Issue for doing the same in dotnet/runtime: https://github.com/dotnet/runtime/issues/104137
As part of this work, opentelemetry-dotnet in .NET 9 or greater should use advisory values instead of the hack here: https://github.com/open-telemetry/opentelemetry-dotnet/blob/978b461771c742ddc11e3c590fe52715af253450/src/OpenTelemetry/Metrics/Metric.cs#L21-L33