feat: charts

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

No files matched your search

-1
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();