[n-odl] Make the Y axis display correctly

Currently it is left to auto detection and doesn't show correctly when
the data doesn't hit the limits.

This patch makes sure it is always displayed as a percentage.

Change-Id: I5663b9e5011c5b8a85529cc9edbb7dd9dced3672
This commit is contained in:
Michel Peterson 2018-08-09 15:18:02 +03:00
parent 526e985add
commit 7f6cd39e50
1 changed files with 36 additions and 0 deletions

View File

@ -15,23 +15,39 @@ dashboard:
panels:
- title: Unit Tests Failure Rates (Check queue)
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.openstack-tox-py27.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.openstack-tox-py27.{SUCCESS,FAILURE})),'24hours'), 'openstack-tox-py27')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.openstack-tox-py35.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.openstack-tox-py35.{SUCCESS,FAILURE})),'24hours'), 'openstack-tox-py35')
type: graph
- title: Unit Tests Failure Rates (Gate queue)
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_networking-odl.master.job.openstack-tox-py27.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_networking-odl.master.job.openstack-tox-py27.{SUCCESS,FAILURE})),'24hours'), 'openstack-tox-py27')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_networking-odl.master.job.openstack-tox-py35.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_networking-odl.master.job.openstack-tox-py35.{SUCCESS,FAILURE})),'24hours'), 'openstack-tox-py35')
type: graph
- title: Grenade Tests Failure Rates (Check queue)
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-grenade.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-grenade.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-grenade')
type: graph
- title: Functional/Fullstack Tests Failure Rates (Check queue)
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-functional-oxygen.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-functional-oxygen.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-functional-oxygen')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-fullstack-oxygen.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-fullstack-oxygen.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-fullstack-oxygen')
@ -40,30 +56,50 @@ dashboard:
type: graph
- title: Functional/Fullstack Tests Failure Rates (Gate queue)
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-functional-oxygen.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-functional-oxygen.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-functional-oxygen')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-functional-fluorine.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-functional-oxygen.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-functional-fluorine')
type: graph
- title: Tempest Failure Rates (Check queue)
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-tempest-oxygen.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-tempest-oxygen.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-tempest-oxygen')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-tempest-fluorine.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-tempest-fluorine.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-tempest-fluorine')
type: graph
- title: Multi-node Failure Rates (Check queue)
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-tempest-oxygen-multinode.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-tempest-oxygen-multinode.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-tempest-oxygen-multinode')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-tempest-fluorine-multinode.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-tempest-fluorine-multinode.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-tempest-fluorine-multinode')
type: graph
- title: Rally Failure Rates (Check queue)
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-rally-oxygen.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-rally-oxygen.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-rally-oxygen')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-rally-fluorine.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_networking-odl.master.job.networking-odl-rally-fluorine.{SUCCESS,FAILURE})),'24hours'), 'networking-odl-rally-fluorine')
type: graph
- title: Periodic jobs
span: 4
yaxes:
- label: Failure rates %
format: percent
- show: false
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.periodic.project.git_openstack_org.openstack_networking-odl.master.job.legacy-periodic-py35-with-neutron-lib-master.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.periodic.project.git_openstack_org.openstack_networking-odl.master.job.legacy-periodic-py35-with-neutron-lib-master.{SUCCESS,FAILURE})),'24hours'), 'legacy-periodic-py35-with-neutron-lib-master')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.periodic-stable.project.git_openstack_org.openstack_networking-odl.stable_ocata.job.build-openstack-sphinx-docs.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.periodic-stable.project.git_openstack_org.openstack_networking-odl.stable_ocata.job.build-openstack-sphinx-docs.{SUCCESS,FAILURE})),'24hours'), 'build-openstack-sphinx-docs-ocata')