You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
promql/regexp check severity was reduced from bug to a warning.
This release contains some major changes to the way problems are reported by pint.
Each problem might now point to the specific part of the PromQL query that caused the issue
rather than just the line range on which the query is defined. Most, but not all, checks
were updated to emit more detailed problem descriptions.
Fixed
Improved the logic of promql/series check to skip checks on some selectors
which absence might be expected. For example using foo unless bar will now only have foo
tested while bar is ignored by this check. This is because the query implies that bar
might be present or missing and depending on that foo is evaluated.
Don't report regexp matchers with only digits in them ({code=~"5.*"}) as smelly in promql/regexp check.