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 1
1
# Changelog
2
2
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
+
3
19
### 0.5.0
4
20
5
21
FEATURES:
Original file line number Diff line number Diff line change 1
- VERSION = 0.5 .0
1
+ VERSION = 0.6 .0
2
2
TAG = $(VERSION )
3
3
PREFIX = nginx/nginx-prometheus-exporter
4
4
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.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
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.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
40
40
```
41
41
where `<nginx-plus>` is the IP address/DNS name, through which NGINX Plus is available.
42
42
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ COPY collector ./collector
9
9
COPY client ./client
10
10
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 .
11
11
12
- FROM alpine:latest
12
+ FROM alpine:3.11
13
13
COPY --from=builder /go/src/github.com/nginxinc/nginx-prometheus-exporter/exporter /usr/bin/
14
14
ENTRYPOINT [ "/usr/bin/exporter" ]
You can’t perform that action at this time.
0 commit comments