From a655bca36db39e1b770ae618e5555ac0b7ad4322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Wed, 25 Mar 2020 16:06:31 +0100 Subject: [PATCH] add example to readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 368021f..05104f1 100644 --- a/README.md +++ b/README.md @@ -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 +```