How to add Recording Rules and Alerting Rules in mimir Ruler? #2827
Answered
by
dimitarvdimitrov
luvpreetsingh
asked this question in
Help and support
-
Hi, I am a bit confused about adding recording rules to mimir ruler? Does it use prometheus rules? Can I add separate recordingrules and alertingrules to ruler using some configmap or a file? or maybe using some CRD? How can I provision the rules without the UI? |
Beta Was this translation helpful? Give feedback.
Answered by
dimitarvdimitrov
Aug 24, 2022
Replies: 1 comment 3 replies
-
The ruler uses prometheus rules, yes. But the format for uploading them is very slightly different from the vanilla prometheus formal. You can use the |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
pracucci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ruler uses prometheus rules, yes. But the format for uploading them is very slightly different from the vanilla prometheus formal. You can use the
mimirtool rules load
ormimirtool rules load
commands to create and delete rules. The docs are here