Closed JamesNK closed 2 months ago
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
cc @noahfalk @tarekgh
Triage: tentatively putting it to Future/10.0, as it seems to be nice-to-have ("hack" in OTel is already in place so it doesn't look blocking). @antonfirsov please feel free to re-triage it if my judgement was wrong.
OTEL has a hack to make data better. But that won't be true of other frameworks consuming metrics.
Triage: This will help remove hack in OTel. If it is really simple, we should do it. Discussed with @JamesNK. FYI: @antonfirsov cc @CarnaViire
Histogram bucket annotations were added with https://github.com/dotnet/runtime/issues/63650. But they need to used with histograms that are published.
All
dotnet/runtime
histograms use seconds so they should have an annotation to provide good bucket boundaries.CreateHistogram<double>()
usages: https://github.com/search?q=repo%3Adotnet%2Fruntime%20CreateHistogram&type=code. Looks like they're currently all networking related.dotnet/aspnetcore doing the same thing: https://github.com/dotnet/aspnetcore/pull/56500
This is easy to do and should be done in .NET 9. It allows opentelemetry-dotnet to remove a hack to infer the bucket sizes. They can replace that code with code that looks at the attached bucket sizes.