Listen to loopback

This commit is contained in:
Tim Buchwaldt 2022-11-12 11:31:03 +01:00 committed by FloatingGhost
parent 1e9c2cd8ef
commit a06bb694c1

View file

@ -14,7 +14,7 @@ def init(_arg) do
{:telemetry_poller, measurements: periodic_measurements(), period: 10_000},
# Add reporters as children of your supervision tree.
# {Telemetry.Metrics.ConsoleReporter, metrics: metrics()},
{TelemetryMetricsPrometheus, metrics: metrics()}
{TelemetryMetricsPrometheus, metrics: metrics(), plug_cowboy_opts: [ip: {127, 0, 0, 1}]}
]
Supervisor.init(children, strategy: :one_for_one)