Add nodepool dashboard to grafana

Include graphs of node states by target (to help identify problems
with jenkins masters).

Change-Id: I2a26a6d5494f02c5f27c67ae6a58b13ec5d597f8
This commit is contained in:
James E. Blair 2015-11-20 14:40:05 -08:00
parent 8d343a812b
commit cbcdd8b7a0
1 changed files with 36 additions and 0 deletions

36
grafana/nodepool.yaml Normal file
View File

@ -0,0 +1,36 @@
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: Jenkins Masters
showTitle: true
height: 320px
panels:
- title: Building Nodes
span: 4
targets:
- target: aliasByNode(stats.guages.nodepool.target.*.nodes.building, 4)
type: graph
- title: Ready Nodes
span: 4
targets:
- target: aliasByNode(stats.guages.nodepool.target.*.nodes.ready, 4)
type: graph
- title: Used Nodes
span: 4
targets:
- target: aliasByNode(stats.guages.nodepool.target.*.nodes.used, 4)
type: graph
- title: Deleting Nodes
span: 4
targets:
- target: aliasByNode(stats.guages.nodepool.target.*.nodes.delete, 4)
type: graph