Skip to content

Sampling events

View Markdown

If you find that you’d like to report fewer events in order to minimize your quota consumption, you can update your configuration in config/honeybadger.php to conditionally send a certain percentage of events:

'events' => [
'enabled' => true,
'sample_rate' => 10
]

This will send 10% of events not associated with a request, and all events for 10% of requests.

To ignore specific events instead of sampling across the board, see Filtering events.