project-config/grafana/horizon.yaml
Akihiro Motoki 3f4fdafd47 Update horizon grafana
Horizon grafana definitions were not maintained after zuul v3 migration.
This commit tries to update them and also adds horizon tempest stats.

Change-Id: I409d351e2cdf6d1324a7933448670f3d9d8d3307
2018-08-11 01:02:25 +09:00

43 lines
3.8 KiB
YAML

dashboard:
title: Horizon 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/horizon.yaml).
type: text
- title: Graphs
height: 320px
panels:
- title: npm test Failure Rates (Gate queue)
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_horizon.master.job.nodejs-npm-run-test.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_horizon.master.job.nodejs-npm-run-test.{SUCCESS,FAILURE})),'24hours'), 'nodejs4-npm-run-test')
type: graph
- title: Unit Tests Failure Rates (Check queue)
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_horizon.master.job.openstack-tox-py27.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_horizon.master.job.openstack-tox-py27.{SUCCESS,FAILURE})),'24hours'), 'check-horizon-python27')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_horizon.master.job.openstack-tox-py35.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_horizon.master.job.openstack-tox-py35.{SUCCESS,FAILURE})),'24hours'), 'check-horizon-python35')
type: graph
- title: Unit Tests Failure Rates (Gate queue)
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_horizon.master.job.openstack-tox-py27.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_horizon.master.job.openstack-tox-py27.{SUCCESS,FAILURE})),'24hours'), 'gate-horizon-python27')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_horizon.master.job.openstack-tox-py35.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_horizon.master.job.openstack-tox-py35.{SUCCESS,FAILURE})),'24hours'), 'gate-horizon-python35')
type: graph
- title: Tempest Failure Rates (Check queue)
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_horizon.master.job.horizon-dsvm-tempest-plugin.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_horizon.master.job.horizon-dsvm-tempest-plugin.{SUCCESS,FAILURE})),'24hours'), 'check-horizon-python27')
type: graph
- title: Tempest Failure Rates (Gate queue)
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_horizon.master.job.horizon-dsvm-tempest-plugin.FAILURE),sum(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_horizon.master.job.horizon-dsvm-tempest-plugin.{SUCCESS,FAILURE})),'24hours'), 'gate-horizon-python27')
type: graph