Skip to content

Commit

Permalink
metric/resource_control: append write dimension of the RU max metric (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
HuSharp authored Aug 8, 2024
1 parent d0c1ca1 commit ed1ebbb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions pkg/metrics/grafana/tidb_resource_control.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,17 @@
"editorMode": "code",
"expr": "sum(resource_manager_resource_unit_read_request_unit_max_per_sec{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}) by (resource_group)",
"hide": false,
"legendFormat": "{{resource_group}}",
"legendFormat": "{{resource_group}}-read",
"range": true,
"refId": "C"
"refId": "A"
},
{
"editorMode": "code",
"expr": "sum(resource_manager_resource_unit_write_request_unit_max_per_sec{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}) by (resource_group)",
"hide": false,
"legendFormat": "{{resource_group}}-write",
"range": true,
"refId": "B"
}
],
"thresholds": [],
Expand Down

0 comments on commit ed1ebbb

Please sign in to comment.