AppSignal v0.0.3 Appsignal.Phoenix

Instrumentation of Phoenix requests

To integrate Appsignal with Phoenix, use the Appsignal.Phoenix module in your endpoint.ex file, just before your router:

use Appsignal.Phoenix

This will install a plug which measures request time, and also will trap common HTTP errors (like 4xx status codes).

Summary

Functions

Callback implementation for c:Plug.call/2

Callback implementation for c:Plug.init/1

Functions

call(conn, config)

Callback implementation for c:Plug.call/2.

init(opts)

Callback implementation for c:Plug.init/1.

maybe_submit_http_error(r, transaction, conn)
submit_http_error(reason, message, transaction, conn)