Skip to content

[5.7] Document Telescope gate watcher #4817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions telescope.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- [Dump Watcher](#dump-watcher)
- [Event Watcher](#event-watcher)
- [Exception Watcher](#exception-watcher)
- [Gate Watcher](#gate-watcher)
- [Job Watcher](#job-watcher)
- [Log Watcher](#log-watcher)
- [Mail Watcher](#mail-watcher)
Expand Down Expand Up @@ -230,6 +231,19 @@ The event watcher records the payload, listeners, and broadcast data for any eve

The exception watcher records the data and stack trace for any reportable Exceptions that are thrown by your application.

<a name="gate-watcher"></a>
### Gate Watcher

The gate watcher records the data and result of gate and policy checks by your application. If you would like to exclude certain abilities from being recorded by the watcher, you may specify those in the `ignore_abilities` option in your `config/telescope.php` file:

'watchers' => [
Watchers\GateWatcher::class => [
'enabled' => env('TELESCOPE_GATE_WATCHER', true),
'ignore_abilities' => ['viewNova'],
],
...
],

<a name="job-watcher"></a>
### Job Watcher

Expand Down