fix(metrics): move disk-fill chart up next to CPU and memory
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -245,6 +245,14 @@ export default function GraphsTab({ serverId, vmid, type, node }: Props) {
|
|||||||
color="hsl(142, 76%, 36%)"
|
color="hsl(142, 76%, 36%)"
|
||||||
formatValue={(v) => formatBytes(v)}
|
formatValue={(v) => formatBytes(v)}
|
||||||
/>
|
/>
|
||||||
|
<ChartCard
|
||||||
|
title="Заполненность диска"
|
||||||
|
data={points}
|
||||||
|
dataKey="diskpct"
|
||||||
|
color="hsl(45, 93%, 47%)"
|
||||||
|
formatValue={(v) => `${v.toFixed(1)}%`}
|
||||||
|
unit="%"
|
||||||
|
/>
|
||||||
<ChartCard
|
<ChartCard
|
||||||
title={t('graphs.network_in')}
|
title={t('graphs.network_in')}
|
||||||
data={points}
|
data={points}
|
||||||
@@ -275,14 +283,6 @@ export default function GraphsTab({ serverId, vmid, type, node }: Props) {
|
|||||||
color="hsl(0, 84%, 60%)"
|
color="hsl(0, 84%, 60%)"
|
||||||
formatValue={(v) => `${formatBytes(v)}/s`}
|
formatValue={(v) => `${formatBytes(v)}/s`}
|
||||||
/>
|
/>
|
||||||
<ChartCard
|
|
||||||
title="Заполненность диска"
|
|
||||||
data={points}
|
|
||||||
dataKey="diskpct"
|
|
||||||
color="hsl(45, 93%, 47%)"
|
|
||||||
formatValue={(v) => `${v.toFixed(1)}%`}
|
|
||||||
unit="%"
|
|
||||||
/>
|
|
||||||
<ChartCard
|
<ChartCard
|
||||||
title="IOPS чтение"
|
title="IOPS чтение"
|
||||||
data={points}
|
data={points}
|
||||||
|
|||||||
Reference in New Issue
Block a user