summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild')
-rw-r--r--net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild b/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild
new file mode 100644
index 0000000..0bcf4c7
--- /dev/null
+++ b/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+VCS="git"
+GITHUB_A="knyar"
+GITHUB_PN="nginx-lua-prometheus"
+
+inherit lua
+
+DESCRIPTION="Prometheus exporter for NginX metrics"
+HOMEPAGE="https://github.com/knyar/nginx-lua-prometheus"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="
+ www-servers/nginx:*[nginx_modules_http_lua]
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+DOCS=(README.md)
+
+each_lua_install() {
+ dolua prometheus.lua
+}