Grafana alert rule with file provisioning not showing all instances in UI

Hi,

I’m creating alert rule groups and the alert rules that are associated to them using some JSON templates that I’m then adding to a filesystem mounted in a Grafana container where the alerting file provisioner can pick them up. This seems to be working fine and my alerts are being created once I add the files and reload the alerting config.

The alerts are using an Azure Monitor datasource. I am adding around 20 instances to the same alert by selecting multiple resources in my query. I can see that the JSON does reflect this when I view it in the Grafana UI (using the view button) but then when I look at the “Instances” tab for that same alert, it only shows 12 instances. This number also tends to fluctuate between 10 - 13 but never gets higher than that.

I’m not quite sure what’s going on, any ideas?

Thanks