nginx - update default var
This commit is contained in:
parent
9077335c0f
commit
1a0c5a3a04
@ -50,8 +50,6 @@ prometheus_mongodb_exporter_database: "admin"
|
||||
prometheus_mongodb_exporter_host: "localhost"
|
||||
prometheus_mongodb_exporter_port: 27017
|
||||
|
||||
prometheus_nginx_scrape_uri: "http://localhost/stub_status"
|
||||
|
||||
prometheus_opcache_exporter_fcgi_uri: "unix:///var/run/www.sock"
|
||||
|
||||
prometheus_phpfpm_sockets_directory: "/run/php/"
|
||||
|
@ -5,7 +5,7 @@ After=network.target
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/prometheus-nginx-exporter \
|
||||
-nginx.scrape-uri {{ prometheus_nginx_scrape_uri }} \
|
||||
-nginx.scrape-uri {{ prometheus_nginx_scrape_uri | default("http://localhost/stub_status") }} \
|
||||
-web.listen-address=0.0.0.0:9113
|
||||
|
||||
[Install]
|
||||
|
Loading…
x
Reference in New Issue
Block a user