Added MetricsExporter endpoint
This commit is contained in:
7
config-override.exs
Normal file → Executable file
7
config-override.exs
Normal file → Executable file
@ -2,3 +2,10 @@ import Config
|
|||||||
|
|
||||||
config :pleroma, :instance,
|
config :pleroma, :instance,
|
||||||
registrations_open: false
|
registrations_open: false
|
||||||
|
|
||||||
|
config :prometheus, Pleroma.Web.Endpoint.MetricsExporter,
|
||||||
|
enabled: true,
|
||||||
|
auth: {:basic, "prometheus", "zcEHi6KZF372cC4G"},
|
||||||
|
ip_whitelist: ["127.0.0.1"],
|
||||||
|
path: "/api/pleroma/app_metrics",
|
||||||
|
format: :text
|
||||||
|
Reference in New Issue
Block a user