project-config/grafana/kolla.yaml
Michal Nasiadka 0c17cd51a1 Fix not working kolla graphs
- Fixed stats path for existing kolla build graphs
- Removed deployment failures graphs - will be moved to kolla-ansible dashboard

Change-Id: I9d3aa05a477dc230d66b58fee711667fd1faf07b
2018-09-25 11:57:26 +02:00

34 lines
3.4 KiB
YAML

dashboard:
title: Kolla Failure Rate
time:
from: "now-7d"
to: "now"
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/kolla.yaml).
NOTE - 'No datapoints' in a graph means there have been no job failures reported yet.
type: text
- title: Graphs
height: 320px
panels:
- title: Source Build Failure Rates (Check queue)
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-centos-source.{FAILURE,TIMED_OUT}),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-centos-source.{SUCCESS,FAILURE,TIMED_OUT})),'24hours'), 'kolla-build-centos-source')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-ubuntu-source.{FAILURE,TIMED_OUT}),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-ubuntu-source.{SUCCESS,FAILURE,TIMED_OUT})),'24hours'), 'kolla-build-ubuntu-source')
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-oraclelinux-source.{FAILURE,TIMED_OUT}),sum(stats_counts.zuul.tenant.openstack.pipeline.gate.project.git_openstack_org.openstack_kolla.master.job.kolla-build-oraclelinux-source.{SUCCESS,FAILURE,TIMED_OUT})),'24hours'), 'gate-kolla-build-source-oraclelinux')
type: graph
- title: Binary Build Failure Rates (Check queue)
span: 4
targets:
- target: alias(movingAverage(asPercent(transformNull(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-centos-binary.{FAILURE,TIMED_OUT),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-centos-binary.{SUCCESS,FAILURE,TIMED_OUT})),'24hours'), 'kolla-build-centos-binary')
- target: alias(movingAverage(asPercent(transformNull(sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-ubuntu-binary.{FAILURE,TIMED_OUT})),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-ubuntu-binary.{SUCCESS,FAILURE,TIMED_OUT})),'24hours'), 'kolla-build-ubuntu-binary')
- target: alias(movingAverage(asPercent(transformNull(sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-oraclelinux-binary{FAILURE,TIMED_OUT})),sum(stats_counts.zuul.tenant.openstack.pipeline.check.project.git_openstack_org.openstack_kolla.master.job.kolla-build-oraclelinux-binary.{SUCCESS,FAILURE,TIMED_OUT})),'24hours'), 'kolla-build-oraclelinux-binary')
type: graph