phoenix.endpoint.stop
A Phoenix or Plug request finished. Honeybadger records this from the Plug.Telemetry :stop event.
Fields
16| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: phoenix.endpoint.stop. |
method | string | HTTP method, e.g. "GET", "POST". |
request_path | string | Request path, e.g. "/users/42". |
status | integer | HTTP response status code. |
params | object | Request params map. |
params.* | any | Additional caller-defined keys. |
route_type | string | How the request was routed. Allowed values: controller, live, unknown. |
controller | string | Phoenix controller module name. Present when route_type is "controller". |
action | string | Controller action name. Present when route_type is "controller". |
live_view | string | LiveView module name. Present when route_type is "live". |
live_action | string | LiveView action atom. Present when route_type is "live". |
format | string | Response format, e.g. "html", "json". |
view | string | Phoenix view module name. |
template | string | Template rendered. |
duration | number | Total request duration in microseconds. |
request_id | string | Request ID set from the x-request-id response header or assigns. Present on all events fired within a request context. |
Example
{ "event_type": "phoenix.endpoint.stop", "method": "GET", "request_path": "/users/42", "status": 200, "params": { "id": "42" }, "route_type": "controller", "controller": "MyAppWeb.UserController", "action": "show", "live_view": "MyAppWeb.UserLive.Show", "live_action": "show", "format": "html", "view": "MyAppWeb.UserHTML", "template": "show.html", "duration": 150000, "request_id": "F8ZBOg1zcBQDqDgAAADx"}