From f28cb63af4c7f9c2e5278f095302cd0041ba927b Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 4 Dec 2018 09:56:41 +0000 Subject: [PATCH] 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 --- grafana/openstack-ansible.yaml | 36 +++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/grafana/openstack-ansible.yaml b/grafana/openstack-ansible.yaml index 5385b0e96f..c3318f1fcf 100644 --- a/grafana/openstack-ansible.yaml +++ b/grafana/openstack-ansible.yaml @@ -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')