From a794d584130e6ad1934866f76f5d45f7ff6cc534 Mon Sep 17 00:00:00 2001 From: Matthias Rampke Date: Wed, 29 Nov 2017 14:20:24 +0000 Subject: [PATCH] Fix incorrect `--help` output in README This removes the not actually available log flags from the README. We should really have those (#111), but at least it's less confusing this way. Fixes #110. --- README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index d502d49..00142aa 100644 --- a/README.md +++ b/README.md @@ -44,26 +44,22 @@ without values (`#some_tag`) are not supported. $ go build $ ./statsd_exporter --help Usage of ./statsd_exporter: - -log.format value - If set use a syslog logger or JSON logging. Example: logger:syslog?appname=bob&local=7 or logger:stdout?json=true. Defaults to stderr. - -log.level value - Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]. -statsd.listen-address string - The UDP address on which to receive statsd metric lines. DEPRECATED, use statsd.listen-udp instead. + The UDP address on which to receive statsd metric lines. DEPRECATED, use statsd.listen-udp instead. -statsd.listen-tcp string - The TCP address on which to receive statsd metric lines. "" disables it. (default ":9125") + The TCP address on which to receive statsd metric lines. "" disables it. (default ":9125") -statsd.listen-udp string - The UDP address on which to receive statsd metric lines. "" disables it. (default ":9125") + The UDP address on which to receive statsd metric lines. "" disables it. (default ":9125") -statsd.mapping-config string - Metric mapping configuration file name. + Metric mapping configuration file name. -statsd.read-buffer int - Size (in bytes) of the operating system's transmit read buffer associated with the UDP connection. Please make sure the kernel parameters net.core.rmem_max is set to a value greater than the value specified. + Size (in bytes) of the operating system's transmit read buffer associated with the UDP connection. Please make sure the kernel parameters net.core.rmem_max is set to a value greater than the value specified. -version - Print version information. + Print version information. -web.listen-address string - The address on which to expose the web interface and generated Prometheus metrics. (default ":9102") + The address on which to expose the web interface and generated Prometheus metrics. (default ":9102") -web.telemetry-path string - Path under which to expose metrics. (default "/metrics") + Path under which to expose metrics. (default "/metrics") ## Tests