Skip to content

Commit 8b207e8

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#1031)
1 parent c7ffbb1 commit 8b207e8

File tree

2 files changed

+290
-12
lines changed

2 files changed

+290
-12
lines changed
417 Bytes
Binary file not shown.

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

Lines changed: 290 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,7 @@
885885
"dashLength": 10,
886886
"dashes": false,
887887
"datasource": "tidb-cluster",
888+
"description": "Import tasks in flight.",
888889
"fill": 1,
889890
"fillGradient": 0,
890891
"gridPos": {
@@ -919,6 +920,283 @@
919920
"spaceLength": 10,
920921
"stack": false,
921922
"steppedLine": false,
923+
"targets": [
924+
{
925+
"expr": "tici_worker_import_into_inflight_tasks{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
926+
"format": "time_series",
927+
"intervalFactor": 2,
928+
"legendFormat": "{{instance}}",
929+
"refId": "A"
930+
}
931+
],
932+
"thresholds": [ ],
933+
"timeFrom": null,
934+
"timeShift": null,
935+
"title": "Import Tasks Inflight",
936+
"tooltip": {
937+
"shared": true,
938+
"sort": 0,
939+
"value_type": "individual"
940+
},
941+
"type": "graph",
942+
"xaxis": {
943+
"buckets": null,
944+
"mode": "time",
945+
"name": null,
946+
"show": true,
947+
"values": [ ]
948+
},
949+
"yaxes": [
950+
{
951+
"format": "none",
952+
"label": null,
953+
"logBase": 1,
954+
"max": null,
955+
"min": null,
956+
"show": true
957+
},
958+
{
959+
"format": "none",
960+
"label": null,
961+
"logBase": 1,
962+
"max": null,
963+
"min": null,
964+
"show": true
965+
}
966+
]
967+
},
968+
{
969+
"aliasColors": { },
970+
"bars": false,
971+
"dashLength": 10,
972+
"dashes": false,
973+
"datasource": "tidb-cluster",
974+
"description": "Total rows processed by import into.",
975+
"fill": 1,
976+
"fillGradient": 0,
977+
"gridPos": {
978+
"h": 7,
979+
"w": 12,
980+
"x": 12,
981+
"y": 0
982+
},
983+
"id": 16,
984+
"legend": {
985+
"alignAsTable": false,
986+
"avg": false,
987+
"current": false,
988+
"max": false,
989+
"min": false,
990+
"rightSide": true,
991+
"show": true,
992+
"sideWidth": null,
993+
"total": false,
994+
"values": false
995+
},
996+
"lines": true,
997+
"linewidth": 1,
998+
"links": [ ],
999+
"nullPointMode": "null",
1000+
"percentage": false,
1001+
"pointradius": 5,
1002+
"points": false,
1003+
"renderer": "flot",
1004+
"repeat": null,
1005+
"seriesOverrides": [ ],
1006+
"spaceLength": 10,
1007+
"stack": false,
1008+
"steppedLine": false,
1009+
"targets": [
1010+
{
1011+
"expr": "tici_worker_import_into_rows_processed_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
1012+
"format": "time_series",
1013+
"intervalFactor": 2,
1014+
"legendFormat": "{{instance}}",
1015+
"refId": "A"
1016+
}
1017+
],
1018+
"thresholds": [ ],
1019+
"timeFrom": null,
1020+
"timeShift": null,
1021+
"title": "Import Rows",
1022+
"tooltip": {
1023+
"shared": true,
1024+
"sort": 0,
1025+
"value_type": "individual"
1026+
},
1027+
"type": "graph",
1028+
"xaxis": {
1029+
"buckets": null,
1030+
"mode": "time",
1031+
"name": null,
1032+
"show": true,
1033+
"values": [ ]
1034+
},
1035+
"yaxes": [
1036+
{
1037+
"format": "none",
1038+
"label": null,
1039+
"logBase": 1,
1040+
"max": null,
1041+
"min": null,
1042+
"show": true
1043+
},
1044+
{
1045+
"format": "none",
1046+
"label": null,
1047+
"logBase": 1,
1048+
"max": null,
1049+
"min": null,
1050+
"show": true
1051+
}
1052+
]
1053+
},
1054+
{
1055+
"aliasColors": { },
1056+
"bars": false,
1057+
"dashLength": 10,
1058+
"dashes": false,
1059+
"datasource": "tidb-cluster",
1060+
"description": "Total bytes processed by import into.",
1061+
"fill": 1,
1062+
"fillGradient": 0,
1063+
"gridPos": {
1064+
"h": 7,
1065+
"w": 12,
1066+
"x": 0,
1067+
"y": 0
1068+
},
1069+
"id": 17,
1070+
"legend": {
1071+
"alignAsTable": false,
1072+
"avg": false,
1073+
"current": false,
1074+
"max": false,
1075+
"min": false,
1076+
"rightSide": true,
1077+
"show": true,
1078+
"sideWidth": null,
1079+
"total": false,
1080+
"values": false
1081+
},
1082+
"lines": true,
1083+
"linewidth": 1,
1084+
"links": [ ],
1085+
"nullPointMode": "null",
1086+
"percentage": false,
1087+
"pointradius": 5,
1088+
"points": false,
1089+
"renderer": "flot",
1090+
"repeat": null,
1091+
"seriesOverrides": [ ],
1092+
"spaceLength": 10,
1093+
"stack": false,
1094+
"steppedLine": false,
1095+
"targets": [
1096+
{
1097+
"expr": "tici_worker_import_into_bytes_processed_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}",
1098+
"format": "time_series",
1099+
"intervalFactor": 2,
1100+
"legendFormat": "{{instance}}",
1101+
"refId": "A"
1102+
}
1103+
],
1104+
"thresholds": [ ],
1105+
"timeFrom": null,
1106+
"timeShift": null,
1107+
"title": "Import Bytes",
1108+
"tooltip": {
1109+
"shared": true,
1110+
"sort": 0,
1111+
"value_type": "individual"
1112+
},
1113+
"type": "graph",
1114+
"xaxis": {
1115+
"buckets": null,
1116+
"mode": "time",
1117+
"name": null,
1118+
"show": true,
1119+
"values": [ ]
1120+
},
1121+
"yaxes": [
1122+
{
1123+
"format": "bytes",
1124+
"label": null,
1125+
"logBase": 1,
1126+
"max": null,
1127+
"min": null,
1128+
"show": true
1129+
},
1130+
{
1131+
"format": "bytes",
1132+
"label": null,
1133+
"logBase": 1,
1134+
"max": null,
1135+
"min": null,
1136+
"show": true
1137+
}
1138+
]
1139+
}
1140+
],
1141+
"repeat": null,
1142+
"repeatIteration": null,
1143+
"repeatRowId": null,
1144+
"showTitle": true,
1145+
"title": "Import Into",
1146+
"titleSize": "h6",
1147+
"type": "row"
1148+
},
1149+
{
1150+
"collapse": true,
1151+
"collapsed": true,
1152+
"gridPos": {
1153+
"h": 1,
1154+
"w": 24,
1155+
"x": 0,
1156+
"y": 0
1157+
},
1158+
"id": 18,
1159+
"panels": [
1160+
{
1161+
"aliasColors": { },
1162+
"bars": false,
1163+
"dashLength": 10,
1164+
"dashes": false,
1165+
"datasource": "tidb-cluster",
1166+
"fill": 1,
1167+
"fillGradient": 0,
1168+
"gridPos": {
1169+
"h": 7,
1170+
"w": 12,
1171+
"x": 0,
1172+
"y": 0
1173+
},
1174+
"id": 19,
1175+
"legend": {
1176+
"alignAsTable": false,
1177+
"avg": false,
1178+
"current": false,
1179+
"max": false,
1180+
"min": false,
1181+
"rightSide": true,
1182+
"show": true,
1183+
"sideWidth": null,
1184+
"total": false,
1185+
"values": false
1186+
},
1187+
"lines": true,
1188+
"linewidth": 1,
1189+
"links": [ ],
1190+
"nullPointMode": "null",
1191+
"percentage": false,
1192+
"pointradius": 5,
1193+
"points": false,
1194+
"renderer": "flot",
1195+
"repeat": null,
1196+
"seriesOverrides": [ ],
1197+
"spaceLength": 10,
1198+
"stack": false,
1199+
"steppedLine": false,
9221200
"targets": [
9231201
{
9241202
"expr": "histogram_quantile(0.99, sum(rate(tici_grpc_handle_duration_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", service=\"worker\"}[1m])) by (le, type))",
@@ -978,7 +1256,7 @@
9781256
"x": 12,
9791257
"y": 0
9801258
},
981-
"id": 16,
1259+
"id": 20,
9821260
"legend": {
9831261
"alignAsTable": false,
9841262
"avg": false,
@@ -1063,7 +1341,7 @@
10631341
"x": 0,
10641342
"y": 0
10651343
},
1066-
"id": 17,
1344+
"id": 21,
10671345
"legend": {
10681346
"alignAsTable": false,
10691347
"avg": false,
@@ -1152,7 +1430,7 @@
11521430
"x": 0,
11531431
"y": 0
11541432
},
1155-
"id": 18,
1433+
"id": 22,
11561434
"panels": [
11571435
{
11581436
"aliasColors": { },
@@ -1168,7 +1446,7 @@
11681446
"x": 0,
11691447
"y": 0
11701448
},
1171-
"id": 19,
1449+
"id": 23,
11721450
"legend": {
11731451
"alignAsTable": false,
11741452
"avg": false,
@@ -1260,7 +1538,7 @@
12601538
"x": 12,
12611539
"y": 0
12621540
},
1263-
"id": 20,
1541+
"id": 24,
12641542
"legend": {
12651543
"alignAsTable": false,
12661544
"avg": false,
@@ -1345,7 +1623,7 @@
13451623
"x": 0,
13461624
"y": 0
13471625
},
1348-
"id": 21,
1626+
"id": 25,
13491627
"legend": {
13501628
"alignAsTable": false,
13511629
"avg": false,
@@ -1434,7 +1712,7 @@
14341712
"x": 0,
14351713
"y": 0
14361714
},
1437-
"id": 22,
1715+
"id": 26,
14381716
"panels": [
14391717
{
14401718
"aliasColors": { },
@@ -1450,7 +1728,7 @@
14501728
"x": 0,
14511729
"y": 0
14521730
},
1453-
"id": 23,
1731+
"id": 27,
14541732
"legend": {
14551733
"alignAsTable": false,
14561734
"avg": false,
@@ -1535,7 +1813,7 @@
15351813
"x": 12,
15361814
"y": 0
15371815
},
1538-
"id": 24,
1816+
"id": 28,
15391817
"legend": {
15401818
"alignAsTable": false,
15411819
"avg": false,
@@ -1620,7 +1898,7 @@
16201898
"x": 0,
16211899
"y": 0
16221900
},
1623-
"id": 25,
1901+
"id": 29,
16241902
"legend": {
16251903
"alignAsTable": false,
16261904
"avg": false,
@@ -1716,7 +1994,7 @@
17161994
"x": 0,
17171995
"y": 0
17181996
},
1719-
"id": 26,
1997+
"id": 30,
17201998
"panels": [
17211999
{
17222000
"aliasColors": { },
@@ -1733,7 +2011,7 @@
17332011
"x": 0,
17342012
"y": 0
17352013
},
1736-
"id": 27,
2014+
"id": 31,
17372015
"legend": {
17382016
"alignAsTable": false,
17392017
"avg": false,

0 commit comments

Comments
 (0)