---
title: Automatic instrumentation
description: Events the Honeybadger Laravel package captures automatically for Honeybadger Insights.
url: https://docs.honeybadger.io/lib/php/insights/automatic-instrumentation/
---

If you’re using Laravel or Lumen, Honeybadger provides automatic instrumentation to capture events from your apps. By default, we’ll record:

* [Log events](https://laravel.com/docs/logging)
* [View renders](https://laravel.com/docs/views)
* [Email dispatches](https://laravel.com/docs/mail)
* [Job dispatches](https://laravel.com/docs/queues)
* [Notification dispatches](https://laravel.com/docs/notifications)
* [Database queries](https://laravel.com/docs/queries)
* [Redis commands](https://laravel.com/docs/redis)
* Incoming requests

See the [Laravel event reference](https://docs.honeybadger.io/insights/event-types/laravel/) for every event the package emits, with field schemas and types.

You can customise this with the `events` option in your `config/honeybadger.php`:

```php
    'events' => [
        'enabled' => true,


        'automatic' => [
            Events\DatabaseQueryExecuted::class,
            Events\DatabaseTransactionStarted::class,
            Events\DatabaseTransactionCommitted::class,
            Events\DatabaseTransactionRolledBack::class,
            Events\CacheHit::class,
            Events\CacheMiss::class,
            Events\JobQueued::class,
            Events\MailSending::class,
            Events\MailSent::class,
            Events\MessageLogged::class,
            Events\NotificationSending::class,
            Events\NotificationSent::class,
            Events\NotificationFailed::class,
            Events\RedisCommandExecuted::class,
            Events\RouteMatched::class,
            Events\ViewRendered::class,
        ],
    ],
```

The `events.automatic` key contains the list of the events Honeybadger tracks by default. You can disable a specific event by removing or commenting out the appropriate line.

## Managing event volume

If some events are noisy or you’d like to reduce quota consumption:

* [Filtering events](https://docs.honeybadger.io/lib/php/insights/filtering-events/) — inspect, modify, or drop events with a callback.
* [Sampling events](https://docs.honeybadger.io/lib/php/insights/sampling-events/) — send only a percentage of events.

## Sending your own events

Automatic instrumentation covers the framework events the package knows about. To send your own application events, see [Sending custom events](https://docs.honeybadger.io/lib/php/insights/sending-events-to-insights/).

---

## 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/)
