From 4372019578604004c66ef879229dfceb5cf8f6e9 Mon Sep 17 00:00:00 2001 From: Di Xu Date: Tue, 15 Jan 2019 15:30:03 +0800 Subject: [PATCH] add avg to singlestate panel (#2006) --- .../pai-clusterview-dashboard.json.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grafana/deploy/grafana-configuration/pai-clusterview-dashboard.json.template b/src/grafana/deploy/grafana-configuration/pai-clusterview-dashboard.json.template index 7ea958c5b2..b477824f0e 100644 --- a/src/grafana/deploy/grafana-configuration/pai-clusterview-dashboard.json.template +++ b/src/grafana/deploy/grafana-configuration/pai-clusterview-dashboard.json.template @@ -163,7 +163,7 @@ "tableColumn": "", "targets": [ { - "expr": "yarn_nodes_active", + "expr": "avg(yarn_nodes_active)", "format": "time_series", "hide": false, "intervalFactor": 2, @@ -321,7 +321,7 @@ "tableColumn": "", "targets": [ { - "expr": "yarn_gpus_used", + "expr": "avg(yarn_gpus_used)", "format": "time_series", "hide": false, "intervalFactor": 2,