forked from GoogleCloudPlatform/java-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.jsp
More file actions
30 lines (29 loc) · 847 Bytes
/
Copy pathindex.jsp
File metadata and controls
30 lines (29 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<%@ page import="com.example.appengine.bigquerylogging.BigQueryHome" %>
<html>
<title>An example of using BigQuery and StackDriver Logging on AppEngine Standard</title>
<body>
<h3>Run query</h3>
<form action="bigquery/run" method="POST">
<input id="submit" type="submit" value="Start Run" />
</form>
<h3> Most Recent Run Results </h3>
<table border="1" cellpadding="10">
<tr>
<th>URL</th>
<th>View Count</th>
</tr>
<%= BigQueryHome.getMostRecentRun() %>
</table>
<h3>Run Metric Values</h3>
<table border="1" cellpadding="10">
<tr>
<th>Metric Type</th>
<th>Count</th>
<th>Most Recent End Time</th>
<th>Most Recent Value</th>
<th>Average/Values</th>
</tr>
<%= BigQueryHome.getMetricAverages() %>
</table>
</body>
</html>