@include("metrics.partials.filter")
@include("metrics.partials.data-retention")
@php
$cpuSets = [
"name" => "CPU Load",
"data" => $data["metrics"]->pluck("load")->toArray(),
"color" => "#ff9900",
];
$memorySets = [
"name" => "Memory Usage",
"data" => $data["metrics"]->pluck("memory_used")->toArray(),
"color" => "#3366cc",
];
$diskSets = [
"name" => "Disk Usage",
"data" => $data["metrics"]->pluck("disk_used")->toArray(),
"color" => "#109618",
];
@endphp
Total Memory
{{ $lastMetric ? $lastMetric->memory_total : "-" }} MB
Used Memory
{{ $lastMetric ? $lastMetric->memory_used : "-" }} MB
Free Memory
{{ $lastMetric ? $lastMetric->memory_free : "-" }} MB
Total Space
{{ $lastMetric ? $lastMetric->disk_total : "-" }} MB
Used Space
{{ $lastMetric ? $lastMetric->disk_used : "-" }} MB
Free Space
{{ $lastMetric ? $lastMetric->disk_free : "-" }} MB
@stack("modals")