Skip to content

discard.active_job

View Markdown

An Active Job job was discarded.

Source Active Job Category Jobs Fields 10 honeybadger-ruby

Fields

10
FieldTypeDescription
event_typestringAllowed value: discard.active_job.
job_classstringActiveJob class name.
job_idstringUnique job identifier.
queue_namestringQueue the job is on.
adapter_classstringActiveJob adapter class, e.g. "SidekiqAdapter".
durationnumberDuration in milliseconds.
instrumenter_idstringRails ActiveSupport::Notifications instrumenter UUID.
request_idstringRails request UUID from the active web request context, if any. Merged globally by the Honeybadger agent.
hostnamestringServer hostname. Attached to every event by default (events.attach_hostname).
environmentstringApplication environment, e.g. "production". Attached to every event by default (events.attach_environment).

Example

{
"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"
}