View Source Metrist.Agent (Metrist Agent v0.1.0)

Metrist In-Process Agent for the BEAM ecosystem (Erlang, Elixir). This agent will forward timings of intercepted calls to the Metrist Monitoring Agent for further processing.

Interception is currently only implemented for Hackney, which comes with a tracing library. This means that libraries that use Hackney, like HTTPoison, will automatically work.

To use the agent, simply add this module to your application's supervision tree.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this macro

hackney_url(args \\ [])

View Source (macro)
Link to this macro

hackney_url(record, args)

View Source (macro)

Callback implementation for GenServer.init/1.

Link to this function

start_link(args, name \\ __MODULE__)

View Source