Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: re-registring of cache metrics #454

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

kotharironak
Copy link
Contributor

As part of my previous PR: #453, I assumed that the api registerCacheTrackingOccupancy only register max cache size gauge metrics. But, as pointed out in PR comment, it also register input cache for metrics.

As part of this PR, addressing the comment of registration of same cache twice.

This comment has been minimized.

Copy link

codecov bot commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (01567e3) 79.62% compared to head (7863a9f) 79.58%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #454      +/-   ##
============================================
- Coverage     79.62%   79.58%   -0.05%     
+ Complexity     1435     1431       -4     
============================================
  Files           130      130              
  Lines          5709     5697      -12     
  Branches        533      533              
============================================
- Hits           4546     4534      -12     
  Misses          911      911              
  Partials        252      252              
Flag Coverage Δ
unit 79.58% <100.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kotharironak kotharironak merged commit a3263ca into main Feb 19, 2024
11 checks passed
@kotharironak kotharironak deleted the fix-double-registration-cache-metrics branch February 19, 2024 10:36
Copy link

Unit Test Results

  79 files  ±0    79 suites  ±0   1m 9s ⏱️ +2s
421 tests ±0  421 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit a3263ca. ± Comparison against base commit 01567e3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants