Skip to content

fix: metrics should be protected behind authZ

This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/project failed Oct 20, 2023 in 1s

91.85% (-0.03%) compared to a44ca57

View this Pull Request on Codecov

91.85% (-0.03%) compared to a44ca57

Details

Codecov Report

Merging #1895 (7b1441d) into main (a44ca57) will decrease coverage by 0.03%.
The diff coverage is 88.37%.

@@            Coverage Diff             @@
##             main    #1895      +/-   ##
==========================================
- Coverage   91.87%   91.85%   -0.03%     
==========================================
  Files         155      155              
  Lines       26678    26701      +23     
==========================================
+ Hits        24511    24525      +14     
- Misses       1603     1611       +8     
- Partials      564      565       +1     
Files Coverage Δ
pkg/api/authn.go 95.71% <100.00%> (ø)
pkg/api/config/config.go 97.35% <ø> (ø)
pkg/api/routes.go 94.50% <100.00%> (ø)
pkg/extensions/extension_metrics.go 100.00% <100.00%> (ø)
pkg/extensions/extension_metrics_disabled.go 100.00% <100.00%> (ø)
pkg/api/authz.go 94.00% <86.11%> (-1.64%) ⬇️

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more