From b093ce94e69456d9fab69a278d7a2ed74ab976ad Mon Sep 17 00:00:00 2001
From: Paul Belanger <pabelanger@redhat.com>
Date: Wed, 8 Jun 2016 19:52:22 -0400
Subject: [PATCH] Fix building nodes panel for zuul launchers

We will never have manager nodes that are set to building, because
zuul-launcher does not work that way.  Switch back to target for
building.

Change-Id: I20f841473987b5099b7869ae69a4ce3cca696e71
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
---
 grafana/nodepool.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grafana/nodepool.yaml b/grafana/nodepool.yaml
index 19788cf2b9..33203bce36 100644
--- a/grafana/nodepool.yaml
+++ b/grafana/nodepool.yaml
@@ -81,7 +81,7 @@ dashboard:
         - title: Building Nodes
           span: 3
           targets:
-            - target: aliasByNode(stats.gauges.nodepool.manager.*.nodes.building, 4)
+            - target: aliasByNode(stats.gauges.nodepool.target.*.nodes.building, 4)
           type: graph
         - title: Ready Nodes
           span: 3