File tree Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Expand file tree Collapse file tree 4 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ### 0.6.0
4+
5+ FEATURES:
6+ * [ 77] ( https://github.com/nginxinc/nginx-prometheus-exporter/pull/77 ) : Add constLabels support via cli arg/env variable.
7+
8+ CHANGES:
9+ * Update alpine image.
10+
11+ UPGRADE:
12+ * Use the 0.6.0 image from our DockerHub: ` nginx/nginx-prometheus-exporter:0.6.0 `
13+ * Download the latest binaries from [ GitHub releases page] ( https://github.com/nginxinc/nginx-prometheus-exporter/releases/tag/v0.6.0 ) .
14+
15+ COMPATIBILITY:
16+ * NGINX 0.1.18 or newer.
17+ * NGINX Plus R19 or newer.
18+
319### 0.5.0
420
521FEATURES:
Original file line number Diff line number Diff line change 1- VERSION = 0.5 .0
1+ VERSION = 0.6 .0
22TAG = $(VERSION )
33PREFIX = nginx/nginx-prometheus-exporter
44
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
3030
3131* To export NGINX metrics, run:
3232 ```
33- $ docker run -p 9113:9113 nginx/nginx-prometheus-exporter:0.5 .0 -nginx.scrape-uri http://<nginx>:8080/stub_status
33+ $ docker run -p 9113:9113 nginx/nginx-prometheus-exporter:0.6 .0 -nginx.scrape-uri http://<nginx>:8080/stub_status
3434 ```
3535 where `<nginx>` is the IP address/DNS name, through which NGINX is available.
3636
3737* To export NGINX Plus metrics, run:
3838 ```
39- $ docker run -p 9113:9113 nginx/nginx-prometheus-exporter:0.5 .0 -nginx.plus -nginx.scrape-uri http://<nginx-plus>:8080/api
39+ $ docker run -p 9113:9113 nginx/nginx-prometheus-exporter:0.6 .0 -nginx.plus -nginx.scrape-uri http://<nginx-plus>:8080/api
4040 ```
4141 where `<nginx-plus>` is the IP address/DNS name, through which NGINX Plus is available.
4242
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ COPY collector ./collector
99COPY client ./client
1010RUN GO111MODULE=on CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -installsuffix cgo -ldflags "-X main.version=${VERSION} -X main.gitCommit=${GIT_COMMIT}" -o exporter .
1111
12- FROM alpine:latest
12+ FROM alpine:3.11
1313COPY --from=builder /go/src/github.com/nginxinc/nginx-prometheus-exporter/exporter /usr/bin/
1414ENTRYPOINT [ "/usr/bin/exporter" ]
You can’t perform that action at this time.
0 commit comments