http.server.active_requests
and http.status_code
#3357
Labels
area:semantic-conventions
Related to semantic conventions
bug
Something isn't working
[label deprecated] triaged-accepted
[label deprecated] Issue triaged and accepted by OTel community, can proceed with creating a PR
semconv:HTTP
spec:metrics
Related to the specification/metrics directory
I have a question about
http.server.active_requests
from https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/http-metrics.md#metric-httpserveractive_requestshttp.server.active_requests
is an up/down counter with a bunch of tags. One of the tags is the response status code. How does that work with an up/down counter? Response status code isn't known when the counter is incremented, so it can only be applied when the counter is decremented.If the response status code is added to the tag collection when decrementing the counter, won't that result in two different values, one always increasing, and the other (with the response status code) always decreasing?
The text was updated successfully, but these errors were encountered: