5 <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
9 <h2>Build Command Statistics - Prototype</h2>
11 This is an admittedly primitive interface to the build command
12 statistics gathered every time a build command (currently just
13 build_packages) is run in golo.chromium.org or corp.google.com.
17 <a href="https://developers.google.com/appengine/docs/python/datastore/gqlreference">GCL queries</a>
18 to search the statistics database. GCL has no SELECT or FROM clauses. This site
19 supports a SQL-like SELECT clause for column filtering, but no FROM clause is
20 needed/supported. If no SELECT clause is given then default columns are selected
21 (see below). A default LIMIT 30 is used unless otherwise specified.
26 <h3>Prepare a new query</h3>
27 <form action="/stats" method="get">
28 <h5>Write your own query</h5>
29 <div><textarea name="query" rows="2" cols="100">{{ user_query }}</textarea></div>
32 <input type="radio" name="format" value="table" checked>table (default)
33 <input type="radio" name="format" value="json">json
35 <div><input type="submit" value="Submit Query"></div>
38 <form action="/stats" method="get">
39 <h5>Select an example query</h5>
42 {% for example_query in example_queries %}
43 <option>{{ example_query }}</option>
49 <input type="radio" name="format" value="table" checked>table (default)
50 <input type="radio" name="format" value="json">json
52 <div><input type="submit" value="Submit Query"></div>
56 <div><h3>Query results</h3></div>
57 <div>For query: <b>{{ user_query }}</b></div>
60 <b><font color="red">{{ error_msg }}</font></b>
63 {% for row in results_table %}
75 <div><h3>Database columns available</h3></div>
77 {% for col in column_list %}
83 Signed in as <b>{{ user_email }}</b>