|
19803 | 19803 | "dashes": false, |
19804 | 19804 | "datasource": "tidb-cluster", |
19805 | 19805 | "decimals": 2, |
19806 | | - "description": "kv storage garbage collection time durations", |
| 19806 | + "description": "Transaction GC durations per stage or in total. Note that the minimum bucket is 1s, and it might be not accurate when the values are sparse.", |
19807 | 19807 | "fill": 0, |
19808 | 19808 | "gridPos": { |
19809 | 19809 | "h": 7, |
@@ -19837,18 +19837,18 @@ |
19837 | 19837 | "steppedLine": false, |
19838 | 19838 | "targets": [ |
19839 | 19839 | { |
19840 | | - "expr": "histogram_quantile(0.99, sum(rate(tidb_tikvclient_gc_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (le))", |
| 19840 | + "expr": "histogram_quantile(1, sum(rate(tidb_tikvclient_gc_seconds_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (stage, le))", |
19841 | 19841 | "format": "time_series", |
19842 | 19842 | "intervalFactor": 2, |
19843 | | - "legendFormat": "99", |
| 19843 | + "legendFormat": "{{stage}}", |
19844 | 19844 | "refId": "A" |
19845 | 19845 | } |
19846 | 19846 | ], |
19847 | 19847 | "thresholds": [], |
19848 | 19848 | "timeFrom": null, |
19849 | 19849 | "timeRegions": [], |
19850 | 19850 | "timeShift": null, |
19851 | | - "title": "Duration 99", |
| 19851 | + "title": "GC Duration By Stage", |
19852 | 19852 | "tooltip": { |
19853 | 19853 | "shared": true, |
19854 | 19854 | "sort": 0, |
|
20325 | 20325 | "dashLength": 10, |
20326 | 20326 | "dashes": false, |
20327 | 20327 | "datasource": "tidb-cluster", |
20328 | | - "description": "kv storage delete range task execution status by type", |
| 20328 | + "description": "Status of range tasks used in resolving locks", |
20329 | 20329 | "editable": true, |
20330 | 20330 | "error": false, |
20331 | 20331 | "fill": 0, |
@@ -20368,10 +20368,10 @@ |
20368 | 20368 | "steppedLine": false, |
20369 | 20369 | "targets": [ |
20370 | 20370 | { |
20371 | | - "expr": "sum(tidb_tikvclient_range_task_stats{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type!~\".*pipelined-dml.*\"}) by (type, result)", |
| 20371 | + "expr": "sum(tidb_tikvclient_range_task_stats{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"resolve-locks-runner.*\"}) by (type, result)", |
20372 | 20372 | "format": "time_series", |
20373 | 20373 | "intervalFactor": 2, |
20374 | | - "legendFormat": "{{type}}-{{result}}", |
| 20374 | + "legendFormat": "{{type}}_{{result}}", |
20375 | 20375 | "refId": "A", |
20376 | 20376 | "step": 40 |
20377 | 20377 | } |
|
20380 | 20380 | "timeFrom": null, |
20381 | 20381 | "timeRegions": [], |
20382 | 20382 | "timeShift": null, |
20383 | | - "title": "Delete Range Task Status", |
| 20383 | + "title": "Resolve Locks Range Tasks Status", |
20384 | 20384 | "tooltip": { |
20385 | 20385 | "msResolution": false, |
20386 | 20386 | "shared": true, |
@@ -20461,10 +20461,10 @@ |
20461 | 20461 | "steppedLine": false, |
20462 | 20462 | "targets": [ |
20463 | 20463 | { |
20464 | | - "expr": "histogram_quantile(0.95, sum(rate(tidb_tikvclient_range_task_push_duration_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type!~\".*pipelined-dml.*\"}[1m])) by (le, instance))", |
| 20464 | + "expr": "histogram_quantile(0.95, sum(rate(tidb_tikvclient_range_task_push_duration_bucket{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"resolve-locks-runner.*\"}[1m])) by (le, instance, type))", |
20465 | 20465 | "format": "time_series", |
20466 | 20466 | "intervalFactor": 2, |
20467 | | - "legendFormat": "{{instance}}", |
| 20467 | + "legendFormat": "{{type}}_{{instance}}", |
20468 | 20468 | "refId": "A", |
20469 | 20469 | "step": 10 |
20470 | 20470 | } |
|
20473 | 20473 | "timeFrom": null, |
20474 | 20474 | "timeRegions": [], |
20475 | 20475 | "timeShift": null, |
20476 | | - "title": "Push Task Duration 95", |
| 20476 | + "title": "Resolve Locks Range Tasks Push Task Duration 95", |
20477 | 20477 | "tooltip": { |
20478 | 20478 | "msResolution": false, |
20479 | 20479 | "shared": true, |
|
0 commit comments