Create Alert Rules against Synthetic Monitroing using Terraform

Hi :wave:

I’m trying to create alert rules that are fired when probes fail to reach configured HTTP endpoints. I’m unable to import the default rules generated by the Synthetic Monitoring plugin into a terraform config.

An example that converts the following rule into terraform config would be helpful: Alerting rules | Prometheus

Thanks!

Welcome to the :grafana: community @satya1!

Have you seen the docs below? The example isn’t specific to SM, but it gives you a starting point for creating a rule as a terraform config.