github cloudflare/pint v0.86.0

6 hours ago

Added

  • Added promql/nan check.

Changed

  • promql/vector_matching was refactored heavily
    to be faster and more accurate.

Fixed

  • Fixed false positive reports from promql/impossible
    when functions like abs(), clamp_min(), hour(), ln(),
    histogram_quantile(), or timestamp() wrap aggregations that already remove
    labels.
  • Fixed a crash in promql/aggregate when
    name regexp is not set.
  • Fixed alerts/template not populating
    $annotations map, causing template expansion to always return
    empty values for annotation references.
  • Fixed rule/label not matching regex key
    patterns on recording rules.
  • Fixed bare # pint disable promql/series comments having no effect
    on promql/series checks.
  • Fixed pint_rule_file_owner metric using symlink target path instead
    of symlink name, making it inconsistent with pint_problem metric.
  • Fixed swapped label name and URL in
    promql/vector_matching error message
    when both sides of a binary operation are missing a label.
  • Fixed false positive promql/range_query
    reports when Prometheus retention flag cannot be parsed.
  • Fixed promql/counter not checking bare
    counter metrics used without any wrapping function.

Don't miss a new pint release

NewReleases is sending notifications on new releases.