update pulse

This commit is contained in:
2024-01-26 00:24:09 +05:00
parent aaf28aadff
commit 7eec5cce74
11 changed files with 315 additions and 1 deletions

24
config/disk-metrics.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
return [
/**
* Track disks defined in filesystems.php config file.
* Support only 'local' or 's3' driver.
*
* You can pass an array ['directories', 'files'] ONLY to a local disk
* which will determine what to be counted. To count both,
* you can pass an empty array.
*/
'disks' => [
'local' => [],
// 'public' => [],
// 's3' => []
],
/**
* How often (in minutes) should the Laravel Pulse capture data?
* The value should be greated than 1!
* Default: 10
*/
'record_interval' => 1
];

View File

@@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
return [
/**
* Hide sections from the about command.
*
* Possible values are: "environment", "cache", "drivers", "livewire
*/
'hide' => [
// 'environment',
// 'cache',
// 'drivers',
// 'livewire',
],
];

View File

@@ -223,5 +223,9 @@ return [
'#^/pulse$#', // Pulse dashboard...
],
],
\Geow\DiskMetrics\Recorders\DiskRecorder::class => [
'enabled' => env('GEOW_DISK_METRICS', true),
]
],
];