Mimir Ruler API unable to list rules with local storage #6639
Replies: 5 comments 5 replies
-
the line in the docs "Note: Local storage is a read-only backend that does not support the creation and deletion of rules through the [Configuration API]" implies to me that when using local storage the Ruler doesn't respond to API requests (I may be mistaken but I think mimirtool is using the configuration API in the same way that Grafana would). |
Beta Was this translation helpful? Give feedback.
-
@rknightion i saw that, however what i was trying to do is a “GET”. if the API is completely disabled ( plus unable to to integrate with Grafana Alerting) for local backend then that’s a huge liability which should be stipulated on the docs. |
Beta Was this translation helpful? Give feedback.
-
I am not sure how your configmap looks like, but have you tried mounting the rules under
The list rules API is supported (used by |
Beta Was this translation helpful? Give feedback.
-
@dimitarvdimitrov yes, I have tried two ways. If I mount under |
Beta Was this translation helpful? Give feedback.
-
in this case you should keep |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I using Mimir 2.10.0 and deployed it using the "mimir-distributed-5.0.0" helm chart on k8s. I problem is that i can't see the Grafana mimir rules on Grafna UI nor by using the "mimirtool", the error is
body="unable to read rule dir /tmp/rules/anonymous: open /tmp/rules/anonymous: no such file or directory\n"
the command is:
./mimirtool rules list --address=http://url.com --id=anonymous
The rules are inside a Cofigmap in k8s.
To Reproduce
Steps to reproduce the behaviour:
Expected behavior
According to https://grafana.com/docs/mimir/latest/references/architecture/components/ruler/#local-storage, was expected for this to work automatically.
Additional Context
I want to add that the rules are seen by the alertmanager and everything is good on that part, but I would like a way to see the rules.
Beta Was this translation helpful? Give feedback.
All reactions