Perf Agent v0.1.5 API Reference
Modules
Entry point for Perf Agent
Network communicates with the Perf ingest endpoint
A plug that instruments Phoenix controllers and records their status and response times in Perf.
defmodule MyApp.UsersController do
use Phoenix.Controller
plug PerfAgent.Plug.Phoenix
def index(conn, _params) do
# `conn` is setup for instrumentation
end
end
Records information about a web transaction