Skip to content
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

metrics: update resource manager panel #13046

Merged
merged 11 commits into from
Mar 29, 2023
14 changes: 11 additions & 3 deletions grafana-resource-control-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@ This document describes some key monitoring metrics displayed on the Resource Co
- Bytes Read Per Query: the average amount of data read by each SQL statement per second. It is obtained by dividing the above Bytes Read metric by the number of SQL statements executed per second.
- Bytes Written: the amount of data written by each Resource Group, calculated in real time. `total` is the sum of the data written by all Resource Groups.
- Bytes Written Per Query: the average amount of data written by each SQL statement per second. It is obtained by dividing the above Bytes Written metric by the number of SQL statements executed per second.
- KV CPU Time: the KV layer CPU time consumed by each Resource Group, calculated in real time . `total` is the sum of the KV layer CPU time consumed by all Resource Groups.
- KV CPU Time Per Query: the average KV layer CPU time consumed by each SQL statement per second. It is obtained by dividing the above KV CPU Time metric by the number of SQL statements executed per second.
- KV CPU Time: the KV layer CPU time consumed by each Resource Group, calculated in real time. `total` is the sum of the KV layer CPU time consumed by all Resource Groups.
- SQL CPU Time: the SQL layer CPU time consumed by each Resource Group, calculated in real time. `total` is the sum of the SQL layer CPU time consumed by all Resource Groups.
- SQL CPU Time Per Query: the average SQL layer CPU time consumed by each SQL statement per second. It is obtained by dividing the above SQL CPU Time metric by the number of SQL statements executed per second.

## Metrics about Resource Controller Client

- Active Resource Groups: the number of resource groups for each Resource Controller Client, calculated in real time.
- Total KV Request Count: the number of KV requests for each Resource Controller Client, calculated in real time and on the basis of resource groups. `total` is the sum of the KV requests for all Resource Controller Clients.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- Failed KV Request Count: the number of failed KV requests for each Resource Controller Client, calculated in real time and on the basis of resource groups. `total` is the sum of the failed KV requests for all Resource Controller Clients.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- Successful KV Request Count: the number of successful KV requests for each Resource Controller Client, calculated in real time and on the basis of resource groups. `total` is the sum of the successful KV requests for all Resource Controller Clients.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- Successful KV Request Wait Duration (99/90): the waiting time (different percentiles) for successful KV requests for each Resource Controller Client, calculated in real time and on the basis of resource groups.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- Token Request Handle Duration (999/99): the waiting time (different percentiles) for token requests from the server side for each Resource Controller Client, calculated in real time and on the basis of resource groups.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved
- Token Request Count: the number of token requests from the server side for each Resource Controller Client, calculated in real time and on the basis of resource groups. `successful` and `failed` are the sums of the successful and failed token requests for all Resource Controller Clients.
hfxsd marked this conversation as resolved.
Show resolved Hide resolved