-
Notifications
You must be signed in to change notification settings - Fork 976
http.server.active_requests and http.status_code #3357
Copy link
Copy link
Closed
Labels
[label deprecated] triaged-accepted[label deprecated] Issue triaged and accepted by OTel community, can proceed with creating a PR[label deprecated] Issue triaged and accepted by OTel community, can proceed with creating a PRarea:semantic-conventionsRelated to semantic conventionsRelated to semantic conventionsbugSomething isn't workingSomething isn't workingsemconv:HTTPspec:metricsRelated to the specification/metrics directoryRelated to the specification/metrics directory
Metadata
Metadata
Labels
[label deprecated] triaged-accepted[label deprecated] Issue triaged and accepted by OTel community, can proceed with creating a PR[label deprecated] Issue triaged and accepted by OTel community, can proceed with creating a PRarea:semantic-conventionsRelated to semantic conventionsRelated to semantic conventionsbugSomething isn't workingSomething isn't workingsemconv:HTTPspec:metricsRelated to the specification/metrics directoryRelated to the specification/metrics directory
Type
Projects
Status
Done
I have a question about
http.server.active_requestsfrom https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/http-metrics.md#metric-httpserveractive_requestshttp.server.active_requestsis 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?