Proposal: Enhance CPU and Memory Meters in Dozzle Interface with Additional Load Levels #3939
Replies: 3 comments 6 replies
-
I am not against this. But are those valid css values? I wasn't able to find anything that suggest they are. When I was looking at this I only saw the three colors as options. |
Beta Was this translation helpful? Give feedback.
-
Let me suggest an alternative that is feasible within the current implementation. Can we make the meter’s scaling less aggressive using the following? </td>
<td v-if="isVisible('cpu')">
<div class="flex flex-row items-center gap-1">
<meter
class="flex-1 overflow-hidden rounded-3xl"
min="0"
max="100"
low="60"
optimum="0"
high="80"
:value="Math.min(container.movingAverage.cpu, 100)"
></meter>
<span class="w-8 text-right text-sm">{{ container.movingAverage.cpu.toFixed(0) }}%</span>
</div>
</td>
<td v-if="isVisible('mem')">
<div class="flex flex-row items-center gap-1">
<meter
class="flex-1 overflow-hidden rounded-3xl"
min="0"
max="100"
low="70"
optimum="0"
high="90"
:value="container.movingAverage.memory"
></meter>
<span class="w-8 text-right text-sm">{{ container.movingAverage.memory.toFixed(0) }}%</span>
</div>
</td> If you feel the memory thresholds are a bit too high, you could also apply the same settings as for the CPU. |
Beta Was this translation helpful? Give feedback.
-
Closing Note: The proposed UI enhancements for average CPU and memory usage have been implemented. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @amir20,
I would like to propose an adjustment to the CPU and Memory meters on the Dozzle interface. The goal is to increase the number of levels from three to five, so that the measurements are less rough and the load is represented more accurately.
The current three levels are sometimes too rough, making it difficult to observe subtle changes in load. As a result, I suggest we divide the levels as follows:
With these changes, Dozzle will be able to display the load in five distinct categories instead of the current three. This will provide users with a more detailed view of the system's status.
Let me know what you think!
Beta Was this translation helpful? Give feedback.
All reactions