
Description
Summary
#47536 introduced metrics for ASP.NET Core through the new metrics API and this new feature is really cool!
However, I'm not sure to understand the choice for the name of the metrics and they don't seem to follow the OpenTelemetry specification. Let's take for example the metric current-requests
recorded by the meter Microsoft.AspNetCore.Hosting
. Following the OTEL specification, the name should instead be http.server.active_requests
. The name current-requests
is not clear enough. When I browse the metrics available in my Prometheus or via dotnet-counters, I don't know if the current-requests metric corresponds to the number of active incoming (server) or outgoing (client) requests, whereas http.server.active_requests
is immediately clearer.
I may be wrong, can anyone help me?
cc @JamesNK