-
Notifications
You must be signed in to change notification settings - Fork 206
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: hotspot recorder #774
Conversation
# Conflicts: # server/src/config.rs # server/src/grpc/mod.rs # server/src/grpc/storage_service/mod.rs # server/src/limiter.rs # server/src/server.rs
Codecov Report
@@ Coverage Diff @@
## main #774 +/- ##
==========================================
+ Coverage 68.18% 68.32% +0.14%
==========================================
Files 295 299 +4
Lines 46880 47351 +471
==========================================
+ Hits 31963 32353 +390
- Misses 14917 14998 +81
... and 5 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Co-authored-by: chunshao.rcs <worcsrcsgg@163.com>
Co-authored-by: WEI Xikai <ShiKaiWi@users.noreply.github.com>
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
* block all query * warnings * unit test && resolve clippy * integration test * resove merge * chore * add write fields stat * comment * toml sort dependency * refact * use clru * resoolve test * chore * license * Update server/src/proxy/hotspot.rs Co-authored-by: chunshao.rcs <worcsrcsgg@163.com> * chore * Update server/src/proxy/hotspot.rs Co-authored-by: WEI Xikai <ShiKaiWi@users.noreply.github.com> * rm verbose comment * chore * chore * fmt * test * fix * chore --------- Co-authored-by: chunshao.rcs <worcsrcsgg@163.com> Co-authored-by: WEI Xikai <ShiKaiWi@users.noreply.github.com>
Which issue does this PR close?
Closes #
Rationale for this change
When CeresDB becomes overloaded, users may need to identify which table is contributing the most load. In this scenario, It is useful to log hotspot write requests or read requests.
What changes are included in this PR?
Add log statistics of hotspot write requests or read requests.
Are there any user-facing changes?
None
How does this change test
By unit tests