Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add request_time metric to access logs, BREAKING CHANGE #1114

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

Keksoj
Copy link
Member

@Keksoj Keksoj commented Jun 19, 2024

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.

command/src/command.proto Outdated Show resolved Hide resolved
command/src/command.proto Outdated Show resolved Hide resolved
fix the response_time metric, request_time was wrongly assigned to it
instead, response_time is assigned the value of backend_response_time

Co-Authored-By: Eloi DEMOLIS <[email protected]>
Copy link

@llenotre llenotre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@Keksoj Keksoj dismissed FlorentinDUBOIS’s stale review July 17, 2024 15:55

I applied the change, and it was approved by @llenotre

@Keksoj Keksoj merged commit e6b3a81 into main Jul 17, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants