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 = [
NewRelic.Telemetry.Ecto.Supervisor,
NewRelic.Telemetry.Redix
]
Supervisor.init(children, strategy: :one_for_one)
end
end