Skip to content

Commit c8ad1a9

Browse files
authored
Configuration Readme Update. (#6)
updated readme with new configuration information.
1 parent dfc5c6f commit c8ad1a9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,19 @@ Adjust the configuration file to suite your application.
5050
'enabled' => true, // Do you want to capture everything or only slow queries?
5151
'threshold' => 500, // The number of milliseconds it took to execute the query.
5252
],
53+
'context' => [
54+
'auth_user' => [
55+
'enabled' => true, // Do you want to know context of the authenticated user when query is captured?
56+
'ttl' => 300, // How long do you want the session_id/authenticated user cached for?
57+
// without this cache, your application will infinite loop because it will capture
58+
// the user query and loop.
59+
// See closed Issue #1 for context.
60+
],
61+
'trigger' => [
62+
'enabled' => true, // Do you want to know what triggered the query?
63+
// i.e Console command or Request
64+
],
65+
],
5366
],
5467
'listener' => [ // Channel notifications are queued
5568
'connection' => 'sync', // Define what connection to use.

0 commit comments

Comments
 (0)