Serve metrics at /api/pleroma/app_metrics

This commit is contained in:
href 2019-01-30 16:44:38 +01:00 committed by Mark Felder
parent 5564cd421d
commit 7e930559fe

View file

@ -353,6 +353,7 @@
initial_timeout: 30, initial_timeout: 30,
max_retries: 5 max_retries: 5
<<<<<<< HEAD
config :pleroma_job_queue, :queues, config :pleroma_job_queue, :queues,
federator_incoming: 50, federator_incoming: 50,
federator_outgoing: 50, federator_outgoing: 50,
@ -385,6 +386,8 @@
config :pleroma, Pleroma.Mailer, adapter: Swoosh.Adapters.Sendmail config :pleroma, Pleroma.Mailer, adapter: Swoosh.Adapters.Sendmail
config :prometheus, Pleroma.Web.Endpoint.MetricsExporter, path: "/api/pleroma/app_metrics"
# Import environment specific config. This must remain at the bottom # Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above. # of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs" import_config "#{Mix.env()}.exs"