I’ve got a test alert rule set up, which in the logs shows to be firing, but it is giving me the error msg=“Rule evaluation result discarded” err=unimplemented
No other logs are output to determine what the problem is.
I’ve got a test alert rule set up, which in the logs shows to be firing, but it is giving me the error msg=“Rule evaluation result discarded” err=unimplemented
No other logs are output to determine what the problem is.
Here is my alert config:
alerting_groups:
- name: test
rules:
- alert: TestAlert
expr: |
1 + 1
for: 1m
labels:
severity: critical
category: logs
annotations:
summary: "This is a test alert"
Here is my ruler config:
ruler:
storage:
type: local
local:
directory: /rules
rule_path: /tmp/scratch
alertmanager_url: http://prometheus-alertmanager:9093
ring:
kvstore:
store: inmemory
enable_api: true
Here is my alertmanager config for routing:
route:
group_by: ["alertname", "job"]
group_wait: 30s
group_interval: 5m
repeat_interval: 6h
receiver: "discord"
routes:
- receiver: "null"
match:
alertname: Watchdog
- receiver: "discord"
match_re:
severity: critical
continue: true
This can be safely ignored; the log message is misleading and has been corrected in later versions of Loki (coming soon). It is relating to recording rules, and remote-writing samples to Prometheus.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.