This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
web/stat.html

82 lines
2.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="none"/>
<title>OwlBoard - Statistics</title>
<script src="./js/lib.main.js" defer></script>
<script src="./js/stat.js" defer></script>
</head>
<body style="text-align:center">
<h1>OwlBoard Server Stats</h1>
<h2>Data from: <span id="server_host"></span></h2>
<p>Server Mode: <span id="server_mode"></span></p>
<p>Counters Reset - <span id="time"></span></p>
<table style="margin:auto;text-align:center;">
<tr>
<th>Resource</th>
<th>Hit Count</th>
</tr>
<tr>
<td>Upstream API-LDBWS</td>
<td id="ldbws"></td>
</tr>
<tr>
<td>Upstream API-LDBSVWS</td>
<td id="ldbsvws"></td>
</tr>
<tr>
<td>Upstream API-CORPUS</td>
<td id="apicorpus"></td>
</tr>
<tr>
<td>DB-CORPUS</td>
<td id="corpus"></td>
</tr>
<tr>
<td>DB-stations</td>
<td id="stations"></td>
</tr>
<tr>
<td>DB-users</td>
<td id="users"></td>
</tr>
<tr>
<td>DB-meta</td>
<td id="meta"></td>
</tr>
</table>
<br><br>
<table style="margin:auto;text-align:center;">
<tr>
<th>Software</th>
<th>Version</th>
</tr>
<tr>
<td>
<a href="https://git.fjla.uk/OwlBoard/backend">
backend
</a>
</td>
<td id="ver-bkend"></td>
</tr>
<tr>
<td>
<a href="https://git.fjla.uk/OwlBoard/db-manager">
db-manager
</a>
</td>
<td id="ver-dbman"></td>
</tr>
<tr>
<td>
<a href="https://git.fjla.uk/OwlBoard/web">
web-frontend
</a>
</td>
<td id="ver-web"></td>
</tr>
</table>
<p>The statistics represent hits & queries from all instances in the stack.</p>
</body>
</html>