Grafana: Update OVH graph with axis labels
Add axis labels and units where appropriate. Change the launch attempts graphs to summarize to 1m rather than 1h since grafana lets us zoom in. 1m is the lowest native unit of time that will always show whole numbers for this metric (whose lowest non-zero value is 1 event / 10 seconds). Change the test nodes graph to stacked to match the way we normally draw this graph, but change the tooltip to 'individual' so that when hovering, individual values for the different states are displayed, rather than cumulative (which does not make sense for this application). Also change the tooltip for the node graphs on the zuul dashboard in the same manner. Change-Id: I500aa486362476cff76a3d254093723f27021bed Depends-On: Ie542dc4d0e151a00e84cc970c2cfa8c02377d7bf
This commit is contained in:
parent
9ed42604d0
commit
6d951009f3
@ -57,18 +57,30 @@ dashboard:
|
||||
- title: Create Server
|
||||
type: graph
|
||||
span: 4
|
||||
leftYAxisLabel: "time"
|
||||
y_formats:
|
||||
- s
|
||||
- none
|
||||
targets:
|
||||
- target: alias(scale(stats.timers.nodepool.task.ovh-bhs1.CreateServerTask.mean, '0.001'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.task.ovh-gra1.CreateServerTask.mean, '0.001'), 'GRA1')
|
||||
- title: Delete Server
|
||||
type: graph
|
||||
span: 4
|
||||
leftYAxisLabel: "time"
|
||||
y_formats:
|
||||
- s
|
||||
- none
|
||||
targets:
|
||||
- target: alias(scale(stats.timers.nodepool.task.ovh-bhs1.DeleteServerTask.mean, '0.001'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.task.ovh-gra1.DeleteServerTask.mean, '0.001'), 'GRA1')
|
||||
- title: List Servers
|
||||
type: graph
|
||||
span: 4
|
||||
leftYAxisLabel: "time"
|
||||
y_formats:
|
||||
- s
|
||||
- none
|
||||
targets:
|
||||
- target: alias(scale(stats.timers.nodepool.task.ovh-bhs1.ListServersTask.mean, '0.001'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.task.ovh-gra1.ListServersTask.mean, '0.001'), 'GRA1')
|
||||
@ -79,24 +91,35 @@ dashboard:
|
||||
- title: Ready Node Launch Attempts
|
||||
type: graph
|
||||
span: 4
|
||||
nullPointMode: null as zero
|
||||
leftYAxisLabel: "events / min"
|
||||
targets:
|
||||
- target: alias(summarize(stats_counts.nodepool.launch.provider.ovh-bhs1.ready, '1h'), 'BHS1')
|
||||
- target: alias(summarize(stats_counts.nodepool.launch.provider.ovh-gra1.ready, '1h'), 'GRA1')
|
||||
- target: alias(smartSummarize(stats_counts.nodepool.launch.provider.ovh-bhs1.ready, '1m'), 'BHS1')
|
||||
- target: alias(smartSummarize(stats_counts.nodepool.launch.provider.ovh-gra1.ready, '1m'), 'GRA1')
|
||||
- title: Error Node Launch Attempts
|
||||
type: graph
|
||||
span: 4
|
||||
nullPointMode: null as zero
|
||||
leftYAxisLabel: "events / min"
|
||||
targets:
|
||||
- target: alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.ovh-bhs1.error.*), '1h'), 'BHS1')
|
||||
- target: alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.ovh-gra1.error.*), '1h'), 'GRA1')
|
||||
- target: alias(smartSummarize(sumSeries(stats_counts.nodepool.launch.provider.ovh-bhs1.error.*), '1m'), 'BHS1')
|
||||
- target: alias(smartSummarize(sumSeries(stats_counts.nodepool.launch.provider.ovh-gra1.error.*), '1m'), 'GRA1')
|
||||
- title: Time to Ready
|
||||
type: graph
|
||||
span: 4
|
||||
leftYAxisLabel: "time"
|
||||
y_formats:
|
||||
- s
|
||||
- none
|
||||
targets:
|
||||
- target: alias(scale(stats.timers.nodepool.launch.provider.ovh-bhs1.ready.mean, '0.000016'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.launch.provider.ovh-gra1.ready.mean, '0.000016'), 'GRA1')
|
||||
- target: alias(scale(stats.timers.nodepool.launch.provider.ovh-bhs1.ready.mean, '0.001'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.launch.provider.ovh-gra1.ready.mean, '0.001'), 'GRA1')
|
||||
- title: Test Nodes (BHS1)
|
||||
type: graph
|
||||
span: 4
|
||||
stack: true
|
||||
tooltip:
|
||||
value_type: individual
|
||||
targets:
|
||||
- target: alias(stats.gauges.nodepool.provider.ovh-bhs1.nodes.building, 'Building')
|
||||
- target: alias(stats.gauges.nodepool.provider.ovh-bhs1.nodes.ready, 'Available')
|
||||
@ -105,6 +128,7 @@ dashboard:
|
||||
- title: Test Nodes (GRA1)
|
||||
type: graph
|
||||
span: 4
|
||||
leftYAxisLabel: "nodes"
|
||||
targets:
|
||||
- target: alias(stats.gauges.nodepool.provider.ovh-gra1.nodes.building, 'Building')
|
||||
- target: alias(stats.gauges.nodepool.provider.ovh-gra1.nodes.ready, 'Available')
|
||||
@ -117,12 +141,20 @@ dashboard:
|
||||
- title: gate-tempest-dsvm-full
|
||||
type: graph
|
||||
span: 4
|
||||
leftYAxisLabel: "time"
|
||||
y_formats:
|
||||
- s
|
||||
- none
|
||||
targets:
|
||||
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-full.master.devstack-trusty.ovh-bhs1.runtime.mean, '0.000016'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-full.master.devstack-trusty.ovh-gra1.runtime.mean, '0.000016'), 'GRA1')
|
||||
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-full.master.devstack-trusty.ovh-bhs1.runtime.mean, '0.001'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-full.master.devstack-trusty.ovh-gra1.runtime.mean, '0.001'), 'GRA1')
|
||||
- title: gate-tempest-dsvm-neutron-full
|
||||
type: graph
|
||||
span: 4
|
||||
leftYAxisLabel: "time"
|
||||
y_formats:
|
||||
- s
|
||||
- none
|
||||
targets:
|
||||
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-neutron-full.master.devstack-trusty.ovh-bhs1.runtime.mean, '0.000016'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-neutron-full.master.devstack-trusty.ovh-gra1.runtime.mean, '0.000016'), 'GRA1')
|
||||
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-neutron-full.master.devstack-trusty.ovh-bhs1.runtime.mean, '0.001'), 'BHS1')
|
||||
- target: alias(scale(stats.timers.nodepool.job.gate-tempest-dsvm-neutron-full.master.devstack-trusty.ovh-gra1.runtime.mean, '0.001'), 'GRA1')
|
||||
|
@ -74,6 +74,8 @@ dashboard:
|
||||
- title: Test Nodes
|
||||
span: 4
|
||||
stack: true
|
||||
tooltip:
|
||||
value_type: individual
|
||||
targets:
|
||||
- target: alias(stats.gauges.nodepool.nodes.building, 'Building')
|
||||
- target: alias(stats.gauges.nodepool.nodes.ready, 'Available')
|
||||
|
Loading…
Reference in New Issue
Block a user