Add sdague's tempest graphs to grafana

Change-Id: I0447096519741206e8e439bfb93ebd0b2afc33de
This commit is contained in:
James E. Blair 2015-11-19 13:34:52 -08:00
parent e49a4161c4
commit 5a09f34b8a
1 changed files with 25 additions and 0 deletions

25
grafana/tempest.yaml Normal file
View File

@ -0,0 +1,25 @@
dashboard:
title: Tempest Failure Rate
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/tempest.yaml).
type: text
- title: Graphs
height: 320px
panels:
- title: Job Failure Rates
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.check.job.gate-tempest-dsvm-full.FAILURE),sum(stats_counts.zuul.pipeline.check.job.gate-tempest-dsvm-full.{SUCCESS,FAILURE})),'12hours'), 'gate-tempest-dsvm-full (check)')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.gate.job.gate-tempest-dsvm-full.FAILURE),sum(stats_counts.zuul.pipeline.gate.job.gate-tempest-dsvm-full.{SUCCESS,FAILURE})),'12hours'), 'gate-tempest-dsvm-full (gate)')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.check.job.gate-tempest-dsvm-neutron-full.FAILURE),sum(stats_counts.zuul.pipeline.check.job.gate-tempest-dsvm-neutron-full.{SUCCESS,FAILURE})),'12hours'), 'gate-tempest-dsvm-neutron-full (check)')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron-full.FAILURE),sum(stats_counts.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron-full.{SUCCESS,FAILURE})),'12hours'), 'gate-tempest-dsvm-neutron-full (gate)')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.check.job.gate-grenade-dsvm.FAILURE),sum(stats_counts.zuul.pipeline.check.job.gate-grenade-dsvm.{SUCCESS,FAILURE})),'12hours'), 'gate-grenade-dsvm (check)')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.pipeline.gate.job.gate-grenade-dsvm.FAILURE),sum(stats_counts.zuul.pipeline.gate.job.gate-grenade-dsvm.{SUCCESS,FAILURE})),'12hours'), 'gate-grenade-dsvm (gate)')
type: graph