elastic-recheck/web
Joe Gordon 1981ff7b5f Add open reviews to elastic-recheck status page
List open gerrit reviews on the elastic_recheck status page. Listing the
reviews here can help us prioritize reviews of them. Currently one has
to manually dig through the launchpad notes for gerrit review links,
this automates that process.

Instead of looking for jenkins comments in launchpad about open patches,
directly query gerrit for open patches related to the bug on hand. Since
gerrit only supports string matching and not regex for messages, just
look for the bug number in the commit message. Our bug numbers are long
enough that it unlikely the number will come up in other cases.

Change-Id: Ida2144ccc5f0fdf91e2bd70714de80c83f4c1200
2014-08-08 14:38:16 -07:00
..
conf add support for installing the web dashboard 2013-12-03 10:41:21 -08:00
share Add open reviews to elastic-recheck status page 2014-08-08 14:38:16 -07:00
README.rst add support for installing the web dashboard 2013-12-03 10:41:21 -08:00

Elastic Recheck Dashboard

Elastic Recheck is a handy tool for mining the data in our logstash environment to categorize race conditions in the OpenStack gate. In addition to including a number of command line tools, we provide an html dashboard, because the kids love that html.

Architecture

The dashboard currently consists of static html and a set of javascript libraries, which read json files full of data, and do client side rendering of graphs. This may change in the future.

Below this tree you'll find a set of sub-directories that assume that you are running this in an apache environment.

  • static files - /usr/share/elastic-recheck
  • dynamic json - /var/lib/elastic-recheck
  • apache config - /etc/apache/conf.d/elastic-recheck.conf

Json files directory is expected to be mapped to /elastic-recheck/data and the static files to /elastic-recheck.

Installation

At install time for elastic-recheck the static files are installed as per our assumed location. The apache configuration is not changed, however an example is provided in the conf directory.