Clark Boylan 206b428681 Switch to kibana3 link generation
This makes use of the kibana3 logstash dashboard's query and from
parameters to link in queries similar to how we linked in kibana2
queries with base64 encoding. This however uses a saner urlencode
instead of base64 so you should be able to read them as a human.

Note we shouldn't land this until we have switched logstash.o.o over to
kibana3.

Change-Id: Idc1d637db7e1142a24adab2d21bc747d3002dd56
Depends-On: I176148c3bdaf603a1703d215ac2086101ecabe21
2015-10-15 11:58:33 -07:00

99 lines
4.0 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="handlebars-v2.0.0.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>
<script type='text/javascript'>
var data_url = 'http://status.openstack.org/elastic-recheck/data/gate.json';
</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" />
<!-- Project specific css -->
<link rel="stylesheet" type="text/css" href="styles/elastic-recheck.css" />
<script type="text/javascript">
</script>
</HEAD>
<BODY>
<script type="text/javascript">header('Rechecks');</script>
<!-- this template is process by handlebar js... and makes
javascript sane again! -->
<script id="bug-template" type="text/x-handlebars-template">
<div id="bug-{{bug.number}}" class="bug-container">
<h2><a name="{{bug.number}}" href="#{{bug.number}}">Bug {{bug.number}} - {{bug.bug_data.name}}</a></h2>
<h3>{{bug.fails24}} fails in 24 hrs / {{bug.fails}} fails in
10 days</h3>
<h3>Projects: {{bug.bug_data.affects}}</h3>
{{#if bug.bug_data.reviews}}
<h3 class="openreviews">Open Reviews:</h3>
<div class="openreviews">
{{#each bug.bug_data.reviews}}
<a class="openreview" href="https://review.openstack.org/#/c/{{this}}">{{this}}</a>
{{/each}}
</div>
{{/if}}
<div class="graph"></div>
<a class="extlink" href="http://logstash.openstack.org/#/dashboard/file/logstash.json?{{bug.logstash_query}}">Logstash</a>
<a class="extlink" href="http://bugs.launchpad.net/bugs/{{bug.number}}">Launchpad</a>
</div>
</script>
<div class="container">
<ul class="nav nav-tabs">
<li><a href="index.html">All Pipelines</a></li>
<li class="active"><a href="gate.html">Gate Pipeline</a></li>
<li><a href="data/uncategorized.html">Uncategorized</a></li>
</ul>
</div>
<div id="vital-stats" class="container">
Data Last Updated: <span id="last_updated"></span><br>
Last Elastic Search Index Update: <span id="last_indexed"></span><br>
Delay in Elastic Search: <span id="behind"></span><br>
</div>
<div id="main-container" class="container">
</div>
<script type="text/javascript">footer();</script>
</BODY>
</html>