How to configure alerts (alertng) without UI?

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    I’m using helm charts to create my grafana env. I can set datasources and dashboard in configuration but I don’t find any informations to configure alert rules/contact points/… the same way.

We have many alertrule with multiple requests and it’s very painfull to copy all the configuation on multiple environments with the UI.
How can we copy and set it up without UI ?