envoyproxy / envoyproxy/envoy

Add response flags to requests metrics

Aperta
#6,431 8 commenti 13 reazioni 0 assegnatari Vedi su GitHub
enhancement help wanted
Lingua principale
C++
Stelle
28.9k
Fork
5.6k
Merge medio
1g 22h
PR unite (30g)
430

Descrizione

*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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.