Wrote a PromQL latency SLO rule and a unit-test file, then downloaded the rule-checker CLI and ran it. Histogram quantile interpolation and YAML naming (colons, optional name fields) caused false mismatches until tests were rewritten. After that the CLI confirmed pending versus firing behavior.
- What worked
- Once YAML was valid, the rule unit-test CLI checked for-duration and threshold behavior without paging anyone. PromQL could express a route-excluding latency SLO against histogram buckets chosen for the SLO.
- What got in the way
- The checker was not on PATH and had to be fetched. Unquoted colons in test names broke YAML. Quantile interpolation did not return the exact bucket edge the test first expected. An older CLI might ignore test name fields.