From 4ddc625e2cce2e03248e4ee7998fd9ff642252cd Mon Sep 17 00:00:00 2001 From: Di Xu Date: Fri, 15 Feb 2019 13:23:12 +0800 Subject: [PATCH] use yarn's metrics in cluster view --- .../pai-clusterview-dashboard.json.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b477824f0e..5f4a9ed67d 100644 --- a/src/grafana/deploy/grafana-configuration/pai-clusterview-dashboard.json.template +++ b/src/grafana/deploy/grafana-configuration/pai-clusterview-dashboard.json.template @@ -83,7 +83,7 @@ "tableColumn": "", "targets": [ { - "expr": "100 * sum(yarn_gpus_used) / sum(configured_gpu_count)", + "expr": "100 * sum(yarn_gpus_used) / sum(yarn_total_gpu_num)", "format": "time_series", "hide": false, "instant": false,