cloudflare / pint

Prometheus rule linter/validator
https://cloudflare.github.io/pint/
Apache License 2.0
880 stars 53 forks source link

Validate ignoreLabelsValue #1060

Closed prymitive closed 3 months ago

github-actions[bot] commented 3 months ago

Benchmark diff:

goos: linux
goarch: amd64
pkg: github.com/cloudflare/pint/cmd/pint
cpu: AMD EPYC 7763 64-Core Processor                
              │   old.txt   │              new.txt               │
              │   sec/op    │   sec/op     vs base               │
FindEntries-4   38.25m ± 6%   38.23m ± 4%       ~ (p=0.739 n=10)
CheckRules-4     8.522 ± 2%    8.521 ± 2%       ~ (p=0.853 n=10)
geomean         570.9m        570.8m       -0.02%

              │   old.txt    │               new.txt               │
              │     B/op     │     B/op      vs base               │
FindEntries-4   27.39Mi ± 0%   27.39Mi ± 0%       ~ (p=0.436 n=10)
CheckRules-4    941.7Mi ± 0%   942.1Mi ± 0%       ~ (p=0.280 n=10)
geomean         160.6Mi        160.6Mi       +0.02%

              │   old.txt   │              new.txt               │
              │  allocs/op  │  allocs/op   vs base               │
FindEntries-4   131.6k ± 0%   131.6k ± 0%       ~ (p=0.421 n=10)
CheckRules-4    13.97M ± 0%   13.98M ± 0%       ~ (p=0.105 n=10)
geomean         1.356M        1.356M       +0.01%
codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.76%. Comparing base (c095cda) to head (5b8c8c2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1060 +/- ## ======================================= Coverage 94.75% 94.76% ======================================= Files 99 99 Lines 9960 9963 +3 ======================================= + Hits 9438 9441 +3 Misses 366 366 Partials 156 156 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.