Skip to content

Commit c3dd65c

Browse files
authored
Release 0.5.0
1 parent 23e6c62 commit c3dd65c

File tree

3 files changed

+26
-6
lines changed

3 files changed

+26
-6
lines changed

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
### 0.5.0
4+
5+
FEATURES:
6+
* [70](https://github.com/nginxinc/nginx-prometheus-exporter/pull/70): Set user agent on scrape requests to nginx.
7+
* [68](https://github.com/nginxinc/nginx-prometheus-exporter/pull/68): Add ability to scrape and listen on unix domain sockets.
8+
* [64](https://github.com/nginxinc/nginx-prometheus-exporter/pull/64): Add location zone and resolver metric support.
9+
10+
BUGFIXES:
11+
* [73](https://github.com/nginxinc/nginx-prometheus-exporter/pull/73): Fix typo in stream_zone_sync_status_nodes_online metric description.
12+
* [71](https://github.com/nginxinc/nginx-prometheus-exporter/pull/71): Do not assume default datasource in Grafana panels.
13+
* [62](https://github.com/nginxinc/nginx-prometheus-exporter/pull/62): Set correct nginx_up query and instance variable expression.
14+
15+
UPGRADE:
16+
* Use the 0.5.0 image from our DockerHub: `nginx/nginx-prometheus-exporter:0.5.0`
17+
* Download the latest binaries from [GitHub releases page](https://github.com/nginxinc/nginx-prometheus-exporter/releases/tag/v0.5.0).
18+
19+
COMPATIBILITY:
20+
* NGINX 0.1.18 or newer.
21+
* NGINX Plus R19 or newer.
22+
323
### 0.4.2
424

525
BUGFIXES:
@@ -69,6 +89,6 @@ COMPATIBILITY:
6989
* NGINX 0.1.18 or newer.
7090
* NGINX Plus R14 or newer.
7191

72-
## 0.1.0
92+
## 0.1.0
7393

7494
* Initial release.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = 0.4.2
1+
VERSION = 0.5.0
22
PREFIX = nginx/nginx-prometheus-exporter
33
TAG = $(VERSION)
44
GIT_COMMIT = $(shell git rev-parse --short HEAD)
@@ -15,7 +15,7 @@ test:
1515
GO111MODULE=on go test -mod=vendor ./...
1616

1717
container:
18-
docker build --build-arg VERSION=$(VERSION) --build-arg GIT_COMMIT=$(GIT_COMMIT) -t $(PREFIX):$(TAG) .
18+
docker build --build-arg VERSION=$(VERSION) --build-arg GIT_COMMIT=$(GIT_COMMIT) -t $(PREFIX):$(TAG) .
1919

2020
push: container
2121
docker push $(PREFIX):$(TAG)

README.md

Lines changed: 3 additions & 3 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.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
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.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
4040
```
4141
where `<nginx-plus>` is the IP address/DNS name, through which NGINX Plus is available.
4242
@@ -75,7 +75,7 @@ Usage of ./nginx-prometheus-exporter:
7575
-nginx.retry-interval duration
7676
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)
7777
-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.
7979
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")
8080
-nginx.ssl-verify
8181
Perform SSL certificate verification. The default value can be overwritten by SSL_VERIFY environment variable. (default true)

0 commit comments

Comments
 (0)