-
Notifications
You must be signed in to change notification settings - Fork 16
/
mix.exs
47 lines (42 loc) · 1.48 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
defmodule PrometheusHTTPD.Mixfile do
use Mix.Project
def project do
[app: :prometheus_httpd,
version: "2.1.11",
deps: deps(),
description: description(),
package: package()]
end
defp description do
"""
Prometheus.io inets httpd exporter
"""
end
def application do
[applications: [:kernel,
:stdlib,
:inets,
:prometheus,
:accept],
mod: {:prometheus_httpd, []}]
end
defp package do
[build_tools: ["rebar3"],
maintainers: ["Ilya Khaprov"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/deadtrickster/prometheus_httpd",
"Prometheus.erl" => "https://hex.pm/packages/prometheus",
"Prometheus.ex" => "https://hex.pm/packages/prometheus_ex",
"Pushgateway client" => "https://hex.pm/packages/prometheus_push",
"Dashboards" => "https://github.com/deadtrickster/beam-dashboards",
"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"},
files: ["priv", "src", "lib", "README.md", "rebar.config"]]
end
defp deps do
[{:prometheus, "~> 4.2"},
{:accept, "~> 0.3"}]
end
end