Skip to content

Commit 39585bd

Browse files
authored
Release 0.6.0
1 parent 1f833f9 commit 39585bd

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
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

521
FEATURES:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = 0.5.0
1+
VERSION = 0.6.0
22
TAG = $(VERSION)
33
PREFIX = nginx/nginx-prometheus-exporter
44

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ COPY collector ./collector
99
COPY client ./client
1010
RUN 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
1313
COPY --from=builder /go/src/github.com/nginxinc/nginx-prometheus-exporter/exporter /usr/bin/
1414
ENTRYPOINT [ "/usr/bin/exporter" ]

0 commit comments

Comments
 (0)