feat: charts

This commit is contained in:
Andras Bacsai
2024-06-17 14:21:27 +02:00
parent 1ae6106782
commit 1d0a1ab16a
10 changed files with 160 additions and 8 deletions

View File

@@ -487,7 +487,6 @@ $schema://$host {
$parsedCollection = collect($cpu)->flatMap(function ($item) {
return collect(explode("\n", trim($item)))->map(function ($line) {
[$time, $value] = explode(',', trim($line));
return [(int) $time, (float) $value];
});
})->toArray();