Alert Rules not displaying on grafana dashboard after switching from Prometheus to Thanos sidecar as datasource (refer attached snapshot). Alerts are being fired as expected to notification channels but are not being shown/visible on the Alerts rule tab of grafana dashboard.
Grafana Version - 8.3.6
Thanos version- 0.17.2
Prometheus version - 2.44.0
We have tried upgrading Grafana to 9.0.2, 8.3.6, and 10.0.0 but that also did not help.
Please suggest what can be the issue/cause. How can we fix this.