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

69 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OwlBoard - STATS</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 id="server_host"></h2>
<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>LDBWS</td>
<td id="ldbws"></td>
</tr>
<tr>
<td>LDBSVWS</td>
<td id="ldbsvws"></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>
<p>The statistics represent hits & queries on all servers in the cluster.</p>
<table style="margin:auto;text-align:left;">
<tr>
<th>An OwlBoard Cluster consists of:</th>
</tr>
<tr>
<td>Kubernetes environment with suitable ingress configured</td>
</tr>
<tr>
<td>At least one MongoDB database (maybe clustered across multiple instances)</td>
</tr>
<tr>
<td>At most one db-manager (Run as a initContainer and optionally as a CronJob)</td>
</tr>
<tr>
<td>At least one backend server</td>
</tr>
<tr>
<td>At least one web server service (Caching is done at this level so more than one service may increase API hits)</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>