---
title: Sampling events
description: Send a percentage of events from your PHP application to Honeybadger Insights to manage quota consumption.
url: https://docs.honeybadger.io/lib/php/insights/sampling-events/
---

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:

```php
    '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](https://docs.honeybadger.io/lib/php/insights/filtering-events/).

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
