# MetristAgent

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

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.

## Installation

1. Add `metrist_agent` to your list of dependencies in `mix.exs`:

def deps do
  [{:metrist_agent, "~> 0.1.0"}]

2. Fetch mix dependencies:

$ mix deps.get

3. Add `Metrist.Agent` to your application's supervision tree in `application.ex`:

def start(_type, _args) do
  children = [

This will start the Metrist Agent and hook into hackney to begin listening for network requests.