Skip to content

redirect_to.action_controller

View Markdown

A Rails controller issued a redirect.

Source Action Controller Category Request Fields 8 honeybadger-ruby

Fields

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