elastic-recheck/web/share/index.html
Sean Dague 4b0fdf2844 set y axis on failure rate graph
instead of letting the yaxis drift based on whatever data we've
gotten make it a fixed range from 0 - 100 (as it is percentage).
This makes it easier to see visually when things are good or
bad on a given day.

Change-Id: Ia136ab26c9b4149d3e0cb5b1b17baa145a7a1c32
2013-12-06 17:40:31 -05:00

112 lines
4.2 KiB
HTML

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:py="http://genshi.edgewall.org/"
lang="en">
<HEAD>
<TITLE>Elastic Recheck</TITLE>
<script type="text/javascript"
src="http://status.openstack.org/jquery.min.js"></script>
<script type="text/javascript"
src="http://status.openstack.org/jquery-visibility.min.js"></script>
<script type="text/javascript"
src="http://status.openstack.org/jquery-graphite.js"></script>
<script type="text/javascript"
src="http://status.openstack.org/common.js"></script>
<script type="text/javascript"
src="http://status.openstack.org/jquery.flot.min.js"></script>
<script type="text/javascript"
src="http://status.openstack.org/jquery.flot.time.min.js"></script>
<script type="text/javascript"
src="elastic-recheck.js"></script>
<!-- Google Fonts -->
<link href='http://fonts.googleapis.com/css?family=PT+Sans&amp;subset=latin' rel='stylesheet' type='text/css'/>
<!-- Framework CSS -->
<link rel="stylesheet" href="http://www.openstack.org/themes/openstack/css/blueprint/screen.css" type="text/css" media="screen, projection"/>
<link rel="stylesheet" href="http://www.openstack.org/themes/openstack/css/blueprint/print.css" type="text/css" media="print"/>
<!-- IE CSS -->
<!--[if lt IE 8]><link rel="stylesheet" href="http://www.openstack.org/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
<!-- OpenStack Specific CSS -->
<link rel="stylesheet" href="http://www.openstack.org/themes/openstack/css/dropdown.css" type="text/css" media="screen, projection, print"/>
<!-- Page Specific CSS -->
<link rel="stylesheet" href="http://www.openstack.org/themes/openstack/css/home.css" type="text/css" media="screen, projection, print"/>
<link rel="stylesheet" type="text/css" href="http://www.openstack.org/themes/openstack/css/main.css" />
<style type="text/css">
.graph {
width: 600px;
height: 200px;
margin-bottom: 6px;
}
.extlink {
margin-left: 2em;
margin-right: 2em;
}
.bug-container {
margin-bottom: 2em;
}
</style>
<script type="text/javascript">
</script>
</HEAD>
<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',
yMax: 100,
yMin: 0,
target: [
"color(alias(movingAverage(asPercent(\
stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.FAILURE,\
sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.{SUCCESS,FAILURE})\
),'5hours'), 'gate-tempest-dsvm-neutron'),'00c868')",
"color(alias(movingAverage(asPercent(\
stats.zuul.pipeline.gate.job.gate-tempest-dsvm-full.FAILURE,\
sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-full.{SUCCESS,FAILURE})\
),'5hours'), 'gate-tempest-dsvm-full'),'00FF00')",
"color(alias(movingAverage(asPercent(\
stats.zuul.pipeline.check.job.check-grenade-dsvm.FAILURE,\
sum(stats.zuul.pipeline.check.job.check-grenade-dsvm.{SUCCESS,FAILURE})\
),'5hours'), 'check-grenade-dsvm'),'800080')",
"color(alias(movingAverage(asPercent(\
stats.zuul.pipeline.gate.job.gate-tempest-dsvm-large-ops.FAILURE,\
sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-large-ops.{SUCCESS,FAILURE})\
),'5hours'), 'gate-tempest-dsvm-large-ops'),'00F0F0')",
"color(alias(movingAverage(asPercent(\
stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron-large-ops.FAILURE,\
sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron-large-ops.{SUCCESS,FAILURE})\
),'5hours'), 'gate-tempest-dsvm-neutron-large-ops'),'E080FF')",
"color(alias(movingAverage(asPercent(\
stats.zuul.pipeline.gate.job.gate-tempest-dsvm-postgres-full.FAILURE,\
sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-postgres-full.{SUCCESS,FAILURE})\
),'5hours'), 'gate-tempest-dsvm-postgres-full'),'ED9121')",
],
title: "Gate Failure Rates"
}));
</script>
</div>
<div id="main-container" class="container">
</div>
<script type="text/javascript">footer();</script>
</BODY>
</html>