Skip to content

Conversation

@douglascamata
Copy link
Contributor

@douglascamata douglascamata commented Sep 18, 2023

While working on some useful alerts for the project I stumbled upon the fact that the obsctl_reloader_prom_rule_sets_total metric, described as Total number of obsctl set operations for monitoringv1 rules. is in fact only counting the operations that succeeded.

To facilitate the definition of alerts based on percentage of failures over total rule sets, I propose to always increment obsctl_reloader_prom_rule_sets_total, even when requests fail.

@coleenquadros
Copy link
Contributor

Lgtm

@philipgough philipgough merged commit 8c84398 into rhobs:main Sep 19, 2023
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