Skip to content

Commit 76bd34c

Browse files
authored
feat: add Insights event sampling (#159)
See honeybadger-io/honeybadger-php#227
1 parent 96fac3b commit 76bd34c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/honeybadger.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@
160160
*/
161161
'dispatch_interval_seconds' => BulkEventDispatcher::DISPATCH_INTERVAL_SECONDS,
162162

163+
/**
164+
* The percentage of events to send
165+
*/
166+
'sample_rate' => 100,
167+
163168
/**
164169
* Events which should automatically be sent to Honeybadger Insights.
165170
* Note that to track redis events, you need to call `Redis::enableEvents()` in your app.

0 commit comments

Comments
 (0)