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.
Fields
8| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: render_collection.action_view. |
view | string | Path of the template file, e.g. "[PROJECT_ROOT]/app/views/users/show.html.erb". |
layout | string | null | Layout the template was rendered into, e.g. "application". Null when the render skipped layouts. |
duration | number | Render duration in milliseconds. |
request_id | string | Rails request UUID. Shared by all events from the same HTTP request. |
instrumenter_id | string | Unique identifier for the ActiveSupport::Notifications instrumentation request, assigned by Rails. |
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
{ "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"}