From efcbe789ea6a89378851e0d0e068875d505c5e47 Mon Sep 17 00:00:00 2001 From: Pedro <pedrogomesyoo@gmail.com> Date: Tue, 3 Oct 2017 00:19:15 +0200 Subject: [PATCH] Add version flag to documentation --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2445ae5..79dd3c5 100644 --- a/README.md +++ b/README.md @@ -8,15 +8,17 @@ Help on flags: ``` -insecure - Ignore server certificate if using https (default false) + Ignore server certificate if using https. (default false) -log.level value Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal, panic]. (default info) -scrape_uri string - URI to apache stub status page (default "http://localhost/server-status/?auto") + URI to apache stub status page. (default "http://localhost/server-status/?auto") -telemetry.address string Address on which to expose metrics. (default ":9117") -telemetry.endpoint string Path under which to expose metrics. (default "/metrics") + -version + Version of the Apache exporter. ``` Tested on Apache 2.2 and Apache 2.4. @@ -36,4 +38,4 @@ docker build -t apache_exporter . ``` docker run -d -p 9117:9117 apache_exporter \ -scrape_uri "https://your.server.com/server-status/?auto" -``` \ No newline at end of file +``` -- GitLab