diff --git a/mix.exs b/mix.exs index c330b63..718611f 100644 --- a/mix.exs +++ b/mix.exs @@ -3,10 +3,10 @@ defmodule PrometheusProcessCollector.Mixfile do def project do [app: :prometheus_process_collector, - version: "1.0.2", - description: description, - package: package, - deps: deps] + version: "1.0.3", + description: description(), + package: package(), + deps: deps()] end defp description do @@ -23,12 +23,16 @@ defmodule PrometheusProcessCollector.Mixfile do licenses: ["MIT"], links: %{"GitHub" => "https://github.com/deadtrickster/prometheus_process_collector.erl", "Prometheus.io Client" => "https://github.com/deadtrickster/prometheus.erl", - "Elixir Plugs" => "https://hex.pm/packages/prometheus_plugs"}, - files: ["c_src", "src", "priv", "README.md", "LICENSE", "rebar.config"]] + "Inets HTTPD Exporter" => "https://hex.pm/packages/prometheus_httpd", + "Prometheus.ex" => "https://hex.pm/packages/prometheus_ex", + "Ecto Instrumenter" => "https://hex.pm/packages/prometheus_ecto", + "Phoenix Instrumenter" => "https://hex.pm/packages/prometheus_phoenix", + "Plugs Instrumenter/Exporter" => "https://hex.pm/packages/prometheus_plugs"}, + files: ["c_src", "src", "README.md", "LICENSE", "rebar.config"]] end defp deps do - [{:prometheus, "~> 3.1"} + [{:prometheus, "~> 3.2"} ] end end diff --git a/mix.lock b/mix.lock index 29838b3..9eafa3e 100644 --- a/mix.lock +++ b/mix.lock @@ -1 +1 @@ -%{"prometheus": {:hex, :prometheus, "3.0.0-rc1", "f1563d344740b6c8a2948e2d7b558dd5cfc8619eb8db05956022d6066fb2cef2", [:rebar3], []}} +%{"prometheus": {:hex, :prometheus, "3.2.2", "887a687855e171852be3e023aea9dbc1ea3ce0f327b95765896ebb2847fef7f9", [:mix, :rebar3], []}} diff --git a/rebar.config b/rebar.config index 8018cdb..62cca95 100644 --- a/rebar.config +++ b/rebar.config @@ -1,5 +1,5 @@ {erl_opts, [debug_info]}. -{deps, [{prometheus, "3.1.0"}]}. +{deps, [{prometheus, "3.2.2"}]}. {pre_hooks, [{"linux", compile, "make -C c_src"}]}. diff --git a/rebar.lock b/rebar.lock new file mode 100644 index 0000000..be48df8 --- /dev/null +++ b/rebar.lock @@ -0,0 +1,6 @@ +{"1.1.0", +[{<<"prometheus">>,{pkg,<<"prometheus">>,<<"3.2.2">>},0}]}. +[ +{pkg_hash,[ + {<<"prometheus">>, <<"887A687855E171852BE3E023AEA9DBC1EA3CE0F327B95765896EBB2847FEF7F9">>}]} +]. diff --git a/src/prometheus_process_collector.app.src b/src/prometheus_process_collector.app.src index 2b31ada..8d1030b 100644 --- a/src/prometheus_process_collector.app.src +++ b/src/prometheus_process_collector.app.src @@ -2,7 +2,7 @@ [{description, "Prometheus.io process collector Collector exports the current state of process metrics including cpu, memory, file descriptor usage and native threads count as well as the process start and up times."}, - {vsn, "1.0.2"}, + {vsn, "1.0.3"}, {registered, []}, {applications, [kernel, @@ -15,5 +15,10 @@ {licenses, ["MIT"]}, {links, [{"Github", "https://github.com/deadtrickster/prometheus_process_collector.erl"}, {"Prometheus.io Client", "https://github.com/deadtrickster/prometheus.erl"}, - {"Elixir Plugs", "https://hex.pm/packages/prometheus_plugs"}]} + {"Prometheus.ex", "https://hex.pm/packages/prometheus_ex"}, + {"Inets HTTPD Exporter", "https://hex.pm/packages/prometheus_httpd"}, + {"Ecto Instrumenter", "https://hex.pm/packages/prometheus_ecto"}, + {"Phoenix Instrumenter", "https://hex.pm/packages/prometheus_phoenix"}, + {"Plugs Instrumenter/Exporter", "https://hex.pm/packages/prometheus_plugs"}, + {"Process info Collector", "https://hex.pm/packages/prometheus_process_collector"}]} ]}.