2020-04-30 14:33:57 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
/*
|
2020-05-09 00:35:49 +02:00
|
|
|
* Enable or disable the beacon
|
2020-04-30 14:33:57 +02:00
|
|
|
*/
|
2020-06-22 23:48:45 +02:00
|
|
|
'enabled' => env('BEACON_ENABLED', false),
|
2020-04-30 14:33:57 +02:00
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
/*
|
2020-04-30 14:33:57 +02:00
|
|
|
* The API endpoint for logs
|
|
|
|
*/
|
|
|
|
'endpoint' => 'https://app.lightlogs.com/api',
|
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
/*
|
2020-04-30 14:33:57 +02:00
|
|
|
* Your API key
|
|
|
|
*/
|
2020-09-06 11:38:10 +02:00
|
|
|
'api_key' => env('BEACON_API_KEY', ''),
|
2020-04-30 14:33:57 +02:00
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
/*
|
2020-04-30 14:33:57 +02:00
|
|
|
* Should batch requests
|
|
|
|
*/
|
|
|
|
'batch' => true,
|
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
/*
|
2020-04-30 14:33:57 +02:00
|
|
|
* The default key used to store
|
|
|
|
* metrics for batching
|
|
|
|
*/
|
2020-05-09 00:35:49 +02:00
|
|
|
'cache_key' => 'beacon',
|
2020-04-30 14:33:57 +02:00
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
/*
|
|
|
|
* Determines whether to log the
|
2020-05-04 13:13:46 +02:00
|
|
|
* host system variables using
|
|
|
|
* the built in metrics.
|
|
|
|
*/
|
|
|
|
'system_logging' => [
|
2020-05-09 00:35:49 +02:00
|
|
|
'Turbo124\Beacon\Jobs\System\CpuMetric',
|
|
|
|
'Turbo124\Beacon\Jobs\System\HdMetric',
|
2020-06-11 13:29:36 +02:00
|
|
|
'Turbo124\Beacon\Jobs\System\MemMetric',
|
2020-09-06 11:38:10 +02:00
|
|
|
App\Jobs\Ninja\CheckDbStatus::class,
|
2020-05-04 13:13:46 +02:00
|
|
|
],
|
|
|
|
|
2020-09-06 11:38:10 +02:00
|
|
|
];
|