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.
Metric mapping configuration file name. --web.telemetry-path="/metrics"
-statsd.read-buffer int Path under which to expose metrics.
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. --statsd.listen-udp=":9125"
-version The UDP address on which to receive statsd metric
Print version information. lines. "" disables it.
-web.listen-address string --statsd.listen-tcp=":9125"
The address on which to expose the web interface and generated Prometheus metrics. (default ":9102") The TCP address on which to receive statsd metric
-web.telemetry-path string lines. "" disables it.
Path under which to expose metrics. (default "/metrics") --statsd.mapping-config=STATSD.MAPPING-CONFIG
Metric mapping configuration file name.
--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.
--log.level="info" Only log messages with the given severity or above.
Valid levels: [debug, info, warn, error, fatal]
--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