Prometheus rules validation one step further
summary
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
chapters (5)
- 0:00Start
- 1:00Rule validation
- 2:41Supported validators
- 4:18Disabling validation rules
- 4:35Readable validation description
related talks
05mLightning Talk: How We Validate User Initiated Config Changes in Promet...
28mChaos Validation Made Easy
02mLightning Talk: Ul To Debug Target Relabeling Rules
05mPromstat, a CLI tool to analyse exporters
48mBeyond the Prompt: Evaluating, Testing, and Securing LLM Applications
24mAugmented API Design Review with OpenAPI and Spectral
29mReverse-Engineering PromQL Usage: A Proxy’s Tale
27mRules_lint: Formatting and Linting All Languages
