Manage lifecycle of SLO #628
Unanswered
victor-smg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
At my company we plan to use Sloth to generate SLOs with
http_request_duration_seconds_count
for all apps and handlers.For this I made a cronjob that:
'query': 'count by (app, handler) (http_request_duration_seconds_count)'
At first glance this process works, but when a handler gets deleted we still keep it and it breaks dashboard.
Because we only add new rules, we keep rules where there is no metric anymore.
Would you recommend to add a logic in the cronjob to delete all SLOs rules where there is no metric (at risk of deleting SLOs if something goes bad in metric retrieval), or have manual clean-up process regularly?
Also does someone else generates its SLO in similar way?
Beta Was this translation helpful? Give feedback.
All reactions