Add centos/suse to OSA grafana dashboard

This patch adds panels to the openstack-ansible grafana dashboard
to provide a view of build times and failure rates for centos and
opensuse check jobs.

Change-Id: I405c3e4616f64a32364cb7f400f41769d0296ef9
This commit is contained in:
Jonathan Rosser 2018-12-04 09:56:41 +00:00
parent 59b5ade9a1
commit f28cb63af4
1 changed files with 35 additions and 1 deletions

View File

@ -10,7 +10,7 @@ dashboard:
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/openstack-ansible.yaml).
type: text
- title: openstack-ansible check job runtimes
- title: Ubuntu openstack-ansible check job runtimes
showTitle: true
height: 300px
panels:
@ -32,6 +32,37 @@ dashboard:
- none
targets:
- target: alias(scale(averageSeries(stats.timers.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-ubuntu-bionic.{SUCCESS,FAILURE}.mean), '0.001'), 'Average')
- title: CentOS/openSUSE openstack-ansible check job runtimes
showTitle: true
height: 300px
panels:
- title: openstack-ansible-openstack-ansible-deploy-aio_lxc-centos-7
type: graph
span: 3
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(averageSeries(stats.timers.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-centos-7.{SUCCESS,FAILURE}.mean), '0.001'), 'Average')
- title: openstack-ansible-openstack-ansible-deploy-aio_lxc-opensuse-423
type: graph
span: 3
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(averageSeries(stats.timers.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-opensuse-423.{SUCCESS,FAILURE}.mean), '0.001'), 'Average')
- title: openstack-ansible-openstack-ansible-deploy-aio_lxc-opensuse-150
type: graph
span: 3
leftYAxisLabel: "time"
y_formats:
- s
- none
targets:
- target: alias(scale(averageSeries(stats.timers.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-opensuse-150.{SUCCESS,FAILURE}.mean), '0.001'), 'Average')
- title: openstack-ansible check job failures
showTitle: true
height: 300px
@ -42,3 +73,6 @@ dashboard:
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-ubuntu-xenial.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-ubuntu-xenial.{SUCCESS,FAILURE})),'24hours'), 'openstack-ansible-deploy-aio_lxc-ubuntu-xenial')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-ubuntu-bionic.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-ubuntu-bionic.{SUCCESS,FAILURE})),'24hours'), 'openstack-ansible-deploy-aio_lxc-ubuntu-bionic')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-centos-7.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-centos-7.{SUCCESS,FAILURE})),'24hours'), 'openstack-ansible-deploy-aio_lxc-centos-7')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-opensuse-423.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-opensuse-423.{SUCCESS,FAILURE})),'24hours'), 'openstack-ansible-deploy-aio_lxc-opensuse-423')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-opensuse-150.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_openstack-ansible.master.job.openstack-ansible-deploy-aio_lxc-opensuse-150.{SUCCESS,FAILURE})),'24hours'), 'openstack-ansible-deploy-aio_lxc-opensuse-150')