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

monitoring: add support for custom prometheus rules file #247

Open
tarzanek opened this issue Jun 15, 2023 · 1 comment
Open

monitoring: add support for custom prometheus rules file #247

tarzanek opened this issue Jun 15, 2023 · 1 comment

Comments

@tarzanek
Copy link
Collaborator

since monitoring 4.x you can provide a rule file into prom_rules
directory and it will be picked up

this opens a way for providing custom alerts on top of the provided ones from monitoring bundle
please add support for this

@tarzanek tarzanek changed the title add support for custom prometheus rules file monitoring: add support for custom prometheus rules file Jun 15, 2023
@tarzanek
Copy link
Collaborator Author

I think we need custom name of the file (with some sane default, ev. with a way to disable/enable this):
https://github.com/scylladb/scylla-ansible-roles/blob/master/ansible-scylla-monitoring/defaults/main.yml#L52

the actual cp code can be added after this:
https://github.com/scylladb/scylla-ansible-roles/blob/master/ansible-scylla-monitoring/tasks/common.yml#L151
(perhaps with a name check for collission in file names?)

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

No branches or pull requests

1 participant