[Bandwidth-Limit] Add response trailers for bandwidth delay (#18267)
- Add response trailers for the bandwidth limit filter delays. - Add new metric request_enforced and response_enforced. - Change the following metrics type from Gauge to Counter (request_incoming_size, response_incoming_size, request_allowed_size, response_allowed_size) to better calculate the network bytes per second. This is useful when downstream want to understand how much delays that is caused by bandwidth limit filter. Risk Level: Low Testing: UT added. Docs Changes: Updated. Release Notes: Added. Signed-off-by: gayang <gayang@microsoft.com> Mirrored from https://github.com/envoyproxy/envoy @ 8b8ece8adb8c9282cbd9405151993fa1bc5cebeepull/626/head
parent
bd6e31fe1f
commit
ee95d36f0c
1 changed files with 16 additions and 1 deletions
Loading…
Reference in new issue