envoyproxy/gateway

[stats] Add support for `track_remaining` in Circuit Breaker configuration

Offen

#7.743 geöffnet am 15.12.2025

 (13 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Go (802 Forks)auto 404
help wanted

Repository-Metriken

Stars
 (2.871 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description: Envoy Circuit Breaker configuration supports the track_remaining boolean to collection of the number of resources remaining until the circuit breakers open in envoy and expose them in envoy stats. This field defaults to false and cannot be enabled when using Envoy Gateway.

When this field is true, some additional circuit breaker metrics are exposed (in prometheus, for instance)

Such metrics are extremely useful to proactively detect if a circuit breaker is about to open. Can this field be exposed in BackendTrafficPolicy alongside other circuit breaker settings ?

[Relevant Links:] Envoy reference for track_remaining

Envoy Circuit Breaker stats documentation

Contributor Guide