metrics: add a high mark for the cpu and memory app graphs
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user