Skip to content

render_template.action_view

View Markdown

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.

Source Action View Category View Fields 8 honeybadger-ruby

Fields

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