Skip to content

Commit 903a13b

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#401)
1 parent 0ef9fd0 commit 903a13b

2 files changed

Lines changed: 102 additions & 12 deletions

File tree

166 Bytes
Binary file not shown.

monitor-snapshot/master/operator/dashboards/tidb_resource_control.json

Lines changed: 102 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,96 @@
164164
"alignLevel": null
165165
}
166166
},
167+
{
168+
"aliasColors": {},
169+
"bars": false,
170+
"dashLength": 10,
171+
"dashes": false,
172+
"datasource": "tidb-cluster",
173+
"description": "The total request unit cost for all resource groups.",
174+
"editable": true,
175+
"error": false,
176+
"fill": 1,
177+
"fillGradient": 0,
178+
"grid": {},
179+
"gridPos": {
180+
"h": 7,
181+
"w": 12,
182+
"x": 12,
183+
"y": 1
184+
},
185+
"hiddenSeries": false,
186+
"id": 40,
187+
"legend": {
188+
"alignAsTable": true,
189+
"current": true,
190+
"rightSide": true,
191+
"show": true,
192+
"sort": "max",
193+
"sortDesc": true,
194+
"total": false,
195+
"values": true
196+
},
197+
"lines": true,
198+
"linewidth": 2,
199+
"links": [],
200+
"nullPointMode": "null as zero",
201+
"options": {
202+
"alertThreshold": true
203+
},
204+
"percentage": false,
205+
"pluginVersion": "8.5.27",
206+
"pointradius": 5,
207+
"points": false,
208+
"renderer": "flot",
209+
"seriesOverrides": [],
210+
"spaceLength": 10,
211+
"stack": false,
212+
"steppedLine": false,
213+
"targets": [
214+
{
215+
"editorMode": "code",
216+
"expr": "sum(resource_manager_resource_unit_read_request_unit_max_per_sec{k8s_cluster=\"$k8s_cluster\", tidb_cluster=~\"$tidb_cluster.*\"}) by (resource_group)",
217+
"hide": false,
218+
"legendFormat": "{{resource_group}}",
219+
"range": true,
220+
"refId": "C"
221+
}
222+
],
223+
"thresholds": [],
224+
"timeRegions": [],
225+
"title": "RU (max)",
226+
"tooltip": {
227+
"msResolution": true,
228+
"shared": true,
229+
"sort": 0,
230+
"value_type": "cumulative"
231+
},
232+
"type": "graph",
233+
"xaxis": {
234+
"mode": "time",
235+
"show": true,
236+
"values": []
237+
},
238+
"yaxes": [
239+
{
240+
"$$hashKey": "object:37",
241+
"format": "short",
242+
"logBase": 10,
243+
"min": "0",
244+
"show": true
245+
},
246+
{
247+
"$$hashKey": "object:38",
248+
"format": "short",
249+
"logBase": 1,
250+
"show": true
251+
}
252+
],
253+
"yaxis": {
254+
"align": false
255+
}
256+
},
167257
{
168258
"aliasColors": {},
169259
"bars": false,
@@ -183,8 +273,8 @@
183273
"gridPos": {
184274
"h": 7,
185275
"w": 12,
186-
"x": 12,
187-
"y": 1
276+
"x": 0,
277+
"y": 8
188278
},
189279
"hiddenSeries": false,
190280
"id": 13,
@@ -299,7 +389,7 @@
299389
"gridPos": {
300390
"h": 7,
301391
"w": 12,
302-
"x": 0,
392+
"x": 12,
303393
"y": 8
304394
},
305395
"hiddenSeries": false,
@@ -414,8 +504,8 @@
414504
"gridPos": {
415505
"h": 7,
416506
"w": 12,
417-
"x": 12,
418-
"y": 8
507+
"x": 0,
508+
"y": 15
419509
},
420510
"hiddenSeries": false,
421511
"id": 15,
@@ -528,9 +618,9 @@
528618
"fillGradient": 0,
529619
"grid": {},
530620
"gridPos": {
531-
"h": 8,
621+
"h": 7,
532622
"w": 12,
533-
"x": 0,
623+
"x": 12,
534624
"y": 15
535625
},
536626
"hiddenSeries": false,
@@ -646,8 +736,8 @@
646736
"gridPos": {
647737
"h": 8,
648738
"w": 12,
649-
"x": 12,
650-
"y": 15
739+
"x": 0,
740+
"y": 22
651741
},
652742
"hiddenSeries": false,
653743
"id": 17,
@@ -760,10 +850,10 @@
760850
"fillGradient": 0,
761851
"grid": {},
762852
"gridPos": {
763-
"h": 7,
853+
"h": 8,
764854
"w": 12,
765-
"x": 0,
766-
"y": 23
855+
"x": 12,
856+
"y": 22
767857
},
768858
"hiddenSeries": false,
769859
"id": 18,

0 commit comments

Comments
 (0)