Current section

Files

Jump to
new_relic_agent lib new_relic telemetry_supervisor.ex
Raw

lib/new_relic/telemetry_supervisor.ex

defmodule NewRelic.TelemetrySupervisor do
use Supervisor
@moduledoc false
def start_link do
Supervisor.start_link(__MODULE__, [])
end
def init(_) do
children = [
supervisor(NewRelic.Telemetry.Ecto.Supervisor, [])
]
supervise(children, strategy: :one_for_one)
end
end