Releases: FUSAKLA/promruval
Releases · FUSAKLA/promruval
v3.13.0
- Fixed: Initial Empty cache file handling (formerly reported invalid warning in logs)
- Fixed: Bearer token file loading from config file path when multiple validation config files were used.
- Added: New config option
prometheus.disableCacheto disable usage of Prometheus query cache.
v3.12.0
- Added: New flag
--disable-parallelizationto disable parallel execution of validations.
v3.11.0
- Changed: Validations are now executed in parallel to speed up the validation process.
- Changed: Sort the reports fiels, groups, rules by names for a predictable output.
v3.10.0
⚠️ Changed:paramsfield of all validators from now on does not allow unknown fields, to avoid typos and mistakes.- Added: New param
negativeto all validators that does regexp matching named*MatchesRegexpto invert the matching logic.
For example withnegative: truethealertNameMatchesRegexpvalidator will check that the alert name does NOT match the regexp. - Fix: Some params were not loaded correctly from the config file in some validators, this is now fixed.
- Changed: Bump go version to 1.25.4
v3.9.0
- Fixed: JSON and Yaml output format of the
promruval validatecommand. - Changed: Bump go version to 1.24.1
- Changed: Switch to golangci-lint v2
⚠️ Changed: Upgrade Prometheus dependencies to 3.3.1- UTF-8 support for label names, rule names, and label_replace(). (enjoy your
{"metric.🔥","label^💩"="baz 🤌"}) - Support for using go duration in PromQL and doing operations on it, e.g.
(uptime - time()) > 1h+5m.
- UTF-8 support for label names, rule names, and label_replace(). (enjoy your
- Added: New validation
doesNotContainTyposto check for typos in well known terms, see its documentation. - Added: New parameter
asTemplatein theannotationIsValidURLvalidation.
v3.8.0
- Added: New option
onlyIfto the validation rule config allowing to specify conditions that must be met for the rule to be applied. See the docs or examples. - Fixed: Unified text validation description in running
promruval validateandpromruval validation-docs -o text - Fixed: Some minor validations descriptions fixes
- Fixed: In the validation description use
Ruleinstead ofAll rulesfor the all rules scope - Refactor: Improve unmarshaling, validation and defaults for regexp params of validators
v3.7.0
- Added: New validation
expressionDoesNotUseLabelsForMetricRegexp - Added: New validation
expressionUsesOnlyAllowedLabelValuesForMetricRegexp
v3.6.2
- Fixed: Invalid internal name of the
newExpressionDoesNotUseClassicHistogramBucketOperationsvalidator causing that it wasn't possible to disable the validator
v3.6.1
- Fixed: FIxed the
expressionUsesOnlyAllowedLabelsForMetricRegexpvalidator that might return false positives when used on more complex expressions with vector matching and functions using labels.
v3.6.0
- Added: Configuration file can now be in Jsonnet format if the config file name ends with
.jsonnetand it will get automatically evaluated.