~/lightning

Prometheus rules validation one step further

Lightningat PromCon Online 2021 · on Monday, 2021-05-03· [testing, developer-experience]
slides:none on file

Promoval is a CLI that validates Prometheus alert and recording rule files against a YAML of concrete checks and fails with human‑readable errors. It enforces label presence and allowed values, validates annotations (including annotation contains valid URL and optional URL resolution), and analyzes PromQL (it parses PromQL to detect issues such as does_not_use_older_data_than retention or range vectors shorter than scrape intervals). Rules can be disabled via annotation or flag, and docs export to HTML/MD/text.

AI-written summary · about

  1. 0:00Start
  2. 1:00Rule validation
  3. 2:41Supported validators
  4. 4:18Disabling validation rules
  5. 4:35Readable validation description
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.