---
title: phoenix.endpoint.stop
description: A Phoenix or Plug request finished. Honeybadger records this from the Plug.Telemetry :stop event.
url: https://docs.honeybadger.io/insights/event-types/elixir/phoenix.endpoint.stop/
---

A Phoenix or Plug request finished. Honeybadger records this from the Plug.Telemetry :stop event.

Source **Phoenix** Category **Request** Fields **16** [honeybadger-elixir](https://docs.honeybadger.io/lib/elixir/)

## Fields

| 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

```json
{
  "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"
}
```

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
