diff --git a/monitor-snapshot/master/ansible-monitor.tar.gz b/monitor-snapshot/master/ansible-monitor.tar.gz index 533a8922..a1431555 100644 Binary files a/monitor-snapshot/master/ansible-monitor.tar.gz and b/monitor-snapshot/master/ansible-monitor.tar.gz differ diff --git a/monitor-snapshot/master/operator/dashboards/tici_worker.json b/monitor-snapshot/master/operator/dashboards/tici_worker.json index 77b08f6b..fd1290b2 100644 --- a/monitor-snapshot/master/operator/dashboards/tici_worker.json +++ b/monitor-snapshot/master/operator/dashboards/tici_worker.json @@ -885,6 +885,7 @@ "dashLength": 10, "dashes": false, "datasource": "tidb-cluster", + "description": "Import tasks in flight.", "fill": 1, "fillGradient": 0, "gridPos": { @@ -919,6 +920,283 @@ "spaceLength": 10, "stack": false, "steppedLine": false, + "targets": [ + { + "expr": "tici_worker_import_into_inflight_tasks{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ ], + "timeFrom": null, + "timeShift": null, + "title": "Import Tasks Inflight", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ ] + }, + "yaxes": [ + { + "format": "none", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "none", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "tidb-cluster", + "description": "Total rows processed by import into.", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 0 + }, + "id": 16, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "sideWidth": null, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "tici_worker_import_into_rows_processed_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ ], + "timeFrom": null, + "timeShift": null, + "title": "Import Rows", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ ] + }, + "yaxes": [ + { + "format": "none", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "none", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + }, + { + "aliasColors": { }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "tidb-cluster", + "description": "Total bytes processed by import into.", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 17, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "sideWidth": null, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "tici_worker_import_into_bytes_processed_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{instance}}", + "refId": "A" + } + ], + "thresholds": [ ], + "timeFrom": null, + "timeShift": null, + "title": "Import Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [ ] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": true, + "title": "Import Into", + "titleSize": "h6", + "type": "row" + }, + { + "collapse": true, + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 18, + "panels": [ + { + "aliasColors": { }, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "tidb-cluster", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 0 + }, + "id": 19, + "legend": { + "alignAsTable": false, + "avg": false, + "current": false, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "sideWidth": null, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [ ], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "repeat": null, + "seriesOverrides": [ ], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { "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 @@ "x": 12, "y": 0 }, - "id": 16, + "id": 20, "legend": { "alignAsTable": false, "avg": false, @@ -1063,7 +1341,7 @@ "x": 0, "y": 0 }, - "id": 17, + "id": 21, "legend": { "alignAsTable": false, "avg": false, @@ -1152,7 +1430,7 @@ "x": 0, "y": 0 }, - "id": 18, + "id": 22, "panels": [ { "aliasColors": { }, @@ -1168,7 +1446,7 @@ "x": 0, "y": 0 }, - "id": 19, + "id": 23, "legend": { "alignAsTable": false, "avg": false, @@ -1260,7 +1538,7 @@ "x": 12, "y": 0 }, - "id": 20, + "id": 24, "legend": { "alignAsTable": false, "avg": false, @@ -1345,7 +1623,7 @@ "x": 0, "y": 0 }, - "id": 21, + "id": 25, "legend": { "alignAsTable": false, "avg": false, @@ -1434,7 +1712,7 @@ "x": 0, "y": 0 }, - "id": 22, + "id": 26, "panels": [ { "aliasColors": { }, @@ -1450,7 +1728,7 @@ "x": 0, "y": 0 }, - "id": 23, + "id": 27, "legend": { "alignAsTable": false, "avg": false, @@ -1535,7 +1813,7 @@ "x": 12, "y": 0 }, - "id": 24, + "id": 28, "legend": { "alignAsTable": false, "avg": false, @@ -1620,7 +1898,7 @@ "x": 0, "y": 0 }, - "id": 25, + "id": 29, "legend": { "alignAsTable": false, "avg": false, @@ -1716,7 +1994,7 @@ "x": 0, "y": 0 }, - "id": 26, + "id": 30, "panels": [ { "aliasColors": { }, @@ -1733,7 +2011,7 @@ "x": 0, "y": 0 }, - "id": 27, + "id": 31, "legend": { "alignAsTable": false, "avg": false,