fix(metrics): move disk-fill chart to the very end after IOPS
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -277,14 +277,6 @@ export default function GraphsTab({ serverId, vmid, type, node }: Props) {
|
||||
formatValue={(v) => `${formatBytes(v)}/s`}
|
||||
headerRight={nicSelector}
|
||||
/>
|
||||
<ChartCard
|
||||
title="Заполненность диска"
|
||||
data={points}
|
||||
dataKey="diskpct"
|
||||
color="hsl(45, 93%, 47%)"
|
||||
formatValue={(v) => `${v.toFixed(1)}%`}
|
||||
unit="%"
|
||||
/>
|
||||
<ChartCard
|
||||
title="IOPS чтение"
|
||||
data={points}
|
||||
@@ -301,6 +293,14 @@ export default function GraphsTab({ serverId, vmid, type, node }: Props) {
|
||||
formatValue={(v) => `${v.toFixed(0)} ops/s`}
|
||||
unit=" ops/s"
|
||||
/>
|
||||
<ChartCard
|
||||
title="Заполненность диска"
|
||||
data={points}
|
||||
dataKey="diskpct"
|
||||
color="hsl(45, 93%, 47%)"
|
||||
formatValue={(v) => `${v.toFixed(1)}%`}
|
||||
unit="%"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user