kube-prometheus
kube-prometheus copied to clipboard
Grafana alert-rules provisioning
What is missing? Is there a way to provision Grafana alert rules just like dashboards?
-
kube-prometheus version:
latest
Anything else we need to know?:
As per https://grafana.com/blog/2022/08/25/new-in-grafana-alerting-file-provisioning/, they recently added this feature. Made the below change to try it out.
As of now, I can see the /etc/grafana/provisioning/alerting folder being created after the Grafana pod comes up, but using the template/example from https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml#L516 the alert was not provisioned.
Tried using the extraConfigmap option as well, but that did not work too. If making the image change, and adding your template worked, please share it here for reference.
Cheers.