Unable to post alert rule group to Mimir set rule group endpoint #1852
-
Hi, I am learning the use of Mimir. I have enabled Alertmanager in monolithic mode, with multi-tenancy disabled. I have also configured Mimir alertmanager using its HTTP API endpoint. I have now $ curl -d @cpu_overuse.yaml -H "Content-Type: application/yaml" http://<ENDPOINT-IP>:9009/prometheus/config/v1/rules/anonymous What am I missing ? regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I would recommend you to upload the rules configuration file using Could you give a try to |
Beta Was this translation helpful? Give feedback.
I would recommend you to upload the rules configuration file using
mimirtool
instead of manually crafting the request withcurl
:https://grafana.com/docs/mimir/latest/operators-guide/tools/mimirtool/#rules
Could you give a try to
mimirtool
and let us know if it fits your use case, please?