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/anonymousWhat am I missing ? regards |
Replies: 1 comment 4 replies
|
I would recommend you to upload the rules configuration file using Could you give a try to |
I would recommend you to upload the rules configuration file using
mimirtoolinstead of manually crafting the request withcurl:https://grafana.com/docs/mimir/latest/operators-guide/tools/mimirtool/#rules
Could you give a try to
mimirtooland let us know if it fits your use case, please?