Revamp upstream_rq_timeout
virtual cluster counter
#23867
Labels
area/stats
enhancement
Feature requests. Not bugs or questions.
no stalebot
Disables stalebot from closing an issue
Description:
Envoy Mobile does not increment
upstream_rq_timeout
virtual cluster counter when any of the request it perform times out. For the record, the Envoy Mobile library enables the two following types of timeouts:per_try_timeout
andper_try_idle_timeout
.Instead of incrementing
upstream_rq_timeout
stat, every time Envoy Mobile's request times outupstream_rx_5xx
andupstream_rq_504
virtual cluster counters are incremented. From the perspective of mobile clients (Envoy Mobile library) it's not desired to treat timeouts as504
failures - mobile clients want to see HTTP status codes that come from the server only and do not want Envoy Mobile (or Envoy) to emit its own status codes.Proposal:
upstream_rq_timeout
stat so that it gets incremented when a request timeouts due to eitherper_try_timeout
orper_try_idle_timeout
timeout.upstream_rx_5xx
andupstream_rq_504
virtual cluster stats when an Envoy Mobile request timeouts due to either of the aforementioned timeout types.Relevant Links:
Currently available virtual cluster stats are listed at https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#virtual-clusters.
The text was updated successfully, but these errors were encountered: