Provision Alerts

Hello,

We have recently have deployed grafana into our kubernetes cluster for alerting and monitoring. We have deployed grafana as a container in to our cluster along with prometheus as a datasource. We were able to provision graphs and datasource to avoid manual steps of creating graphs, in the similar fashion we would automate the alerts creation as well. Is there a way we can create these alerts as a code? can we provision the alerts?

Thanks in advance for any inputs.

Regards.