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
2.92k stars 188 forks source link

add request_time metric to access logs, BREAKING CHANGE #1114

Open Keksoj opened 2 weeks ago

Keksoj commented 2 weeks ago

As described in #1112, there was no request_time metric available (time between first byte received and last byte sent). The value was computed, but wrongly assigned to the response_time metric.

This PR fixes it, and now, response_time has a better meaning and accurate value: the time between connecting to the backend and finishing the response.

We could even rename request_time to a more fitting session_time.