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__, [], name: __MODULE__)
end
@impl true
def init([]) do
children = [Elixometer, Elixometer.Updater]
Supervisor.init(children, strategy: :one_for_one)
end
end