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 193 forks source link

add request_time metric to access logs, BREAKING CHANGE #1114

Closed Keksoj closed 4 months ago

Keksoj commented 5 months 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.