metrics: add a high mark for the cpu and memory app graphs

This commit is contained in:
Girish Ramakrishnan
2025-07-04 15:16:52 +02:00
parent 5fd86b781b
commit ac6f80c274
5 changed files with 48 additions and 10 deletions
+3 -1
View File
@@ -112,7 +112,8 @@ onUnmounted(async () => {
yscale="cpu"
:dataset-labels="['CPU']"
:dataset-colors="['#9ad0f5']"
:cpu="systemCpus"
:cpu-count="systemCpus.length"
:high-mark="systemCpus.length * app.cpuQuota/100"
>
</GraphItem>
@@ -124,6 +125,7 @@ onUnmounted(async () => {
:dataset-labels="['Memory']"
:dataset-colors="['#9ad0f5']"
:memory="appMemory"
:high-mark="appMemory"
>
</GraphItem>