envoyproxy / envoyproxy/envoy

Add response flags to requests metrics

Open
#6,431 8 comments 13 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
428

Description

*Title*: Add response flags to request metrics

*Description*:
Request metrics take the form of `envoy_cluster_upstream_rq{envoy_response_code="503",envoy_cluster_name=""}` in the `/stats?format=prometheus` endpoint. In the access logs, each log line [can be configured to include the response_flags](https://www.envoyproxy.io/docs/envoy/latest/configuration/access_log#command-operators) associated with Envoy's response. Adding the `response_flags` that are present in the access log to these metrics would help disambiguate this data and help more quickly determine root causes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.