From 9400c0fe85fd8e08fddc888c24e9596a96fb4c2d Mon Sep 17 00:00:00 2001 From: Bo Liu Date: Mon, 21 Oct 2019 14:48:23 +0800 Subject: [PATCH 1/2] remove extra monitor content --- scripts/overview.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/overview.json b/scripts/overview.json index 918ca7b27..89eb86324 100644 --- a/scripts/overview.json +++ b/scripts/overview.json @@ -3391,7 +3391,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(tikv_thread_cpu_seconds_total[1m])) by (instance)", + "expr": "sum(rate(tikv_thread_cpu_seconds_total{job=\"tikv\"}[2m])) by (instance)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", From 60518b56dab5b5d59cc0131852250ca2d41fb4af Mon Sep 17 00:00:00 2001 From: Bo Liu Date: Mon, 21 Oct 2019 14:59:01 +0800 Subject: [PATCH 2/2] update --- scripts/overview.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/overview.json b/scripts/overview.json index 89eb86324..3578bb027 100644 --- a/scripts/overview.json +++ b/scripts/overview.json @@ -3391,7 +3391,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(tikv_thread_cpu_seconds_total{job=\"tikv\"}[2m])) by (instance)", + "expr": "sum(rate(tikv_thread_cpu_seconds_total{job=\"tikv\"}[1m])) by (instance)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}",