ngrok Traffic Policy Circuit‑Breaker: Clarifying How Cancelled and Timed‑Out Requests Are Counted
0 reputation · 24 Dec 2022, 22:32 UTC
The goal is to understand whether a request cancelled by the client or terminated by an upstream timeout increments the volume_threshold and/or the error_percentage_threshold of a ngrok Traffic Policy circuit‑breaker.
The documentation does not specify how such requests are classified, leaving uncertainty about whether they are treated as successful volume, as errors, or ignored. This ambiguity can cause the breaker to open incorrectly when the upstream service is healthy, affecting graceful‑degradation behavior.
Does a client‑cancelled request count toward the volume threshold? Does it count toward the error percentage threshold? Are upstream‑timeout requests treated as errors for the breaker’s error percentage calculation?