Hi all,
I have managed to configure Loki ruler (via loki chart) and alerting rules, and yes, they fire and are visible in Grafana deployed via kube-prometheus-stack chart.
I wonder though why I cannot see the alert or alert groups in the Alertmanager itself?
Here is my loki values config:
rulerConfig:
storage:
type: local
local:
directory: /var/loki/rulestorage
rule_path: “/var/loki/rules-temp”
alertmanager_url: http://alertmanager-operated.monitoring.svc.cluster.local:9093
enable_alertmanager_v2: true
ring:
kvstore:
store: inmemory
enable_api: true
singleBinary:
replicas: 1
extraVolumeMounts:
- name: rules
mountPath: “/var/loki/rulestorage/fake”
extraVolumes:
- name: rules
configMap:
name: loki-alerting-rules
As said, they do fire, but AlertManager UI from the kube-prometheus-stack does not show the alerts as “firing” (or even at all)
Any ideas?
Thanks!