Prometheus: Remove flaky process collection NIF.
authorlain <lain@soykaf.club>
Thu, 13 Jun 2019 17:29:02 +0000 (19:29 +0200)
committerlain <lain@soykaf.club>
Thu, 13 Jun 2019 18:30:04 +0000 (20:30 +0200)
lib/pleroma/application.ex
mix.exs

index 5627d20af969dbce9985c97aa86ff71e5cef46ba..9c93c7a35568ce9ab2c9f8a7b3542172d2fd2fc5 100644 (file)
@@ -174,7 +174,6 @@ defmodule Pleroma.Application do
       Pleroma.Repo.Instrumenter.setup()
     end
 
-    Prometheus.Registry.register_collector(:prometheus_process_collector)
     Pleroma.Web.Endpoint.MetricsExporter.setup()
     Pleroma.Web.Endpoint.PipelineInstrumenter.setup()
     Pleroma.Web.Endpoint.Instrumenter.setup()
diff --git a/mix.exs b/mix.exs
index db7a30f99ec7027ae869acb33ce9f28fdd217930..a38ea590aedd9b6d52ea77b7e007b3a0accaee9e 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -136,7 +136,6 @@ defmodule Pleroma.Mixfile do
       {:prometheus_plugs, "~> 1.1"},
       {:prometheus_phoenix, "~> 1.2"},
       {:prometheus_ecto, "~> 1.4"},
-      {:prometheus_process_collector, "~> 1.4"},
       {:recon, github: "ferd/recon", tag: "2.4.0"},
       {:quack, "~> 0.1.1"},
       {:benchee, "~> 1.0"},