http fault: add active fault stat and overflow setting (#6167)
1) Add stat to track number of active injected faults 2) Add config/runtime control over how many concurrent faults can be injected. This is useful in cases where we want to allow 100% fault injection, but want to protect against too many concurrent requests using too many resources. 3) Add stat for faults that overflowed. 4) Misc code cleanup / modernization. Part of https://github.com/envoyproxy/envoy/issues/5942. Signed-off-by: Matt Klein <mklein@lyft.com> Mirrored from https://github.com/envoyproxy/envoy @ 191c8b02b4908f212f800ed0185f6ee689ba8126pull/620/head
parent
5f2f50bfc3
commit
d8baf27127
1 changed files with 16 additions and 0 deletions
Loading…
Reference in new issue