Skip to content

Ruby event reference

View Markdown
Every event the Honeybadger Ruby gem sends to Insights when instrumentation is enabled: Rails requests, database queries, view renders, and cache operations; Active Job, Sidekiq, SolidQueue, and Karafka job processing; Net::HTTP requests; Puma, system, and GC stats; and ActiveAgent LLM instrumentation. Each entry lists the event's fields with their types, and links to its raw JSON Schema.
56 events emitted by honeybadger-ruby.

Action Controller

exist_fragment?.action_controller

A Rails fragment cache existence check.

FieldTypeDescription
event_typestringAllowed value: exist_fragment?.action_controller.
keystringFragment cache key.
durationnumberDuration in milliseconds.
instrumenter_idstring
request_idstringRails request UUID, present on any event fired during a web request context. 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": "exist_fragment?.action_controller",
"key": "views/users/123-20260612143000000000/a1b2c3d4e5f6",
"duration": 0.31,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

expire_fragment.action_controller

A Rails fragment cache expire call.

FieldTypeDescription
event_typestringAllowed value: expire_fragment.action_controller.
keystringFragment cache key.
durationnumberDuration in milliseconds.
instrumenter_idstring
request_idstringRails request UUID, present on any event fired during a web request context. 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": "expire_fragment.action_controller",
"key": "views/users/123-20260612143000000000/a1b2c3d4e5f6",
"duration": 0.52,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

halted_callback.action_controller

A before/around filter halted the Rails request processing chain.

FieldTypeDescription
event_typestringAllowed value: halted_callback.action_controller.
filterstringName of the filter/callback that halted the chain.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "halted_callback.action_controller",
"filter": "require_login",
"duration": 2.15,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

process_action.action_controller

A Rails controller action finished handling an HTTP request. Includes total duration, database time, view time, route details, and response status.

FieldTypeDescription
event_typestringAllowed value: process_action.action_controller.
controllerstringController class name, e.g. "SearchController".
actionstringAction method on the controller, e.g. "index", "destroy".
methodstringHTTP method, e.g. "GET", "POST", "PUT".
pathstringRequest path, e.g. "/follows". Often high-cardinality due to ids.
formatstringResponse format, e.g. "html", "json".
statusintegerHTTP status code returned to the client.
durationnumberTotal wall-clock time the action took, in milliseconds. Includes db_runtime and view_runtime.
db_runtimenumberMilliseconds spent in DB queries during this action.
view_runtimenumberMilliseconds spent rendering views during this action.
request_idstringRails request UUID. Also appears on sql.active_record, render_*.action_view, and cache_*.active_support events from the same request.
instrumenter_idstringUnique identifier for the ActiveSupport::Notifications instrumentation request, assigned by Rails.
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": "process_action.action_controller",
"controller": "UsersController",
"action": "show",
"method": "GET",
"path": "/users/123",
"format": "html",
"status": 200,
"duration": 145.2,
"db_runtime": 38.7,
"view_runtime": 52.4,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"hostname": "web-1.example.com",
"environment": "production"
}

read_fragment.action_controller

A Rails fragment cache read.

FieldTypeDescription
event_typestringAllowed value: read_fragment.action_controller.
keystringFragment cache key.
durationnumberDuration in milliseconds.
instrumenter_idstring
request_idstringRails request UUID, present on any event fired during a web request context. 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": "read_fragment.action_controller",
"key": "views/users/123-20260612143000000000/a1b2c3d4e5f6",
"duration": 0.45,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

redirect_to.action_controller

A Rails controller issued a redirect.

FieldTypeDescription
event_typestringAllowed value: redirect_to.action_controller.
statusintegerHTTP redirect status code, e.g. 301, 302.
locationstringURL the client is redirected to.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "redirect_to.action_controller",
"status": 302,
"location": "https://app.example.com/users/123",
"duration": 0.85,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

send_file.action_controller

A Rails controller started sending a file.

FieldTypeDescription
event_typestringAllowed value: send_file.action_controller.
pathstringFilesystem path of the file being sent.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "send_file.action_controller",
"path": "/app/storage/exports/report-2026-06.pdf",
"duration": 3.42,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

unpermitted_parameters.action_controller

Rails strong parameters filtered out unpermitted keys.

FieldTypeDescription
event_typestringAllowed value: unpermitted_parameters.action_controller.
keysarray<string>Parameter keys that were not permitted.
contextobjectRequest context at the time of the violation.
context.controllerstring
context.actionstring
context.requestobject
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "unpermitted_parameters.action_controller",
"keys": [
"admin",
"role"
],
"context": {
"controller": "UsersController",
"action": "update",
"request": {
"method": "PATCH",
"path": "/users/123"
}
},
"duration": 0.12,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

write_fragment.action_controller

A Rails fragment cache write.

FieldTypeDescription
event_typestringAllowed value: write_fragment.action_controller.
keystringFragment cache key.
durationnumberDuration in milliseconds.
instrumenter_idstring
request_idstringRails request UUID, present on any event fired during a web request context. 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": "write_fragment.action_controller",
"key": "views/users/123-20260612143000000000/a1b2c3d4e5f6",
"duration": 0.62,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

Action Mailer

process.action_mailer

Rails generated an Action Mailer message.

FieldTypeDescription
event_typestringAllowed value: process.action_mailer.
mailerstringMailer class name, e.g. "UserMailer".
actionstringMailer action method, e.g. "welcome_email".
message_idstringMessage-ID header of the generated email.
subjectstringEmail subject line.
toarray<string>Recipient addresses.
ccarray<string>CC addresses.
bccarray<string>BCC addresses.
datestringEmail date header as a string.
attachmentsarray<object>File attachments included in the email.
attachments.filenamestring
paramsobjectParams passed to the mailer action.
params.*anyAdditional caller-defined keys.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "process.action_mailer",
"mailer": "UserMailer",
"action": "welcome_email",
"message_id": "684af2d1c3b4a_1a2b3c4d5e6f@web-1.example.com.mail",
"subject": "Welcome to Example App",
"to": [
"user@example.com"
],
"cc": [
"support@example.com"
],
"bcc": [
"audit@example.com"
],
"date": "Fri, 12 Jun 2026 14:30:00 +0000",
"attachments": [
{
"filename": "welcome-guide.pdf"
}
],
"params": {
"user_id": 123
},
"duration": 84.21,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

Action View

render_collection.action_view

A Rails view render. This shape is shared by template, partial, and collection render events. A typical request has one template render and several partial renders.

FieldTypeDescription
event_typestringAllowed value: render_collection.action_view.
viewstringPath of the template file, e.g. "[PROJECT_ROOT]/app/views/users/show.html.erb".
layoutstring | nullLayout the template was rendered into, e.g. "application". Null when the render skipped layouts.
durationnumberRender duration in milliseconds.
request_idstringRails request UUID. Shared by all events from the same HTTP request.
instrumenter_idstringUnique identifier for the ActiveSupport::Notifications instrumentation request, assigned by Rails.
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": "render_collection.action_view",
"view": "[PROJECT_ROOT]/app/views/comments/_comment.html.erb",
"layout": null,
"duration": 6.4,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"hostname": "web-1.example.com",
"environment": "production"
}

render_partial.action_view

A Rails view render. This shape is shared by template, partial, and collection render events. A typical request has one template render and several partial renders.

FieldTypeDescription
event_typestringAllowed value: render_partial.action_view.
viewstringPath of the template file, e.g. "[PROJECT_ROOT]/app/views/users/show.html.erb".
layoutstring | nullLayout the template was rendered into, e.g. "application". Null when the render skipped layouts.
durationnumberRender duration in milliseconds.
request_idstringRails request UUID. Shared by all events from the same HTTP request.
instrumenter_idstringUnique identifier for the ActiveSupport::Notifications instrumentation request, assigned by Rails.
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": "render_partial.action_view",
"view": "[PROJECT_ROOT]/app/views/users/_user.html.erb",
"layout": null,
"duration": 1.8,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"hostname": "web-1.example.com",
"environment": "production"
}

render_template.action_view

A Rails view render. This shape is shared by template, partial, and collection render events. A typical request has one template render and several partial renders.

FieldTypeDescription
event_typestringAllowed value: render_template.action_view.
viewstringPath of the template file, e.g. "[PROJECT_ROOT]/app/views/users/show.html.erb".
layoutstring | nullLayout the template was rendered into, e.g. "application". Null when the render skipped layouts.
durationnumberRender duration in milliseconds.
request_idstringRails request UUID. Shared by all events from the same HTTP request.
instrumenter_idstringUnique identifier for the ActiveSupport::Notifications instrumentation request, assigned by Rails.
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": "render_template.action_view",
"view": "[PROJECT_ROOT]/app/views/users/show.html.erb",
"layout": "layouts/application",
"duration": 24.6,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"hostname": "web-1.example.com",
"environment": "production"
}

Active Agent

embed.active_agent

An embedding request made through ActiveAgent.

FieldTypeDescription
event_typestringAllowed value: embed.active_agent.
providerstringModel provider name.
provider_modulestringActiveAgent provider module class name.
modelstringEmbedding model identifier.
trace_idstringTrace ID for correlating events within a single agent run.
input_sizeintegerNumber of input strings submitted for embedding.
embedding_countintegerNumber of embedding vectors returned.
encoding_formatstringEncoding format requested, e.g. "float".
dimensionsintegerEmbedding vector dimensions.
response_modelstringModel identifier as returned by the provider.
response_idstringProvider-assigned response ID.
usageobjectToken usage reported by the provider.
usage.input_tokensinteger
usage.total_tokensinteger
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "embed.active_agent",
"provider": "OpenAI",
"provider_module": "OpenAI::Embeddings",
"model": "text-embedding-3-small",
"trace_id": "9b4f2a6e-1c8d-4e7a-b3f5-6d2c9e0a4b18",
"input_size": 3,
"embedding_count": 3,
"encoding_format": "float",
"dimensions": 1536,
"response_model": "text-embedding-3-small",
"response_id": "embd-9f8e7d6c5b4a3210fedc",
"usage": {
"input_tokens": 42,
"total_tokens": 42
},
"duration": 184.27,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

process.active_agent

An ActiveAgent action ran. Honeybadger forwards the ActiveAgent payload as-is, so extra fields depend on your ActiveAgent version and provider.

FieldTypeDescription
event_typestringAllowed value: process.active_agent.
trace_idstringTrace ID for correlating events within a single agent run.
providerstringModel provider name.
durationnumberDuration in milliseconds.
instrumenter_idstringActiveSupport::Notifications instrumenter UUID, added by the Honeybadger notification subscriber.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "process.active_agent",
"trace_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"provider": "openai",
"duration": 2310.47,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

prompt.active_agent

A model prompt request made through ActiveAgent.

FieldTypeDescription
event_typestringAllowed value: prompt.active_agent.
providerstringModel provider name, e.g. "openai", "anthropic".
provider_modulestringActiveAgent provider module class name.
modelstringModel identifier, e.g. "gpt-4o", "claude-3-opus".
trace_idstringTrace ID for correlating events within a single agent run.
message_countintegerNumber of messages in the prompt context.
streambooleanWhether the response was streamed.
finish_reasonstringStop reason returned by the provider, e.g. "stop", "length".
response_modelstringModel identifier as returned by the provider response.
response_idstringProvider-assigned response ID.
temperaturenumberSampling temperature used.
max_tokensintegerMax tokens parameter.
top_pnumberTop-p nucleus sampling parameter.
tool_countintegerNumber of tools available to the model.
has_instructionsbooleanWhether a system instructions block was included.
usageobjectToken usage reported by the provider.
usage.input_tokensinteger
usage.output_tokensinteger
usage.total_tokensinteger
durationnumberDuration in milliseconds.
instrumenter_idstringActiveSupport::Notifications instrumenter UUID, added by the Honeybadger notification subscriber.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "prompt.active_agent",
"provider": "openai",
"provider_module": "ActiveAgent::GenerationProvider::OpenAIProvider",
"model": "gpt-4o",
"trace_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"message_count": 4,
"stream": false,
"finish_reason": "stop",
"response_model": "gpt-4o-2024-08-06",
"response_id": "chatcmpl-Bx7Qk2T9fJ3aV1mN5pR8sLwY",
"temperature": 0.7,
"max_tokens": 1024,
"top_p": 1,
"tool_count": 3,
"has_instructions": true,
"usage": {
"input_tokens": 412,
"output_tokens": 186,
"total_tokens": 598
},
"duration": 1820.43,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

stream_close.active_agent

An ActiveAgent streaming response closed. Honeybadger forwards the ActiveAgent payload as-is, so extra fields depend on your ActiveAgent version and provider.

FieldTypeDescription
event_typestringAllowed value: stream_close.active_agent.
trace_idstringTrace ID for correlating events within a single agent run.
providerstringModel provider name.
durationnumberDuration in milliseconds.
instrumenter_idstringActiveSupport::Notifications instrumenter UUID, added by the Honeybadger notification subscriber.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "stream_close.active_agent",
"trace_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"provider": "openai",
"duration": 1864.92,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

stream_open.active_agent

An ActiveAgent streaming response opened. Honeybadger forwards the ActiveAgent payload as-is, so extra fields depend on your ActiveAgent version and provider.

FieldTypeDescription
event_typestringAllowed value: stream_open.active_agent.
trace_idstringTrace ID for correlating events within a single agent run.
providerstringModel provider name.
durationnumberDuration in milliseconds.
instrumenter_idstringActiveSupport::Notifications instrumenter UUID, added by the Honeybadger notification subscriber.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "stream_open.active_agent",
"trace_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"provider": "openai",
"duration": 412.78,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

tool_call.active_agent

An ActiveAgent tool call ran. Honeybadger forwards the ActiveAgent payload as-is, so extra fields depend on your ActiveAgent version and provider.

FieldTypeDescription
event_typestringAllowed value: tool_call.active_agent.
trace_idstringTrace ID for correlating events within a single agent run.
providerstringModel provider name.
durationnumberDuration in milliseconds.
instrumenter_idstringActiveSupport::Notifications instrumenter UUID, added by the Honeybadger notification subscriber.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "tool_call.active_agent",
"trace_id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"provider": "openai",
"duration": 35.61,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

Active Job

discard.active_job

An Active Job job was discarded.

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

enqueue_all.active_job

A batch of Active Job jobs was enqueued.

FieldTypeDescription
event_typestringAllowed value: enqueue_all.active_job.
adapter_classstringActiveJob adapter class.
jobsarray<object>Jobs included in the batch.
jobs.job_classstring
jobs.job_idstring
jobs.queue_namestring
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": "enqueue_all.active_job",
"adapter_class": "ActiveJob::QueueAdapters::SidekiqAdapter",
"jobs": [
{
"job_class": "WelcomeEmailJob",
"job_id": "c6e1f6b2-8d4a-4f0e-9b7c-1a2d3e4f5a6b",
"queue_name": "default"
},
{
"job_class": "SyncCrmContactJob",
"job_id": "8a2b4c6d-0e1f-4a3b-8c5d-7e9f1a2b3c4d",
"queue_name": "default"
}
],
"duration": 3.86,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

enqueue_at.active_job

An Active Job job was scheduled to run later.

FieldTypeDescription
event_typestringAllowed value: enqueue_at.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": "enqueue_at.active_job",
"job_class": "WeeklyDigestJob",
"job_id": "5f7e9d1c-3b2a-4c8e-a6f0-9d8c7b6a5e4f",
"queue_name": "low",
"adapter_class": "ActiveJob::QueueAdapters::SidekiqAdapter",
"duration": 2.11,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

enqueue_retry.active_job

An Active Job job was queued for retry.

FieldTypeDescription
event_typestringAllowed value: enqueue_retry.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": "enqueue_retry.active_job",
"job_class": "WelcomeEmailJob",
"job_id": "c6e1f6b2-8d4a-4f0e-9b7c-1a2d3e4f5a6b",
"queue_name": "default",
"adapter_class": "ActiveJob::QueueAdapters::SidekiqAdapter",
"duration": 1.27,
"instrumenter_id": "a3c8e1f5b7d2c4e9f0a6",
"request_id": "3d9c2f81-6e5a-4f7b-9c0d-8a1b2c3d4e5f",
"hostname": "worker-1.example.com",
"environment": "production"
}

enqueue.active_job

An Active Job job was enqueued.

FieldTypeDescription
event_typestringAllowed value: enqueue.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": "enqueue.active_job",
"job_class": "WelcomeEmailJob",
"job_id": "c6e1f6b2-8d4a-4f0e-9b7c-1a2d3e4f5a6b",
"queue_name": "default",
"adapter_class": "ActiveJob::QueueAdapters::SidekiqAdapter",
"duration": 1.94,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

perform.active_job

An Active Job job ran, whether it succeeded or raised an exception.

FieldTypeDescription
event_typestringAllowed value: perform.active_job.
job_classstringActiveJob class name.
job_idstringUnique job identifier.
queue_namestringQueue the job ran on.
adapter_classstringActiveJob adapter class, e.g. "SidekiqAdapter".
statusstringJob execution outcome: 'success' if completed without exception, 'failure' if an exception was raised. Allowed values: success, failure.
exception_objectstringThe exception instance if the job raised, absent on success. Serialized as a string in JSON format.
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": "perform.active_job",
"job_class": "WelcomeEmailJob",
"job_id": "b1d2e3f4-5a6b-4c7d-8e9f-0a1b2c3d4e5f",
"queue_name": "default",
"adapter_class": "ActiveJob::QueueAdapters::SidekiqAdapter",
"status": "success",
"duration": 532.18,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "worker-1.example.com",
"environment": "production"
}

retry_stopped.active_job

An Active Job job stopped retrying after too many failed attempts.

FieldTypeDescription
event_typestringAllowed value: retry_stopped.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": "retry_stopped.active_job",
"job_class": "SyncInventoryJob",
"job_id": "c2e3f4a5-6b7c-4d8e-9f0a-1b2c3d4e5f6a",
"queue_name": "default",
"adapter_class": "ActiveJob::QueueAdapters::SidekiqAdapter",
"duration": 1.05,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "worker-1.example.com",
"environment": "production"
}

Active Record

sql.active_record

A SQL query from Rails Active Record. Use request_id to group queries from the same HTTP request.

FieldTypeDescription
event_typestringAllowed value: sql.active_record.
querystringThe SQL text with bind parameters obfuscated.
durationnumberWall-clock time the query took, in milliseconds.
cachedbooleanWhether the query result was served from the ActiveRecord query cache.
asyncbooleanWhether the query was executed asynchronously.
request_idstringRails request UUID. Shared by all events from the same HTTP request.
instrumenter_idstringUnique identifier for the ActiveSupport::Notifications instrumentation request, assigned by Rails.
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": "sql.active_record",
"query": "SELECT \"users\".* FROM \"users\" WHERE \"users\".\"id\" = ? LIMIT ?",
"duration": 2.34,
"cached": false,
"async": false,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"hostname": "web-1.example.com",
"environment": "production"
}

Active Storage

service_download.active_storage

A Rails Active Storage download.

FieldTypeDescription
event_typestringAllowed value: service_download.active_storage.
keystringStorage key (blob identifier).
servicestringStorage service name, e.g. "disk", "s3".
checksumstringContent checksum.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "service_download.active_storage",
"key": "xtapjjcjiudrlk3tdwirsnz4dawl",
"service": "S3",
"checksum": "9X2k1mFqLpZ3vR8sT4wYuA==",
"duration": 45.3,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

service_upload.active_storage

A Rails Active Storage upload.

FieldTypeDescription
event_typestringAllowed value: service_upload.active_storage.
keystringStorage key (blob identifier).
servicestringStorage service name, e.g. "disk", "s3".
checksumstringContent checksum.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "service_upload.active_storage",
"key": "xtapjjcjiudrlk3tdwirsnz4dawl",
"service": "S3",
"checksum": "9X2k1mFqLpZ3vR8sT4wYuA==",
"duration": 182.64,
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

Active Support

cache_cleanup.active_support

A Rails cache cleanup.

FieldTypeDescription
event_typestringAllowed value: cache_cleanup.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_cleanup.active_support",
"key": "262144",
"store": "ActiveSupport::Cache::MemoryStore",
"duration": 4.87,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_decrement.active_support

A Rails cache decrement.

FieldTypeDescription
event_typestringAllowed value: cache_decrement.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_decrement.active_support",
"key": "counters/available_slots",
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.31,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_delete_multi.active_support

A Rails multi-key cache delete.

FieldTypeDescription
event_typestringAllowed value: cache_delete_multi.active_support.
keyarray<string>Cache keys deleted.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstring
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_delete_multi.active_support",
"key": [
"views/users/123",
"views/users/124"
],
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.74,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_delete.active_support

A Rails cache delete.

FieldTypeDescription
event_typestringAllowed value: cache_delete.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_delete.active_support",
"key": "users/123",
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.38,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_exist?.active_support

A Rails cache existence check.

FieldTypeDescription
event_typestringAllowed value: cache_exist?.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_exist?.active_support",
"key": "users/123",
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.21,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_fetch_hit.active_support

A Rails cache fetch hit.

FieldTypeDescription
event_typestringAllowed value: cache_fetch_hit.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_fetch_hit.active_support",
"key": "users/123",
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.05,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_generate.active_support

A Rails cache generate call.

FieldTypeDescription
event_typestringAllowed value: cache_generate.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_generate.active_support",
"key": "users/123",
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 12.84,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_increment.active_support

A Rails cache increment.

FieldTypeDescription
event_typestringAllowed value: cache_increment.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_increment.active_support",
"key": "counters/page_views",
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.33,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_prune.active_support

A Rails cache prune call.

FieldTypeDescription
event_typestringAllowed value: cache_prune.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_prune.active_support",
"key": "262144",
"store": "ActiveSupport::Cache::MemoryStore",
"duration": 3.52,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_read_multi.active_support

A Rails multi-key cache read.

FieldTypeDescription
event_typestringAllowed value: cache_read_multi.active_support.
keyarray<string>Cache keys read.
hitsarray<string>Keys that were cache hits.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstring
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_read_multi.active_support",
"key": [
"views/users/123",
"views/users/124"
],
"hits": [
"views/users/123"
],
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.88,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_read.active_support

A Rails cache read.

FieldTypeDescription
event_typestringAllowed value: cache_read.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_read.active_support",
"key": "users/123",
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.42,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_write_multi.active_support

A Rails multi-key cache write.

FieldTypeDescription
event_typestringAllowed value: cache_write_multi.active_support.
keyarray<string>Cache keys written.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstring
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_write_multi.active_support",
"key": [
"views/users/123",
"views/users/124"
],
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 1.12,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

cache_write.active_support

A Rails cache write.

FieldTypeDescription
event_typestringAllowed value: cache_write.active_support.
keystringCache key.
storestringCache store class name.
durationnumberDuration in milliseconds.
instrumenter_idstringRails instrumenter UUID.
request_idstringRails request UUID, present on any event fired during a web request context. 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": "cache_write.active_support",
"key": "users/123",
"store": "ActiveSupport::Cache::RedisCacheStore",
"duration": 0.61,
"instrumenter_id": "d9f4a7b2c1e8d3f6a0b5",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

Autotuner

report.autotuner

A tuning recommendation from the Autotuner gem.

FieldTypeDescription
event_typestringAllowed value: report.autotuner.
reportstringHuman-readable tuning recommendation text.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "report.autotuner",
"report": "The following suggestions reduce the number of major GC collections during requests.\nSuggested tuning values:\n RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.2 (default: 2.0)",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

stats.autotuner

Periodic Ruby process memory and object metrics from Autotuner. Field names depend on the Autotuner version and enabled checks.

FieldTypeDescription
event_typestringAllowed value: stats.autotuner.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "stats.autotuner",
"request_time": 145.2,
"gc_time": 12.4,
"minor_gc_count": 3,
"major_gc_count": 0,
"heap_pages": 5460,
"hostname": "web-1.example.com",
"environment": "production"
}

Flipper

feature_operation.flipper

A Flipper feature flag check or mutation recorded by Honeybadger.

FieldTypeDescription
event_typestringAllowed value: feature_operation.flipper.
feature_namestringName of the Flipper feature flag.
operationstringOperation performed, e.g. "enabled?", "enable", "disable".
resultanyResult of the operation. Checks return booleans, while mutations can return other values.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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).
instrumenter_idstringActiveSupport::Notifications instrumenter UUID, added by the Honeybadger notification subscriber.
durationnumberDuration of the instrumented operation in milliseconds.
Example
{
"event_type": "feature_operation.flipper",
"feature_name": "new_dashboard",
"operation": "enabled?",
"result": true,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production",
"instrumenter_id": "d6a5b3f4c2e1908a7b6c",
"duration": 0.42
}

Karafka

consumer.consumed.karafka

A Karafka consumer processed a batch of Kafka messages.

FieldTypeDescription
event_typestringAllowed value: consumer.consumed.karafka.
topicstringKafka topic consumed from.
partitionintegerKafka partition consumed from.
consumer_groupstringConsumer group identifier.
consumerstringConsumer class name.
processedintegerNumber of messages processed in this batch.
durationnumberProcessing duration in milliseconds.
processing_lagintegerLatency between when the first message in the batch was produced and when processing began, in milliseconds.
consumption_lagintegerLatency between the last committed offset and the newest available offset, in milliseconds.
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": "consumer.consumed.karafka",
"topic": "orders",
"partition": 0,
"consumer_group": "orders_consumers",
"consumer": "OrdersConsumer",
"processed": 25,
"duration": 845.3,
"processing_lag": 213,
"consumption_lag": 1378,
"request_id": "3d9c2f81-6e5a-4f7b-9c0d-8a1b2c3d4e5f",
"hostname": "worker-1.example.com",
"environment": "production"
}

error.occurred.karafka

A Karafka consumer or the Karafka framework raised an error.

FieldTypeDescription
event_typestringAllowed value: error.occurred.karafka.
typestringError source identifier, e.g., 'consumer.consume.error' or 'connection.error'.
errorstringException message and class name.
topicstringKafka topic where the error occurred, if applicable.
partitionintegerKafka partition where the error occurred, if applicable.
consumer_groupstringConsumer group where the error occurred, if applicable.
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": "error.occurred.karafka",
"type": "consumer.consume.error",
"error": "JSON::ParserError: unexpected token at 'invalid'",
"topic": "orders",
"partition": 0,
"consumer_group": "orders_consumers",
"request_id": "3d9c2f81-6e5a-4f7b-9c0d-8a1b2c3d4e5f",
"hostname": "worker-1.example.com",
"environment": "production"
}

statistics_emitted.karafka

Kafka broker and consumer statistics from librdkafka.

FieldTypeDescription
event_typestringAllowed value: statistics_emitted.karafka.
consumer_group_idstringKarafka consumer group identifier.
statisticsobjectRaw librdkafka statistics payload. The shape is defined by librdkafka. See https://github.com/confluentinc/librdkafka/blob/master/STATISTICS.md
statistics.*anyAdditional caller-defined keys.
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": "statistics_emitted.karafka",
"consumer_group_id": "example_app_group",
"statistics": {
"client_id": "example_app",
"type": "consumer",
"rxmsgs": 12840
},
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "worker-1.example.com",
"environment": "production"
}

Metrics

metric.hb

A metric recorded through Honeybadger's instrumentation API and flushed by the metrics registry. The metric_type field tells you whether the event came from gauge, increment_counter, decrement_counter, histogram, or time.

FieldTypeDescription
event_typestringAllowed value: metric.hb.
metric_namestringName of the metric as passed to the recording call.
metric_typestringThe metric type. Timers are gauges recorded via Honeybadger.time. Allowed values: gauge, counter, histogram, timer.
samplesintegerNumber of observations recorded in this flush window.
intervalintegerLength of the aggregation/flush window in seconds (insights.registry_flush_interval, default 60).
totalnumberSum of all recorded values in the window (gauge, timer, and histogram metrics).
minnumberMinimum recorded value in the window (gauge, timer, and histogram metrics).
maxnumberMaximum recorded value in the window (gauge, timer, and histogram metrics).
avgnumberAverage of recorded values in the window (gauge, timer, and histogram metrics).
latestnumberMost recently recorded value in the window (gauge, timer, and histogram metrics).
counternumberAccumulated counter value for the window (counter metrics).
binsarray<array<number>>Histogram bin counts as [upper_bound, count] pairs. The final bin's upper bound is 1e20, which represents infinity.
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).
metric_sourcestringSource plugin or component that recorded the metric, e.g. "rails", "sidekiq", "solid_queue", "net_http", "puma", "autotuner".
Example
{
"event_type": "metric.hb",
"metric_name": "duration.process_action.action_controller",
"metric_type": "gauge",
"metric_source": "rails",
"samples": 20,
"interval": 60,
"total": 1820.5,
"min": 12.3,
"max": 210.4,
"avg": 91.03,
"latest": 88.6,
"hostname": "web-1.example.com",
"environment": "production"
}

Net::HTTP

request.net_http

An outbound HTTP request made with Ruby's Net::HTTP.

FieldTypeDescription
event_typestringAllowed value: request.net_http.
methodstringHTTP method, e.g. "GET", "POST".
hoststringDestination host.
urlstringFull request URL. Only present when the net_http.insights.full_url config option is enabled.
statusintegerHTTP response status code.
durationnumberRound-trip duration in milliseconds.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "request.net_http",
"method": "GET",
"host": "api.example.com",
"url": "https://api.example.com/v2/items/42",
"status": 200,
"duration": 89.4,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

Puma

stats.puma

A periodic Puma stats snapshot. Cluster mode records one event per worker. Single mode records one event per cycle. Fields come directly from Puma.stats.

FieldTypeDescription
event_typestringAllowed value: stats.puma.
workerintegerWorker index in cluster mode. Absent in single mode.
pool_capacityintegerNumber of threads available to pick up new requests.
max_threadsintegerMaximum number of threads configured for this worker.
requests_countintegerTotal requests processed by this worker since start.
backlogintegerNumber of connections waiting for a thread.
runningintegerNumber of threads currently running.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "stats.puma",
"worker": 0,
"pool_capacity": 3,
"max_threads": 5,
"requests_count": 18342,
"backlog": 0,
"running": 5,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

Sidekiq

enqueue.sidekiq

A job was enqueued to a Sidekiq queue.

FieldTypeDescription
event_typestringAllowed value: enqueue.sidekiq.
jidstringSidekiq job ID.
workerstringWorker class name.
queuestringQueue the job was pushed to.
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": "enqueue.sidekiq",
"jid": "f8a1c2d3e4b5a6c7d8e9f0a1",
"worker": "WelcomeEmailJob",
"queue": "default",
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}

perform.sidekiq

A Sidekiq job ran.

FieldTypeDescription
event_typestringAllowed value: perform.sidekiq.
jidstringSidekiq job ID.
workerstringWorker class name.
queuestringQueue the job ran on.
statusstringJob execution outcome: 'success' if completed without exception, 'failure' if an exception was raised.
durationnumberExecution duration in milliseconds.
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": "perform.sidekiq",
"jid": "8f0c1d2e3a4b5c6d7e8f9a0b",
"worker": "WelcomeEmailWorker",
"queue": "default",
"status": "success",
"duration": 487.32,
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "worker-1.example.com",
"environment": "production"
}

stats.sidekiq

Sidekiq cluster statistics from the Honeybadger agent.

FieldTypeDescription
event_typestringAllowed value: stats.sidekiq.
processedintegerTotal jobs processed (lifetime counter).
failedintegerTotal jobs failed (lifetime counter).
scheduled_sizeintegerJobs in the scheduled set.
retry_sizeintegerJobs in the retry set.
dead_sizeintegerJobs in the dead set.
processes_sizeintegerNumber of running Sidekiq processes.
default_queue_latencynumberLatency of the default queue in seconds as returned by Sidekiq::Stats.
capacityintegerTotal worker thread capacity across all processes.
utilizationnumberWorker utilization ratio (0.0–1.0).
queuesobjectPer-queue stats keyed by queue name.
queues.*anyAdditional caller-defined keys.
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": "stats.sidekiq",
"processed": 1284512,
"failed": 1432,
"scheduled_size": 87,
"retry_size": 12,
"dead_size": 3,
"processes_size": 2,
"default_queue_latency": 0.42,
"capacity": 20,
"utilization": 0.35,
"queues": {
"default": {
"latency": 420,
"depth": 6,
"busy": 5
},
"mailers": {
"latency": 0,
"depth": 0,
"busy": 2
}
},
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "worker-1.example.com",
"environment": "production"
}

Solid Queue

stats.solid_queue

Solid Queue cluster statistics from the Honeybadger agent.

FieldTypeDescription
event_typestringAllowed value: stats.solid_queue.
jobs_in_progressintegerJobs currently being executed.
jobs_blockedintegerJobs blocked waiting on a concurrency limit.
jobs_failedintegerJobs in the failed state.
jobs_scheduledintegerJobs scheduled for future execution.
jobs_processedintegerTotal jobs processed (lifetime counter).
active_workersintegerNumber of active worker processes.
active_dispatchersintegerNumber of active dispatcher processes.
queuesobjectPer-queue depth keyed by queue name.
queues.*anyAdditional caller-defined keys.
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": "stats.solid_queue",
"jobs_in_progress": 4,
"jobs_blocked": 2,
"jobs_failed": 7,
"jobs_scheduled": 156,
"jobs_processed": 184329,
"active_workers": 2,
"active_dispatchers": 1,
"queues": {
"default": {
"depth": 23
},
"mailers": {
"depth": 2
}
},
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "worker-1.example.com",
"environment": "production"
}

System

report.system

A periodic memory and load average snapshot from the Honeybadger system plugin.

FieldTypeDescription
event_typestringAllowed value: report.system.
memobjectMemory statistics in megabytes.
mem.totalnumberTotal system memory.
mem.freenumberFree memory.
mem.buffersnumberMemory used for buffers.
mem.cachednumberMemory used for cache.
mem.free_totalnumberTotal available memory (free + buffers + cached).
loadobjectSystem load averages.
load.onenumber1-minute load average.
load.fivenumber5-minute load average.
load.fifteennumber15-minute load average.
request_idstringRails request UUID, present on any event fired during a web request context. Set by the Honeybadger agent when available.
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": "report.system",
"mem": {
"total": 16384,
"free": 2048.5,
"buffers": 512.25,
"cached": 6144.75,
"free_total": 8705.5
},
"load": {
"one": 0.42,
"five": 0.38,
"fifteen": 0.35
},
"request_id": "0f5e4bb2-3c46-4b1c-91d5-2f4e8a6b9c01",
"hostname": "web-1.example.com",
"environment": "production"
}