ScoutApm.Plugs.ControllerTimer (scout_apm v2.0.0)

Copy Markdown

Summary

Functions

Takes a connection, extracts the phoenix controller & action, then manipulates & cleans it up.

Functions

action_name(conn, opts)

@spec action_name(Plug.Conn.t(), list()) :: String.t()

Takes a connection, extracts the phoenix controller & action, then manipulates & cleans it up.

Returns a string like "PageController#index"

before_send(conn, opts)

call(conn, opts)

ignore_uri?(uri)

@spec ignore_uri?(String.t()) :: boolean()

init(default)

maybe_mark_error(conn)