Changeset 3319124
- Timestamp:
- 06/28/2025 11:50:37 AM (9 months ago)
- File:
-
- 1 edited
-
debughawk/tags/0.8.1/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
debughawk/tags/0.8.1/readme.txt
r3319121 r3319124 39 39 4. Configure the plugin by adding the configuration provided by DebugHawk to your `wp-config.php` file, above the line that says `/* That's all, stop editing! */`: 40 40 41 `define( 'DEBUGHAWK_CONFIG', [42 'enabled' => true,43 'endpoint' => '...',44 'secret' => '...',45 ] );` 41 define( 'DEBUGHAWK_CONFIG', [ 42 'enabled' => true, 43 'endpoint' => '...', 44 'secret' => '...', 45 ] ); 46 46 47 47 == Configuration == … … 49 49 You can further customize DebugHawk, with the following additional options: 50 50 51 ``` 52 define('DEBUGHAWK_CONFIG', [ 53 'enabled' => true, 54 'endpoint' => '...', 55 'secret' => '...', 56 'sample_rate' => 0.25, // Optional: Sampling rate (0-1, default: 1.0) 57 'slow_queries_threshold' => 50, // Optional: Slow query threshold in ms (default: 50) 58 'trace_redirects' => true, // Optional: Track redirects (default: true) 59 'trace_admin_pages' => true, // Optional: Track admin pages (default: true) 60 ]); 61 ``` 51 define('DEBUGHAWK_CONFIG', [ 52 'enabled' => true, 53 'endpoint' => '...', 54 'secret' => '...', 55 'sample_rate' => 0.25, // Optional: Sampling rate (0-1, default: 1.0) 56 'slow_queries_threshold' => 50, // Optional: Slow query threshold in ms (default: 50) 57 'trace_redirects' => true, // Optional: Track redirects (default: true) 58 'trace_admin_pages' => true, // Optional: Track admin pages (default: true) 59 ]); 62 60 63 61 == How It Works ==
Note: See TracChangeset
for help on using the changeset viewer.