From 6170ecfd59da41dd5f05cfac35ff62d4ebfd9267 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Wed, 2 Mar 2016 16:54:40 -0500 Subject: [PATCH] Add total singlestats for nodepool dashboard This will give the current build, ready, in use and delete totals for all clouds. Change-Id: Ib2636e4a0e94c0b8927c2128e297579605e47b3a Signed-off-by: Paul Belanger --- grafana/nodepool.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/grafana/nodepool.yaml b/grafana/nodepool.yaml index b06eaba762..9edf34d97f 100644 --- a/grafana/nodepool.yaml +++ b/grafana/nodepool.yaml @@ -10,6 +10,46 @@ dashboard: If you would like to make changes to this dashboard, please see the grafana directory in [project-config](https://git.openstack.org/cgit/openstack-infra/project-config/tree/grafana/nodepool.yaml). type: text + - title: Nodes + showTitle: true + height: 150px + panels: + - title: Building + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.*.nodes.building) + type: singlestat + valueName: current + - title: Ready + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.*.nodes.ready) + type: singlestat + valueName: current + - title: In Use + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.*.nodes.used) + type: singlestat + valueName: current + - title: Deleting + span: 3 + sparkline: + full: true + show: true + targets: + - target: sumSeries(stats.gauges.nodepool.provider.*.nodes.delete) + type: singlestat + valueName: current - title: Jenkins Masters showTitle: true height: 320px