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

Separate increase rules into separate rule group with higher interval #139

Merged
merged 3 commits into from
Feb 21, 2022

Conversation

metalmatze
Copy link
Member

This should especially make a difference on Prometheus CPU load.
Rather than evaluating these increase(...[4w]) every 30s we relax this interval depending on how long the SLO's time window is, such that within e.g. 2m over the 4w not toooo much will change.

@metalmatze
Copy link
Member Author

Seems to work just fine on https://demo.pyrra.dev/ for the last almost day.
CPU time has also halved. ☺️

prom

@metalmatze metalmatze merged commit 983ab5b into release-0.3 Feb 21, 2022
@metalmatze metalmatze deleted the separate-increase-rules branch February 21, 2022 14:07
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.

None yet

1 participant