Skip to content

Releases: FUSAKLA/promruval

v3.13.0

05 Feb 22:48
5aa3169

Choose a tag to compare

  • 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.disableCache to disable usage of Prometheus query cache.

v3.12.0

05 Feb 22:47
c30a1c0

Choose a tag to compare

  • Added: New flag --disable-parallelization to disable parallel execution of validations.

v3.11.0

04 Feb 14:29

Choose a tag to compare

  • 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

11 Nov 12:09
106047c

Choose a tag to compare

  • ⚠️ Changed: params field of all validators from now on does not allow unknown fields, to avoid typos and mistakes.
  • Added: New param negative to all validators that does regexp matching named *MatchesRegexp to invert the matching logic.
    For example with negative: true the alertNameMatchesRegexp validator 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

29 Sep 08:21

Choose a tag to compare

  • Fixed: JSON and Yaml output format of the promruval validate command.
  • 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.
  • Added: New validation doesNotContainTypos to check for typos in well known terms, see its documentation.
  • Added: New parameter asTemplate in the annotationIsValidURL validation.

v3.8.0

06 Mar 13:05

Choose a tag to compare

  • Added: New option onlyIf to 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 validate and promruval validation-docs -o text
  • Fixed: Some minor validations descriptions fixes
  • Fixed: In the validation description use Rule instead of All rules for the all rules scope
  • Refactor: Improve unmarshaling, validation and defaults for regexp params of validators

v3.7.0

25 Feb 20:23

Choose a tag to compare

  • Added: New validation expressionDoesNotUseLabelsForMetricRegexp
  • Added: New validation expressionUsesOnlyAllowedLabelValuesForMetricRegexp

v3.6.2

07 Feb 09:02

Choose a tag to compare

  • Fixed: Invalid internal name of the newExpressionDoesNotUseClassicHistogramBucketOperations validator causing that it wasn't possible to disable the validator

v3.6.1

01 Dec 22:46
2168dc2

Choose a tag to compare

  • Fixed: FIxed the expressionUsesOnlyAllowedLabelsForMetricRegexp validator that might return false positives when used on more complex expressions with vector matching and functions using labels.

v3.6.0

01 Dec 22:39
6401cfa

Choose a tag to compare

  • Added: Configuration file can now be in Jsonnet format if the config file name ends with .jsonnet and it will get automatically evaluated.