From c0f3aa8a23f9af33653ab042fc3acc363c712b42 Mon Sep 17 00:00:00 2001 From: "shengguo.wu" Date: Fri, 8 Apr 2022 11:59:18 +0800 Subject: [PATCH] fix io metric in Node Metric dashboard(#81) --- dashboards.template/node.json.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dashboards.template/node.json.j2 b/dashboards.template/node.json.j2 index d8ad247..35e4fe7 100644 --- a/dashboards.template/node.json.j2 +++ b/dashboards.template/node.json.j2 @@ -2055,7 +2055,7 @@ "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, - "expr": "rate(node_disk_io_time_seconds_total{instance=\"$instance\"}[1m]) / 1000", + "expr": "rate(node_disk_io_time_seconds_total{instance=\"$instance\"}[1m]) /", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ '{{ device }}' }}", @@ -2257,7 +2257,7 @@ "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, - "expr": "rate(node_disk_read_time_seconds_total{instance=\"$instance\"}[1m]) / 1000 / rate(node_disk_reads_completed_total{instance=\"$instance\"}[1m])", + "expr": "rate(node_disk_read_time_seconds_total{instance=\"$instance\"}[1m]) / rate(node_disk_reads_completed_total{instance=\"$instance\"}[1m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ '{{ device }}' }}", @@ -2358,7 +2358,7 @@ "calculatedInterval": "2s", "datasourceErrors": {}, "errors": {}, - "expr": "rate(node_disk_write_time_seconds_total{instance=\"$instance\"}[1m]) / 1000 / rate(node_disk_writes_completed_total{instance=\"$instance\"}[1m])", + "expr": "rate(node_disk_write_time_seconds_total{instance=\"$instance\"}[1m]) / rate(node_disk_writes_completed_total{instance=\"$instance\"}[1m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{ '{{ device }}' }}",