Current section

Files

Jump to
otel_metric_exporter lib otel_metric_exporter application.ex
Raw

lib/otel_metric_exporter/application.ex

defmodule OtelMetricExporter.Application do
use Application
require Logger
@impl true
def start(_type, _args) do
children = [
{Finch, name: OtelMetricExporter.Finch, pools: %{:default => [size: 10, count: 1]}}
]
opts = [strategy: :one_for_one, name: OtelMetricExporter.Supervisor]
Supervisor.start_link(children, opts)
end
end