Update telescope config
This commit is contained in:
parent
65a8aa0ece
commit
ac80ddc52a
|
@ -82,7 +82,7 @@ return [
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
| Ignored Paths & Commands
|
| Allowed / Ignored Paths & Commands
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| The following array lists the URI paths and Artisan commands that will
|
| The following array lists the URI paths and Artisan commands that will
|
||||||
|
@ -91,6 +91,10 @@ return [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
'only_paths' => [
|
||||||
|
// 'api/*'
|
||||||
|
],
|
||||||
|
|
||||||
'ignore_paths' => [
|
'ignore_paths' => [
|
||||||
'nova-api*',
|
'nova-api*',
|
||||||
],
|
],
|
||||||
|
@ -111,7 +115,9 @@ return [
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'watchers' => [
|
'watchers' => [
|
||||||
|
Watchers\BatchWatcher::class => env('TELESCOPE_BATCH_WATCHER', true),
|
||||||
Watchers\CacheWatcher::class => env('TELESCOPE_CACHE_WATCHER', true),
|
Watchers\CacheWatcher::class => env('TELESCOPE_CACHE_WATCHER', true),
|
||||||
|
Watchers\ClientRequestWatcher::class => env('TELESCOPE_CLIENT_REQUEST_WATCHER', true),
|
||||||
|
|
||||||
Watchers\CommandWatcher::class => [
|
Watchers\CommandWatcher::class => [
|
||||||
'enabled' => env('TELESCOPE_COMMAND_WATCHER', true),
|
'enabled' => env('TELESCOPE_COMMAND_WATCHER', true),
|
||||||
|
@ -126,6 +132,13 @@ return [
|
||||||
],
|
],
|
||||||
|
|
||||||
Watchers\ExceptionWatcher::class => env('TELESCOPE_EXCEPTION_WATCHER', true),
|
Watchers\ExceptionWatcher::class => env('TELESCOPE_EXCEPTION_WATCHER', true),
|
||||||
|
|
||||||
|
Watchers\GateWatcher::class => [
|
||||||
|
'enabled' => env('TELESCOPE_GATE_WATCHER', true),
|
||||||
|
'ignore_abilities' => [],
|
||||||
|
'ignore_packages' => true,
|
||||||
|
],
|
||||||
|
|
||||||
Watchers\JobWatcher::class => env('TELESCOPE_JOB_WATCHER', true),
|
Watchers\JobWatcher::class => env('TELESCOPE_JOB_WATCHER', true),
|
||||||
Watchers\LogWatcher::class => env('TELESCOPE_LOG_WATCHER', true),
|
Watchers\LogWatcher::class => env('TELESCOPE_LOG_WATCHER', true),
|
||||||
Watchers\MailWatcher::class => env('TELESCOPE_MAIL_WATCHER', true),
|
Watchers\MailWatcher::class => env('TELESCOPE_MAIL_WATCHER', true),
|
||||||
|
@ -133,6 +146,7 @@ return [
|
||||||
Watchers\ModelWatcher::class => [
|
Watchers\ModelWatcher::class => [
|
||||||
'enabled' => env('TELESCOPE_MODEL_WATCHER', true),
|
'enabled' => env('TELESCOPE_MODEL_WATCHER', true),
|
||||||
'events' => ['eloquent.*'],
|
'events' => ['eloquent.*'],
|
||||||
|
'hydrations' => true,
|
||||||
],
|
],
|
||||||
|
|
||||||
Watchers\NotificationWatcher::class => env('TELESCOPE_NOTIFICATION_WATCHER', true),
|
Watchers\NotificationWatcher::class => env('TELESCOPE_NOTIFICATION_WATCHER', true),
|
||||||
|
@ -148,16 +162,10 @@ return [
|
||||||
Watchers\RequestWatcher::class => [
|
Watchers\RequestWatcher::class => [
|
||||||
'enabled' => env('TELESCOPE_REQUEST_WATCHER', true),
|
'enabled' => env('TELESCOPE_REQUEST_WATCHER', true),
|
||||||
'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64),
|
'size_limit' => env('TELESCOPE_RESPONSE_SIZE_LIMIT', 64),
|
||||||
],
|
'ignore_status_codes' => [],
|
||||||
|
|
||||||
Watchers\GateWatcher::class => [
|
|
||||||
'enabled' => env('TELESCOPE_GATE_WATCHER', true),
|
|
||||||
'ignore_abilities' => [],
|
|
||||||
'ignore_packages' => true,
|
|
||||||
],
|
],
|
||||||
|
|
||||||
Watchers\ScheduleWatcher::class => env('TELESCOPE_SCHEDULE_WATCHER', true),
|
Watchers\ScheduleWatcher::class => env('TELESCOPE_SCHEDULE_WATCHER', true),
|
||||||
|
|
||||||
Watchers\ViewWatcher::class => env('TELESCOPE_VIEW_WATCHER', true),
|
Watchers\ViewWatcher::class => env('TELESCOPE_VIEW_WATCHER', true),
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue