Update the README for #141

it has a copy of the usage

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
This commit is contained in:
Matthias Rampke 2018-08-21 08:57:44 +00:00
parent e1693708d4
commit 3a6b6ce5d5
No known key found for this signature in database
GPG key ID: 2CDE413A9BD0A5BC

View file

@ -43,23 +43,36 @@ without values (`#some_tag`) are not supported.
$ go build $ go build
$ ./statsd_exporter --help $ ./statsd_exporter --help
Usage of ./statsd_exporter: usage: statsd_exporter [<flags>]
-statsd.listen-address string
The UDP address on which to receive statsd metric lines. DEPRECATED, use statsd.listen-udp instead. Flags:
-statsd.listen-tcp string -h, --help Show context-sensitive help (also try --help-long and
The TCP address on which to receive statsd metric lines. "" disables it. (default ":9125") --help-man).
-statsd.listen-udp string --web.listen-address=":9102"
The UDP address on which to receive statsd metric lines. "" disables it. (default ":9125") The address on which to expose the web interface and
-statsd.mapping-config string generated Prometheus metrics.
--web.telemetry-path="/metrics"
Path under which to expose metrics.
--statsd.listen-udp=":9125"
The UDP address on which to receive statsd metric
lines. "" disables it.
--statsd.listen-tcp=":9125"
The TCP address on which to receive statsd metric
lines. "" disables it.
--statsd.mapping-config=STATSD.MAPPING-CONFIG
Metric mapping configuration file name. Metric mapping configuration file name.
-statsd.read-buffer int --statsd.read-buffer=STATSD.READ-BUFFER
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
-version read buffer associated with the UDP connection. Please
Print version information. make sure the kernel parameters net.core.rmem_max is
-web.listen-address string set to a value greater than the value specified.
The address on which to expose the web interface and generated Prometheus metrics. (default ":9102") --log.level="info" Only log messages with the given severity or above.
-web.telemetry-path string Valid levels: [debug, info, warn, error, fatal]
Path under which to expose metrics. (default "/metrics") --log.format="logger:stderr"
Set the log target and format. Example:
"logger:syslog?appname=bob&local=7" or
"logger:stdout?json=true"
--version Show application version.
## Tests ## Tests