Skip to content

Commit 9522f4e

Browse files
authored
Release 1.3.0 (#782)
1 parent a997509 commit 9522f4e

File tree

2 files changed

+35
-3
lines changed

2 files changed

+35
-3
lines changed

Diff for: Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = 1.1.0
1+
VERSION = 1.3.0
22
TAG = $(VERSION)
33
PREFIX = nginx/nginx-prometheus-exporter
44

Diff for: README.md

+34-2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ NGINX Prometheus exporter makes it possible to monitor NGINX or NGINX Plus using
5656
- [Binaries](#binaries)
5757
- [Homebrew](#homebrew)
5858
- [Snap](#snap)
59+
- [Scoop](#scoop)
60+
- [Nix](#nix)
5961
- [Building the Exporter](#building-the-exporter)
6062
- [Building the Docker Image](#building-the-docker-image)
6163
- [Building the Binary](#building-the-binary)
@@ -111,15 +113,15 @@ To start the exporter we use the [docker run](https://docs.docker.com/engine/ref
111113
- To export NGINX metrics, run:
112114

113115
```console
114-
docker run -p 9113:9113 nginx/nginx-prometheus-exporter:1.1.0 --nginx.scrape-uri=http://<nginx>:8080/stub_status
116+
docker run -p 9113:9113 nginx/nginx-prometheus-exporter:1.3.0 --nginx.scrape-uri=http://<nginx>:8080/stub_status
115117
```
116118

117119
where `<nginx>` is the IP address/DNS name, through which NGINX is available.
118120

119121
- To export NGINX Plus metrics, run:
120122

121123
```console
122-
docker run -p 9113:9113 nginx/nginx-prometheus-exporter:1.1.0 --nginx.plus --nginx.scrape-uri=http://<nginx-plus>:8080/api
124+
docker run -p 9113:9113 nginx/nginx-prometheus-exporter:1.3.0 --nginx.plus --nginx.scrape-uri=http://<nginx-plus>:8080/api
123125
```
124126

125127
where `<nginx-plus>` is the IP address/DNS name, through which NGINX Plus is available.
@@ -480,6 +482,36 @@ You can install the NGINX Prometheus Exporter from the [Snap Store](https://snap
480482
snap install nginx-prometheus-exporter
481483
```
482484

485+
### Scoop
486+
487+
You can add the NGINX Scoop bucket with
488+
489+
```console
490+
scoop bucket add nginx https://github.com/nginxinc/scoop-bucket.git
491+
```
492+
493+
and then install the package with
494+
495+
```console
496+
scoop install nginx-prometheus-exporter
497+
```
498+
499+
### Nix
500+
501+
First include NUR in your packageOverrides as explained in the [NUR documentation](https://github.com/nix-community/NUR#installation).
502+
503+
Then you can use the exporter with the following command:
504+
505+
```console
506+
nix-shell --packages nur.repos.nginx.nginx-prometheus-exporter
507+
```
508+
509+
or install it with:
510+
511+
```console
512+
nix-env -f '<nixpkgs>' -iA nur.repos.nginx.nginx-prometheus-exporter
513+
```
514+
483515
## Building the Exporter
484516

485517
You can build the exporter using the provided Makefile. Before building the exporter, make sure the following software

0 commit comments

Comments
 (0)