envoyproxy/envoy

Stats: Expose downstream_rq_xx counter with specific response codes

Open

#17,370 opened on Jul 15, 2021

View on GitHub
 (3 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/httphelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Currently, for the downstream response count, we have downstream_rq_1xx, downstream_rq_2xx metrics which are aggregated by the response codes, and thereby there's only the response code class label exposed. It would be good to have these metrics by specific response code along with aggregating them into a response code class.

There is something similar already exposed in case of upstream metrics, would be useful to have the same for downstream ones as well.

Contributor guide