Packages

Elixometer is a light wrapper around exometer that defines and subscribes metrics automatically to the configured reporter.

Current section

Files

Jump to
elixometer lib supervisor.ex
Raw

lib/supervisor.ex

defmodule Elixometer.Supervisor do
@moduledoc false
use Supervisor
def start_link do
Supervisor.start_link(__MODULE__, [])
end
def init([]) do
children = [worker(Elixometer, []), worker(Elixometer.Updater, [])]
supervise(children, strategy: :one_for_one)
end
end