Git Sync (Pure Git): When will alert provisioning be supported, and is there any way to save new alerts into the provisioned repository?

Hi,

I am currently testing the new Git Sync / Pure Git feature in Grafana and I have a question about alerting support.

From what I understand, Git Sync currently supports provisioning for dashboards and folders, but not for Grafana-managed alerts.

My main questions are:

  1. Is there any roadmap or ETA for alert provisioning support in Git Sync / Pure Git?

  2. Is there any known workaround that allows newly created alerts to be saved back into the provisioned Git repository?

In my case, I can provision dashboards from Git Sync, but when creating alerts from those dashboards, it seems they are not being stored within the provisioned repository structure. I also noticed that the expected dashboard folder is not always being picked up the way I would expect during alert creation.

We are specifically talking about Pure Git / Git Sync, not the legacy file provisioning approach.

Has anyone found a good pattern or workaround for this?

For example:

  • saving alerts back to Git automatically,

  • keeping alerts logically tied to Git-synced dashboards,

  • or making alert folders align with the provisioned dashboard structure.

Thanks in advance for any clarification.

workaround : exporting the alert rule definition from the Grafana UI and adding it to your YAML/JSON provisioning files.

1 Like

Yes, I know this workaround, but to be completely honest, I am interested in when it will be implemented in gitsync

1 Like

The roadmap does not mention a specific date but just says it is planned for the future

:thinking:

1 Like

@gstezaly - thank you for trying git sync! no dates for alerting support just yet, but this is the github issue to show love to: Alerting: Support for GitSync · Issue #120686 · grafana/grafana · GitHub :slight_smile:

1 Like