project-config/grafana/nodepool.yaml
Paul Belanger 9ee9e38395
Fix ready node launch attemps panel for nodepool
It seems smartSummarize doesn't render our panel correctly, switch
back to summarize to fix the issue.

Change-Id: I752bbcfbd0efce457157c89f712df3c351028e58
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-08-24 19:04:16 -04:00

159 lines
5.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: 2
sparkline:
full: true
show: true
targets:
- target: sumSeries(stats.gauges.nodepool.provider.*.nodes.ready)
type: singlestat
valueName: current
- title: In Use
span: 2
sparkline:
full: true
show: true
targets:
- target: sumSeries(stats.gauges.nodepool.provider.*.nodes.used)
type: singlestat
valueName: current
- title: Deleting
span: 2
sparkline:
full: true
show: true
targets:
- target: sumSeries(stats.gauges.nodepool.provider.*.nodes.delete)
type: singlestat
valueName: current
- title: Hold
span: 3
sparkline:
full: true
show: true
targets:
- target: sumSeries(stats.gauges.nodepool.provider.*.nodes.hold)
type: singlestat
valueName: current
- title: Zuul Launchers
showTitle: true
height: 320px
panels:
- title: Building Nodes
span: 3
targets:
- target: aliasByNode(stats.gauges.nodepool.target.*.nodes.building, 4)
type: graph
- title: Ready Nodes
span: 3
targets:
- target: aliasByNode(stats.gauges.nodepool.manager.*.nodes.ready, 4)
type: graph
- title: Used Nodes
span: 3
targets:
- target: aliasByNode(stats.gauges.nodepool.manager.*.nodes.used, 4)
type: graph
- title: Deleting Nodes
span: 3
targets:
- target: aliasByNode(stats.gauges.nodepool.manager.*.nodes.delete, 4)
type: graph
- title: Nodepool Images
showTitle: true
height: 320px
panels:
- title: Building Nodes
span: 3
targets:
- target: aliasByNode(stats.gauges.nodepool.label.*.nodes.building, 4)
type: graph
- title: Ready Nodes
span: 3
targets:
- target: aliasByNode(stats.gauges.nodepool.label.*.nodes.ready, 4)
type: graph
- title: Used Nodes
span: 3
targets:
- target: aliasByNode(stats.gauges.nodepool.label.*.nodes.used, 4)
type: graph
- title: Deleting Nodes
span: 3
targets:
- target: aliasByNode(stats.gauges.nodepool.label.*.nodes.delete, 4)
type: graph
- title: Node Launches
showTitle: true
height: 250px
panels:
- title: Ready Node Launch Attempts
type: graph
span: 4
nullPointMode: null as zero
leftYAxisLabel: "events / min"
targets:
- target: aliasByNode(summarize(stats_counts.nodepool.launch.provider.*.ready, '1m'), 4)
- title: Error Node Launch Attempts
type: graph
span: 4
nullPointMode: null as zero
leftYAxisLabel: "events / min"
targets:
- target: aliasByNode(smartSummarize(sumSeries(stats_counts.nodepool.launch.provider.*.error.*), '1m'), 4)
- title: Time to Ready
type: graph
span: 4
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: aliasByNode(scale(stats.timers.nodepool.launch.provider.*.ready.mean, '0.001'), 5)
- 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-ubuntu-xenial.master.ubuntu-xenial.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-ubuntu-xenial.master.ubuntu-xenial.runtime.mean), '0.001'), 'Average')