Where to start First steps track · 15 stages
Linux Labs

Observability: metrics, alerts, logs

Final test: Observability: metrics, alerts, logs

Question 7 of 18
Leave the quiz

Read the output

The /etc/prometheus/rules/disk.yml file with the rule is in place and passes promtool check rules. What makes Prometheus check it?

$ grep -A1 rule_files /etc/prometheus/prometheus.yml
rule_files:
  # - "first.rules"
$ curl -s localhost:9090/api/v1/rules | jq .data
{
  "groups": []
}
Back A–D or ↵ Sign in to answer
Loading…