|
885 | 885 | "dashLength": 10, |
886 | 886 | "dashes": false, |
887 | 887 | "datasource": "tidb-cluster", |
| 888 | + "description": "Import tasks in flight.", |
888 | 889 | "fill": 1, |
889 | 890 | "fillGradient": 0, |
890 | 891 | "gridPos": { |
|
919 | 920 | "spaceLength": 10, |
920 | 921 | "stack": false, |
921 | 922 | "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, |
922 | 1200 | "targets": [ |
923 | 1201 | { |
924 | 1202 | "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 | 1256 | "x": 12, |
979 | 1257 | "y": 0 |
980 | 1258 | }, |
981 | | - "id": 16, |
| 1259 | + "id": 20, |
982 | 1260 | "legend": { |
983 | 1261 | "alignAsTable": false, |
984 | 1262 | "avg": false, |
|
1063 | 1341 | "x": 0, |
1064 | 1342 | "y": 0 |
1065 | 1343 | }, |
1066 | | - "id": 17, |
| 1344 | + "id": 21, |
1067 | 1345 | "legend": { |
1068 | 1346 | "alignAsTable": false, |
1069 | 1347 | "avg": false, |
|
1152 | 1430 | "x": 0, |
1153 | 1431 | "y": 0 |
1154 | 1432 | }, |
1155 | | - "id": 18, |
| 1433 | + "id": 22, |
1156 | 1434 | "panels": [ |
1157 | 1435 | { |
1158 | 1436 | "aliasColors": { }, |
|
1168 | 1446 | "x": 0, |
1169 | 1447 | "y": 0 |
1170 | 1448 | }, |
1171 | | - "id": 19, |
| 1449 | + "id": 23, |
1172 | 1450 | "legend": { |
1173 | 1451 | "alignAsTable": false, |
1174 | 1452 | "avg": false, |
|
1260 | 1538 | "x": 12, |
1261 | 1539 | "y": 0 |
1262 | 1540 | }, |
1263 | | - "id": 20, |
| 1541 | + "id": 24, |
1264 | 1542 | "legend": { |
1265 | 1543 | "alignAsTable": false, |
1266 | 1544 | "avg": false, |
|
1345 | 1623 | "x": 0, |
1346 | 1624 | "y": 0 |
1347 | 1625 | }, |
1348 | | - "id": 21, |
| 1626 | + "id": 25, |
1349 | 1627 | "legend": { |
1350 | 1628 | "alignAsTable": false, |
1351 | 1629 | "avg": false, |
|
1434 | 1712 | "x": 0, |
1435 | 1713 | "y": 0 |
1436 | 1714 | }, |
1437 | | - "id": 22, |
| 1715 | + "id": 26, |
1438 | 1716 | "panels": [ |
1439 | 1717 | { |
1440 | 1718 | "aliasColors": { }, |
|
1450 | 1728 | "x": 0, |
1451 | 1729 | "y": 0 |
1452 | 1730 | }, |
1453 | | - "id": 23, |
| 1731 | + "id": 27, |
1454 | 1732 | "legend": { |
1455 | 1733 | "alignAsTable": false, |
1456 | 1734 | "avg": false, |
|
1535 | 1813 | "x": 12, |
1536 | 1814 | "y": 0 |
1537 | 1815 | }, |
1538 | | - "id": 24, |
| 1816 | + "id": 28, |
1539 | 1817 | "legend": { |
1540 | 1818 | "alignAsTable": false, |
1541 | 1819 | "avg": false, |
|
1620 | 1898 | "x": 0, |
1621 | 1899 | "y": 0 |
1622 | 1900 | }, |
1623 | | - "id": 25, |
| 1901 | + "id": 29, |
1624 | 1902 | "legend": { |
1625 | 1903 | "alignAsTable": false, |
1626 | 1904 | "avg": false, |
|
1716 | 1994 | "x": 0, |
1717 | 1995 | "y": 0 |
1718 | 1996 | }, |
1719 | | - "id": 26, |
| 1997 | + "id": 30, |
1720 | 1998 | "panels": [ |
1721 | 1999 | { |
1722 | 2000 | "aliasColors": { }, |
|
1733 | 2011 | "x": 0, |
1734 | 2012 | "y": 0 |
1735 | 2013 | }, |
1736 | | - "id": 27, |
| 2014 | + "id": 31, |
1737 | 2015 | "legend": { |
1738 | 2016 | "alignAsTable": false, |
1739 | 2017 | "avg": false, |
|
0 commit comments