Errors loading rules Failed to load the data source configuration for Loki: Unable to fetch alert rules. Is the Loki data source properly configured?

i am getting below error in grafana UI
Errors loading rules

Failed to load the data source configuration for [Loki]

details

 ruler:
      storage:
        type: local
        local:
          directory: /etc/loki/rules
      ring:
        kvstore:
          store: memberlist
      rule_path: /tmp/loki/scratch
      alertmanager_url: http://prom-op-alertmanager.monitoring.svc.cluster.local:9093
      external_url: https://alertmanager.xx

Hi @sachinmane

You’ll need to add the enable_api: true setting for the ruler in order to enable the API, which Grafana uses to load the rules.

thanks for the reply . let me try this and will update you

Any suggestion for the above issue ?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.