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 <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-03-02 16:54:40 -05:00
parent b5f9f17658
commit 6170ecfd59

View File

@ -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