This commit is contained in:
Mateusz Gruszczyński committed 2026-10-15 11:10:49 +02:00
1 parent b757b34a31
commit 5a36bb0c4b
20 files changed
+356 -186

No files matched your search

+3 -1
View File
@@ -1,4 +1,5 @@
// Opt-in compact metrics and bounded visualizations. All readings reuse the
// existing Overview live-status payload (no additional requests or timers).
window.rustProxyExtraOverview = (() => {
const limit = () => window.rustProxyOverviewSamples?.getLimit?.() ?? 60;
const names = [
@@ -150,6 +151,7 @@ window.rustProxyExtraOverview = (() => {
for (const id of names) {
const tile = node(id);
if (!tile) { lastCounter.delete(id); continue; }
// Visibility is only a presentation concern; retain live history.
const metric = read(id, status, now, record);
const value = metric.value;
if (lastUnits.get(id) !== metric.unit) {