diff --git a/js/index.js b/js/index.js index 07c5ecf..6a29703 100644 --- a/js/index.js +++ b/js/index.js @@ -8,7 +8,7 @@ if ("serviceWorker" in navigator) { async function pageInit() { await loadQuickLinks(); hideLoading(); // From lib.main - localStorage.setItem("web_ver", document.getElementById('ver_str').textContent) + localStorage.setItem("ver-web", document.getElementById('ver_str').textContent) } async function gotoBoard(station){ diff --git a/js/stat.js b/js/stat.js index a45a544..08f4b52 100644 --- a/js/stat.js +++ b/js/stat.js @@ -22,4 +22,7 @@ async function display(data) { document.getElementById('stations').textContent = dat.stations || "0"; document.getElementById('users').textContent = dat.user || "0"; document.getElementById('meta').textContent = dat.meta || "0"; + document.getElementById('ver-bkend').textContent = dat.ver-bkend || "Unknown"; + document.getElementById('ver-dbman').textContent = dat.ver-bkend || "Unknown"; + document.getElementById('ver-web').textContent = localStorage.getItem('ver-web') || "Unknown"; } \ No newline at end of file diff --git a/stat.html b/stat.html index 7698ac8..2ebb239 100644 --- a/stat.html +++ b/stat.html @@ -2,13 +2,13 @@
-Counters Reset -
The statistics represent hits & queries from all containers in the cluster.
-An OwlBoard Cluster consists of: | +Software | +Version |
---|---|---|
Kubernetes environment with suitable ingress configured | +owlboard-backend | +|
At least one MongoDB database (maybe clustered across multiple instances) | +dbmanager | +|
db-manager run as a initContainer and optionally as a CronJob | -||
At least one backend (API server) | -||
At least one web server service (Caching is done at this level so more than one service may increase API hits) | +owlboard-web | +
The statistics represent hits & queries from all instances in the stack.
\ No newline at end of file