Commit b9fc40d4 authored by Michael Stapelberg's avatar Michael Stapelberg

Fix rule_checker example

-ruleFile doesn’t exist, and the existing -rule-file flag is deprecated in https://github.com/prometheus/prometheus/commit/c4e762adbf6ee7f8fd24af8dc584a64d14974a7e
parent b484abd8
......@@ -21,7 +21,7 @@ a Prometheus server, install and run Prometheus's `rule_checker` tool:
go get -u github.com/prometheus/prometheus
go install github.com/prometheus/prometheus/tools/rule_checker
rule_checker -ruleFile=/path/to/example.rules
rule_checker /path/to/example.rules
```
When the file is syntactically valid, the checker prints a textual
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment