summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2017-03-29 16:38:36 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2017-03-29 16:38:36 +0700
commit30607eec3ae0face9282fd0b95aa1530ea775b60 (patch)
tree971f7344825dab4e3a32f58d9f898695e25b10cf /net-analyzer
parentprosody{,-modules}: bump (diff)
downloadlua-30607eec3ae0face9282fd0b95aa1530ea775b60.tar.gz
lua-30607eec3ae0face9282fd0b95aa1530ea775b60.tar.bz2
lua-30607eec3ae0face9282fd0b95aa1530ea775b60.zip
lua.eclass: rework url magic a bit, profiles: lua_targets desc, net-analyzer/prometheus-nginx_exporter: added
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/prometheus-nginx_exporter/Manifest1
-rw-r--r--net-analyzer/prometheus-nginx_exporter/metadata.xml13
-rw-r--r--net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-0_p20170327.ebuild31
-rw-r--r--net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-9999.ebuild31
4 files changed, 76 insertions, 0 deletions
diff --git a/net-analyzer/prometheus-nginx_exporter/Manifest b/net-analyzer/prometheus-nginx_exporter/Manifest
new file mode 100644
index 0000000..f05e295
--- /dev/null
+++ b/net-analyzer/prometheus-nginx_exporter/Manifest
@@ -0,0 +1 @@
+DIST prometheus-nginx_exporter-0_p20170327.tar.gz 9923 SHA256 4bc772881fbb94f04ac1f99848fa3141f760c2387de3fdfb3a1ba2dc6a1bca03 SHA512 53fffd562e56f3698e0c56a3a218446e71ede749c032e7e4ef0de332e84636783263df38530ebfb11080b9449e459fddc0ed78f93a61cde126a5f6fa100ed28c WHIRLPOOL 27d86b4b383c6f6240b00940b4b5a308ec7e0afdf6f7f647045621f1d9996119b6b929778b885cbb6ebb564b28fdbb944cdbafee8525c1c1de4a10fedae70132
diff --git a/net-analyzer/prometheus-nginx_exporter/metadata.xml b/net-analyzer/prometheus-nginx_exporter/metadata.xml
new file mode 100644
index 0000000..db39297
--- /dev/null
+++ b/net-analyzer/prometheus-nginx_exporter/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription>
+ </longdescription>
+ <maintainer type="person">
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">prometheus/prometheus-node_exporter</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-0_p20170327.ebuild b/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-0_p20170327.ebuild
new file mode 100644
index 0000000..4fe694f
--- /dev/null
+++ b/net-analyzer/prometheus-nginx_exporter/prometheus-nginx_exporter-0_p20170327.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GITHUB_A="knyar"
+GITHUB_PN="nginx-lua-prometheus"
+GITHUB_PV="24ab338427bcfd121ac6c9a264a93d482e115e14"
+
+inherit lua
+
+DESCRIPTION="Prometheus exporter for NginX metrics"
+HOMEPAGE="https://github.com/knyar/nginx-lua-prometheus"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ www-servers/nginx:*[nginx_modules_http_lua]
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+DOCS=(README.md)
+
+each_lua_install() {
+ dolua prometheus.lua
+}
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
+}