add nginx exporter

This commit is contained in:
Ludovic Cartier
2023-04-21 15:16:01 +02:00
parent 159bb4137e
commit fb191f27d6
4 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Unit]
Description=Prometheus Nginx Exporter
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/prometheus-nginx-exporter \
-nginx.scrape-uri {{ prometheus_nginx_scrape_uri }} \
-web.listen-address=0.0.0.0:9113
[Install]
WantedBy=multi-user.target