-
Notifications
You must be signed in to change notification settings - Fork 334
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
feat: Add metrics for cache hit/miss for object store cache #1405
Conversation
@nearsyh Thanks a lot for your contribution, there are some minor suggestions. |
Codecov Report
@@ Coverage Diff @@
## develop #1405 +/- ##
===========================================
- Coverage 86.00% 85.42% -0.58%
===========================================
Files 533 534 +1
Lines 79474 79521 +47
===========================================
- Hits 68350 67934 -416
- Misses 11124 11587 +463 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@killme2008 Just to confirm, is there anything else I need to do for this PR? |
@nearsyh Thx, I'm going to merge this as all checks have passed. |
@nearsyh Congrats on your first PR! Thank you. |
…Team#1405) * Add the cache hit/miss counter * Verify the cache metrics are included * Resolve comments * Rename the error kind label name to be consistent with other metrics * Rename the object store metric names * Avoid using glob imports * Format the code * chore: Update src/object-store/src/metrics.rs mod doc --------- Co-authored-by: Yingwen <realevenyag@gmail.com>
I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
Add two cache metrics to record cache hit/miss. #1276
Please explain IN DETAIL what the changes are in this PR and why they are needed:
Note: I'm not sure about these:
Checklist
Refer to a related PR or issue link (optional)
#1276