project-config/grafana/nodepool.yaml
Paul Belanger 6170ecfd59 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>
2016-03-02 16:55:32 -05:00

99 lines
3.1 KiB
YAML

dashboard:
title: Nodepool
rows:
- title: Description
height: 100px
panels:
- title: Description
content: |
**This dashboard is managed by [Grafyaml](http://docs.openstack.org/infra/system-config/grafyaml.html).**
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
panels:
- title: Building Nodes
span: 4
targets:
- target: aliasByNode(stats.gauges.nodepool.target.*.nodes.building, 4)
type: graph
- title: Ready Nodes
span: 4
targets:
- target: aliasByNode(stats.gauges.nodepool.target.*.nodes.ready, 4)
type: graph
- title: Used Nodes
span: 4
targets:
- target: aliasByNode(stats.gauges.nodepool.target.*.nodes.used, 4)
type: graph
- title: Deleting Nodes
span: 4
targets:
- target: aliasByNode(stats.gauges.nodepool.target.*.nodes.delete, 4)
type: graph
- title: Job Runtimes
showTitle: true
height: 250px
panels:
- title: gate-tempest-dsvm-full
type: graph
span: 6
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(averageSeries(stats.timers.nodepool.job.gate-tempest-dsvm-full.master.devstack-trusty.runtime.mean), '0.001'), 'Average')
- title: gate-tempest-dsvm-neutron-full
type: graph
span: 6
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(averageSeries(stats.timers.nodepool.job.gate-tempest-dsvm-neutron-full.master.devstack-trusty.runtime.mean), '0.001'), 'Average')