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

fix(apiserver-duration): compute average of duration #63

Merged
merged 1 commit into from
Sep 14, 2023

Commits on Sep 8, 2023

  1. fix(apiserver-duration): compute average of duration

    without the fix, the dashboards show the cumulative duration
    of all buckets, which doesn't make much sense.
    with the fix, we divide the total duration by the number of requests,
    which yields the average latency. note that we could also have used
    `_duration_seconds_bucket{le="+Inf"}` instead of `duration_seconds_sum`
    
    Signed-off-by: Clément Nussbaumer <[email protected]>
    clementnuss committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    3393607 View commit details
    Browse the repository at this point in the history