# `PhoenixReplay.Collector.Captured`
[🔗](https://github.com/elixir-vibe/phoenix_replay/blob/v0.6.2/lib/phoenix_replay/collector/captured.ex#L1)

What a `PhoenixReplay.Collector` records for a telemetry event.

  * `:summary` — one line describing the event in the replay
  * `:language` — what the summary is written in, for the player to
    highlight it: `:sql`, or `nil` for plain text
  * `:measurements` — numbers, with times in milliseconds; `:duration`
    is shown next to the event and checked by `keep: [slower_than: ms]`
  * `:metadata` — the metadata worth keeping
  * `:error` — a description of a failure, which makes the session match
    `keep: [errors: true]`
  * `:mark` — whether the event marks a moment in the session, such as
    a signup or a checkout, rather than measuring work: `true`, named
    after the event, or the mark's name, such as `"Checkout completed"`.
    The player gives marks a lane of their own, and the recording list
    finds sessions by their names.

# `t`

```elixir
@type t() :: %PhoenixReplay.Collector.Captured{
  error: String.t() | nil,
  language: :sql | nil,
  mark: boolean() | String.t(),
  measurements: %{required(atom()) =&gt; number()},
  metadata: map(),
  summary: String.t() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
