Add graphite graph of gate failure rates to e-r page
In addition to knowing how frequently a bug is hit, we also want to know the overall failure rates. Since this graph is more dense then the others on the page, make it a twice as tall at 600x400 Change-Id: I8e6a5e8d45e8d57c8128eefe0efeecc8255b2497
This commit is contained in:
parent
0072074998
commit
f4ec0078b4
@ -61,6 +61,26 @@
|
||||
|
||||
<BODY>
|
||||
<script type="text/javascript">header('Rechecks');</script>
|
||||
<div class="container" id="graph-container">
|
||||
<script type="text/javascript">
|
||||
$("#graph-container").append($(new Image()).graphite({
|
||||
from: "-36hours",
|
||||
url: "http://graphite.openstack.org/render/",
|
||||
width: 600,
|
||||
height: 400,
|
||||
bgcolor: 'ffffff',
|
||||
fgcolor: '000000',
|
||||
target: [
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.gate.job.gate-tempest-devstack-vm-neutron.FAILURE,sum(stats.zuul.pipeline.gate.job.gate-tempest-devstack-vm-neutron.{SUCCESS,FAILURE})),200), 'gate-tempest-devstack-vm-neutron'),'00c868')",
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-tempest-devstack-vm-neutron.FAILURE,sum(stats.zuul.pipeline.check.job.check-tempest-devstack-vm-neutron.{SUCCESS,FAILURE})),200), 'check-tempest-devstack-vm-neutron'),'6464ff')",
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.gate.job.gate-tempest-devstack-vm-full.FAILURE,sum(stats.zuul.pipeline.gate.job.gate-tempest-devstack-vm-full.{SUCCESS,FAILURE})),200), 'gate-tempest-devstack-vm-full'),'00FF00')",
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-tempest-devstack-vm-full.FAILURE,sum(stats.zuul.pipeline.check.job.check-tempest-devstack-vm-full.{SUCCESS,FAILURE})),200), 'check-tempest-devstack-vm-full'),'ffbf52')",
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-grenade-devstack-vm.FAILURE,sum(stats.zuul.pipeline.check.job.check-grenade-devstack-vm.{SUCCESS,FAILURE})),200), 'check-grenade-devstack-vm'),'800080')",
|
||||
],
|
||||
title: "Gate Failure Rates"
|
||||
}));
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div id="main-container" class="container">
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user