<!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>API Server: <span id="server_host"></span></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>
<td>LDBWS</td>
<td id="ldbws"></td>
<td>LDBSVWS</td>
<td id="ldbsvws"></td>
<td>DB-CORPUS</td>
<td id="corpus"></td>
<td>DB-Stations</td>
<td id="stations"></td>
<td>DB-Users</td>
<td id="users"></td>
<td>DB-Meta</td>
<td id="meta"></td>
</table>
<br><br>
<p>The statistics represent hits & queries on all servers in the cluster.</p>
<table style="margin:auto;text-align:left;">
<th>An OwlBoard Cluster consists of:</th>
<td>Kubernetes environment with suitable ingress configured</td>
<td>At least one MongoDB database (maybe clustered across multiple instances)</td>
<td>db-manager run as a initContainer and optionally as a CronJob</td>
<td>At least one backend (API server)</td>
<td>At least one web server service (Caching is done at this level so more than one service may increase API hits)</td>
<td></td>
</body>
</html>