add example to readme

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-03-25 16:06:31 +01:00
parent 8b41c213be
commit a655bca36d
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 14 additions and 0 deletions

View File

@ -10,3 +10,17 @@ nginx_metrics_nginx_status_port: 9112
nginx_metrics_listen_host: '0.0.0.0'
nginx_metrics_listen_port: 9113
```
# Example
```
$ curl -s localhost:9113/metrics | grep '^nginx_'
nginx_connections_accepted 1352
nginx_connections_active 3
nginx_connections_handled 1352
nginx_connections_reading 0
nginx_connections_waiting 2
nginx_connections_writing 1
nginx_http_requests_total 2606
nginx_up 1
```