sozu-proxy / sozu

Sōzu HTTP reverse proxy, configurable at runtime, fast and safe, built in Rust. It is awesome!
https://www.sozu.io/
GNU Affero General Public License v3.0
3.12k stars 194 forks source link

fix cluster metrics #1015

Closed Keksoj closed 1 year ago

Keksoj commented 1 year ago

The metrics get function would present backend metrics as cluster metrics, which is a bug.

This PR changes the structure of the local metrics drain, into a more explicite one, to be more readable and debuggable