-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
refactor: Use package local metrics #1605
base: main
Are you sure you want to change the base?
Conversation
9d1d131
to
54b3271
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1605 +/- ##
==========================================
- Coverage 93.88% 93.85% -0.04%
==========================================
Files 78 80 +2
Lines 6361 6574 +213
==========================================
+ Hits 5972 6170 +198
- Misses 300 320 +20
+ Partials 89 84 -5 ☔ View full report in Codecov by Sentry. |
I'm working on an improvement to the tests using the client_golang testutil. |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
Not really stale, but I haven't had a chance to work on the coverage change. |
Part 2 (0xERR0R#1578) Improve performance of metrics by moving them to the package that needs them. This reduces the overhead to a simple atomic increment for basic counters like cache hits/misses. This also uses `promauto` to avoid the second step of having to register metrics. Signed-off-by: SuperQ <superq@gmail.com>
54b3271
to
823c916
Compare
@0xERR0R, how do you feel about the coverage change here? |
Part 2 (#1578)
Improve performance of metrics by moving them to the package that needs them. This reduces the overhead to a simple atomic increment for basic counters like cache hits/misses. This also uses
promauto
to avoid the second step of having to register metrics.