project-config/grafana/nodepool-rax.yaml
Monty Taylor 27a946b77f
Add ServerGet task to nodepool graphs
We also perform a direct ServerGet in some cases - specifically once for
each server create.

Change-Id: I58fd87a8efbf66be785ecec9d3db1abaec5a4816
2016-04-20 17:23:25 -05:00

208 lines
8.7 KiB
YAML

dashboard:
title: 'Nodepool: Rackspace'
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-rax.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.rax-*.nodes.building)
type: singlestat
valueName: current
- title: Ready
span: 3
sparkline:
full: true
show: true
targets:
- target: sumSeries(stats.gauges.nodepool.provider.rax-*.nodes.ready)
type: singlestat
valueName: current
- title: In Use
span: 3
sparkline:
full: true
show: true
targets:
- target: sumSeries(stats.gauges.nodepool.provider.rax-*.nodes.used)
type: singlestat
valueName: current
- title: Deleting
span: 3
sparkline:
full: true
show: true
targets:
- target: sumSeries(stats.gauges.nodepool.provider.rax-*.nodes.delete)
type: singlestat
valueName: current
- title: API Operations
showTitle: true
height: 250px
panels:
- title: Create Server
type: graph
span: 4
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(stats.timers.nodepool.task.rax-dfw.ServerCreate.mean, '0.001'), 'DFW')
- target: alias(scale(stats.timers.nodepool.task.rax-iad.ServerCreate.mean, '0.001'), 'IAD')
- target: alias(scale(stats.timers.nodepool.task.rax-ord.ServerCreate.mean, '0.001'), 'ORD')
- title: Get Server
type: graph
span: 4
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(stats.timers.nodepool.task.rax-dfw.ServerGet.mean, '0.001'), 'DFW')
- target: alias(scale(stats.timers.nodepool.task.rax-iad.ServerGet.mean, '0.001'), 'IAD')
- target: alias(scale(stats.timers.nodepool.task.rax-ord.ServerGet.mean, '0.001'), 'ORD')
- title: Delete Server
type: graph
span: 4
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(stats.timers.nodepool.task.rax-dfw.ServerDelete.mean, '0.001'), 'DFW')
- target: alias(scale(stats.timers.nodepool.task.rax-iad.ServerDelete.mean, '0.001'), 'IAD')
- target: alias(scale(stats.timers.nodepool.task.rax-ord.ServerDelete.mean, '0.001'), 'ORD')
- title: List Servers
type: graph
span: 4
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(stats.timers.nodepool.task.rax-dfw.ServerList.mean, '0.001'), 'DFW')
- target: alias(scale(stats.timers.nodepool.task.rax-iad.ServerList.mean, '0.001'), 'IAD')
- target: alias(scale(stats.timers.nodepool.task.rax-ord.ServerList.mean, '0.001'), 'ORD')
- 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: alias(smartSummarize(stats_counts.nodepool.launch.provider.rax-dfw.ready, '1m'), 'DFW')
- target: alias(smartSummarize(stats_counts.nodepool.launch.provider.rax-iad.ready, '1m'), 'IAD')
- target: alias(smartSummarize(stats_counts.nodepool.launch.provider.rax-ord.ready, '1m'), 'ORD')
- title: Error Node Launch Attempts
type: graph
span: 4
nullPointMode: null as zero
leftYAxisLabel: "events / min"
targets:
- target: alias(smartSummarize(sumSeries(stats_counts.nodepool.launch.provider.rax-dfw.error.*), '1m'), 'DFW')
- target: alias(smartSummarize(sumSeries(stats_counts.nodepool.launch.provider.rax-iad.error.*), '1m'), 'IAD')
- target: alias(smartSummarize(sumSeries(stats_counts.nodepool.launch.provider.rax-ord.error.*), '1m'), 'ORD')
- title: Time to Ready
type: graph
span: 4
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(stats.timers.nodepool.launch.provider.rax-dfw.ready.mean, '0.001'), 'DFW')
- target: alias(scale(stats.timers.nodepool.launch.provider.rax-iad.ready.mean, '0.001'), 'IAD')
- target: alias(scale(stats.timers.nodepool.launch.provider.rax-ord.ready.mean, '0.001'), 'ORD')
- title: Test Nodes (DFW)
type: graph
span: 4
stack: true
tooltip:
value_type: individual
leftYAxisLabel: "nodes"
targets:
- target: alias(stats.gauges.nodepool.provider.rax-dfw.nodes.building, 'Building')
- target: alias(stats.gauges.nodepool.provider.rax-dfw.nodes.ready, 'Available')
- target: alias(stats.gauges.nodepool.provider.rax-dfw.nodes.used, 'In Use')
- target: alias(stats.gauges.nodepool.provider.rax-dfw.nodes.delete, 'Deleting')
- target: alias(stats.gauges.nodepool.provider.rax-dfw.max_servers, 'Max')
seriesOverrides:
- alias: Max
stack: False
- title: Test Nodes (IAD)
type: graph
span: 4
stack: true
tooltip:
value_type: individual
leftYAxisLabel: "nodes"
targets:
- target: alias(stats.gauges.nodepool.provider.rax-iad.nodes.building, 'Building')
- target: alias(stats.gauges.nodepool.provider.rax-iad.nodes.ready, 'Available')
- target: alias(stats.gauges.nodepool.provider.rax-iad.nodes.used, 'In Use')
- target: alias(stats.gauges.nodepool.provider.rax-iad.nodes.delete, 'Deleting')
- target: alias(stats.gauges.nodepool.provider.rax-iad.max_servers, 'Max')
seriesOverrides:
- alias: Max
stack: False
- title: Test Nodes (ORD)
type: graph
span: 4
stack: true
tooltip:
value_type: individual
leftYAxisLabel: "nodes"
targets:
- target: alias(stats.gauges.nodepool.provider.rax-ord.nodes.building, 'Building')
- target: alias(stats.gauges.nodepool.provider.rax-ord.nodes.ready, 'Available')
- target: alias(stats.gauges.nodepool.provider.rax-ord.nodes.used, 'In Use')
- target: alias(stats.gauges.nodepool.provider.rax-ord.nodes.delete, 'Deleting')
- target: alias(stats.gauges.nodepool.provider.rax-ord.max_servers, 'Max')
seriesOverrides:
- alias: Max
stack: False
- 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(stats.timers.nodepool.job.gate-tempest-dsvm-full.master.ubuntu-trusty.rax-dfw.runtime.mean, '0.001'), 'DFW')
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-full.master.ubuntu-trusty.rax-iad.runtime.mean, '0.001'), 'IAD')
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-full.master.ubuntu-trusty.rax-ord.runtime.mean, '0.001'), 'ORD')
- title: gate-tempest-dsvm-neutron-full
type: graph
span: 6
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-neutron-full.master.ubuntu-trusty.rax-dfw.runtime.mean, '0.001'), 'DFW')
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-neutron-full.master.ubuntu-trusty.rax-iad.runtime.mean, '0.001'), 'IAD')
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-neutron-full.master.ubuntu-trusty.rax-ord.runtime.mean, '0.001'), 'ORD')