Listen to loopback
This commit is contained in:
parent
1e9c2cd8ef
commit
a06bb694c1
|
@ -14,7 +14,7 @@ def init(_arg) do
|
||||||
{:telemetry_poller, measurements: periodic_measurements(), period: 10_000},
|
{:telemetry_poller, measurements: periodic_measurements(), period: 10_000},
|
||||||
# Add reporters as children of your supervision tree.
|
# Add reporters as children of your supervision tree.
|
||||||
# {Telemetry.Metrics.ConsoleReporter, metrics: metrics()},
|
# {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)
|
Supervisor.init(children, strategy: :one_for_one)
|
||||||
|
|
Loading…
Reference in a new issue