PhoenixReplay.Collector.Finch (PhoenixReplay v0.6.2)

Copy Markdown View Source

Collects HTTP requests made with Finch, and so with Req.

config :phoenix_replay, collect: [PhoenixReplay.Collector.Finch]

Each request records METHOD scheme://host/path as the summary, the response status, and the duration in milliseconds. Query strings are left out, because they often carry tokens. A request that failed is recorded as an error; a response status is not, since many applications expect some error statuses.

Options

  • :slower_than — milliseconds below which requests are skipped
  • :query — whether to record query strings. Defaults to false.