Hello All, Is it possible to export a rule group from the Alert Rules section via the UI and import it into another Grafana instance? I can see an “export rule group” button that allows exporting to JSON, YAML, or Terraform, but there doesn’t seem to be an option to import them. How can this be done?
Hi to import the rules you exported you need to place the YAML or JSON into the provisioning/alerting directory of your Grafana filing system. more info here https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/file-provisioning/
I am using grafana operator with postgres DB with no PVC. Do we have to set provisioning/alerting folder to use a PVC?
Im not sure as I use terraform to deploy all my rules but it appears you would need a pvc.
Thanks I ended up in exporting it as terraform and importing it. As it was bit tricky to define a pvc for grafana operator.