fix: Adjusted <meter> thresholds for CPU and Memory usage display (#3940)
Push container / Push branches and PRs (push) Has been cancelled
Deploy VitePress site to Pages / build (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
Test / Typecheck (push) Has been cancelled
Test / JavaScript Tests (push) Has been cancelled
Test / Go Tests (push) Has been cancelled
Test / Go Staticcheck (push) Has been cancelled
Test / Integration Tests (push) Has been cancelled

This commit is contained in:
GJS
2025-06-02 14:46:05 +02:00
committed by GitHub
parent 7e5b413c48
commit 7e2dd1c69e
+4 -4
View File
@@ -83,9 +83,9 @@
class="flex-1 overflow-hidden rounded-3xl"
min="0"
max="100"
low="40"
low="60"
optimum="0"
high="70"
high="80"
:value="Math.min(container.movingAverage.cpu, 100)"
></meter>
<span class="w-8 text-right text-sm">{{ container.movingAverage.cpu.toFixed(0) }}%</span>
@@ -97,9 +97,9 @@
class="flex-1 overflow-hidden rounded-3xl"
min="0"
max="100"
low="40"
low="70"
optimum="0"
high="70"
high="90"
:value="container.movingAverage.memory"
></meter>
<span class="w-8 text-right text-sm">{{ container.movingAverage.memory.toFixed(0) }}%</span>