-
Notifications
You must be signed in to change notification settings - Fork 707
feat: add metrics for hummock get latency #166
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #166 +/- ##
============================================
+ Coverage 74.50% 74.64% +0.13%
Complexity 2654 2654
============================================
Files 833 834 +1
Lines 47779 47895 +116
Branches 1562 1562
============================================
+ Hits 35600 35752 +152
+ Misses 11380 11344 -36
Partials 799 799
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
skyzh
left a comment
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!
| self.stats.get_key_size.observe(key.len() as f64); | ||
|
|
||
| let timer = self.stats.get_latency.start_timer(); | ||
| let value = self.get_snapshot().await?.get(key).await?; |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
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.
no problem at all, my fault #169
What's changed and what's your intention?
add metrics for hummock get latency
Checklist
Refer to a related PR or issue link (optional)