aboutsummaryrefslogtreecommitdiff
path: root/data/prometheus-nginx-exporter
diff options
context:
space:
mode:
Diffstat (limited to 'data/prometheus-nginx-exporter')
-rw-r--r--data/prometheus-nginx-exporter/defaults1
-rw-r--r--data/prometheus-nginx-exporter/metrics.conf14
2 files changed, 15 insertions, 0 deletions
diff --git a/data/prometheus-nginx-exporter/defaults b/data/prometheus-nginx-exporter/defaults
new file mode 100644
index 0000000..8b48854
--- /dev/null
+++ b/data/prometheus-nginx-exporter/defaults
@@ -0,0 +1 @@
ARGS="-nginx.scrape-uri http://127.0.0.1:10000/stub_status"
diff --git a/data/prometheus-nginx-exporter/metrics.conf b/data/prometheus-nginx-exporter/metrics.conf
new file mode 100644
index 0000000..034f0ba
--- /dev/null
+++ b/data/prometheus-nginx-exporter/metrics.conf
@@ -0,0 +1,14 @@
1server {
2 listen 10000;
3 keepalive_timeout 0;
4
5 access_log off;
6
7 allow 127.0.0.1;
8 deny all;
9
10 location /stub_status {
11 stub_status on;
12 }
13}
14