forked from mirrors/statsd_exporter
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.
This commit is contained in:
parent
3523ac00b8
commit
a794d58413
1 changed files with 8 additions and 12 deletions
20
README.md
20
README.md
|
@ -44,26 +44,22 @@ without values (`#some_tag`) are not supported.
|
||||||
$ go build
|
$ go build
|
||||||
$ ./statsd_exporter --help
|
$ ./statsd_exporter --help
|
||||||
Usage of ./statsd_exporter:
|
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
|
-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
|
-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
|
-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
|
-statsd.mapping-config string
|
||||||
Metric mapping configuration file name.
|
Metric mapping configuration file name.
|
||||||
-statsd.read-buffer int
|
-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
|
-version
|
||||||
Print version information.
|
Print version information.
|
||||||
-web.listen-address string
|
-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
|
-web.telemetry-path string
|
||||||
Path under which to expose metrics. (default "/metrics")
|
Path under which to expose metrics. (default "/metrics")
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue