Packages

A StatsD client for Elixir

Retired package: Deprecated - Please use the statix package instead.

Current section

Files

Jump to
ex_statsd lib ex_statsd supervisor.ex
Raw

lib/ex_statsd/supervisor.ex

defmodule ExStatsD.Supervisor do
use Supervisor
def start_link(_) do
Supervisor.start_link(__MODULE__, [], name: __MODULE__)
end
def init(_) do
children = [
worker(ExStatsD, [], restart: :permanent)
]
supervise(children, strategy: :one_for_one)
end
end