-
Notifications
You must be signed in to change notification settings - Fork 706
feat(metrics): add relation busy rate to dashboard #23730
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
base: main
Are you sure you want to change the base?
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
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.
Pull Request Overview
This PR adds relation-level busy rate metrics to the Grafana dashboard by aggregating actor busy rates per materialized view. The change refactors existing actor busy rate logic into reusable functions and introduces new dashboard panels showing relation busy rates at multiple time intervals.
Key Changes
- Refactored
_actor_busy_rate_alt_targetinto separate_actor_busy_rate_exprand_actor_busy_rate_targetfunctions for code reuse - Added
_relation_busy_rate_exprand_relation_busy_rate_targetfunctions to compute busy rates aggregated by relation - Added four new dashboard panels displaying relation busy rates with different time windows ($__rate_interval, 10m, 5m, 3m)
64ccfcc to
e05bf36
Compare
5934484 to
d7aada1
Compare
e05bf36 to
f4eaca9
Compare
f4eaca9 to
52b5289
Compare

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Provide relation busy rate. We take all the fragments of a relation and find the max busy rate amongst them. That will be the busy rate of the relation. We use
topkso we can also provide thefragmentlabel alongside the relation.Checklist
Documentation
Release note