---
title: discard.active_job
description: An Active Job job was discarded.
url: https://docs.honeybadger.io/insights/event-types/ruby/discard.active_job/
---

An Active Job job was discarded.

Source **Active Job** Category **Jobs** Fields **10** [honeybadger-ruby](https://docs.honeybadger.io/lib/ruby/)

## Fields

| Field             | Type   | Description                                                                                                  |
| ----------------- | ------ | ------------------------------------------------------------------------------------------------------------ |
| `event_type`      | string | Allowed value: `discard.active_job`.                                                                         |
| `job_class`       | string | ActiveJob class name.                                                                                        |
| `job_id`          | string | Unique job identifier.                                                                                       |
| `queue_name`      | string | Queue the job is on.                                                                                         |
| `adapter_class`   | string | ActiveJob adapter class, e.g. "SidekiqAdapter".                                                              |
| `duration`        | number | Duration in milliseconds.                                                                                    |
| `instrumenter_id` | string | Rails ActiveSupport::Notifications instrumenter UUID.                                                        |
| `request_id`      | string | Rails request UUID from the active web request context, if any. Merged globally by the Honeybadger agent.    |
| `hostname`        | string | Server hostname. Attached to every event by default (events.attach\_hostname).                               |
| `environment`     | string | Application environment, e.g. "production". Attached to every event by default (events.attach\_environment). |

## Example

```json
{
  "event_type": "discard.active_job",
  "job_class": "WelcomeEmailJob",
  "job_id": "c6e1f6b2-8d4a-4f0e-9b7c-1a2d3e4f5a6b",
  "queue_name": "default",
  "adapter_class": "ActiveJob::QueueAdapters::SidekiqAdapter",
  "duration": 0.34,
  "instrumenter_id": "a3c8e1f5b7d2c4e9f0a6",
  "request_id": "3d9c2f81-6e5a-4f7b-9c0d-8a1b2c3d4e5f",
  "hostname": "worker-1.example.com",
  "environment": "production"
}
```

---

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