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 availability apiserver_request_sli_duration_seconds_count:increase30d #998

Merged

Conversation

lorenzofelletti
Copy link
Contributor

@lorenzofelletti lorenzofelletti commented Dec 15, 2024

In #976 I introduced a bug because I didn't remove the multiplication by * 24 * SLODays from the count expression, despite it now relying on the bucket infinity of the (already multiplied) one.
This causes the apiserver_request_sli_duration_seconds_count to end up being multiplied twice by * 24 * SLODays, leading to the faulty Availability calculations reported in:

This PR should fix the error

@povilasv
Copy link
Contributor

@lorenzofelletti CI is failing

@lorenzofelletti
Copy link
Contributor Author

@povilasv addressed!

Copy link
Collaborator

@skl skl left a comment

Choose a reason for hiding this comment

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

Thank you, lgtm

@skl skl merged commit b726a91 into kubernetes-monitoring:master Dec 16, 2024
8 of 9 checks passed
@lorenzofelletti lorenzofelletti deleted the fix/apiserver-avail-rules branch December 16, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants