Skip to content

The names of the metrics produced by the new meters do not seem clear #48309

Closed
@ghost

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

Metadata

Metadata

Assignees

Labels

area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresfeature-diagnosticsDiagnostic middleware and pages (except EF diagnostics)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions