Failed to load rules config from Prometheus: Ruler API is not available for Prometheus

Getting the following error at times on the alert rules page:

Failed to load rules config from Prometheus: Ruler API is not available for Prometheus

I refresh the page and it goes away. What is this error?

Prometheus may have own alerts and you may have manage them via Grafana. But your Prometheus doesn’t have alerting available (or you don’t have permissions to do that), so disable Manage alerts via Alerting UI in the datasource config:

Awesome thank you!