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

If you find that you’d like to report fewer events in order to minimize your quota consumption, you can conditionally send a certain percentage of events:

config/honeybadger.yml

```yaml
insights:
  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/ruby/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/)
