You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ To start the exporter we use the [docker run](https://docs.docker.com/engine/ref
30
30
31
31
* To export NGINX metrics, run:
32
32
```
33
-
$ docker run -p 9113:9113 nginx/nginx-prometheus-exporter:0.4.2 -nginx.scrape-uri http://<nginx>:8080/stub_status
33
+
$ docker run -p 9113:9113 nginx/nginx-prometheus-exporter:0.5.0 -nginx.scrape-uri http://<nginx>:8080/stub_status
34
34
```
35
35
where `<nginx>` is the IP address/DNS name, through which NGINX is available.
36
36
37
37
* To export NGINX Plus metrics, run:
38
38
```
39
-
$ docker run -p 9113:9113 nginx/nginx-prometheus-exporter:0.4.2 -nginx.plus -nginx.scrape-uri http://<nginx-plus>:8080/api
39
+
$ docker run -p 9113:9113 nginx/nginx-prometheus-exporter:0.5.0 -nginx.plus -nginx.scrape-uri http://<nginx-plus>:8080/api
40
40
```
41
41
where `<nginx-plus>` is the IP address/DNS name, through which NGINX Plus is available.
42
42
@@ -75,7 +75,7 @@ Usage of ./nginx-prometheus-exporter:
75
75
-nginx.retry-interval duration
76
76
An interval between retries to connect to the NGINX stub_status page/NGINX Plus API on start. The default value can be overwritten by NGINX_RETRY_INTERVAL environment variable. (default 5s)
77
77
-nginx.scrape-uri string
78
-
A URI or unix domain socket path for scraping NGINX or NGINX Plus metrics.
78
+
A URI or unix domain socket path for scraping NGINX or NGINX Plus metrics.
79
79
For NGINX, the stub_status page must be available through the URI. For NGINX Plus -- the API. The default value can be overwritten by SCRAPE_URI environment variable. (default "http://127.0.0.1:8080/stub_status")
80
80
-nginx.ssl-verify
81
81
Perform SSL certificate verification. The default value can be overwritten by SSL_VERIFY environment variable. (default true)
0 commit comments