Listen to loopback
authorTim Buchwaldt <tim@buchwaldt.ws>
Sat, 12 Nov 2022 10:31:03 +0000 (11:31 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Thu, 15 Dec 2022 01:04:56 +0000 (01:04 +0000)
lib/pleroma/web/telemetry.ex

index 546c39f05b4578ee4d5dca4dd928c3ef6108ddd4..2ca188e1ad4570d61612cc9ee020a8b11886cb8c 100644 (file)
@@ -14,7 +14,7 @@ defmodule Pleroma.Web.Telemetry 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)