Add new usage output to readme

This commit is contained in:
R. Tyler Croy 2015-09-01 17:43:35 -07:00
parent 3778a24044
commit 07bf319972
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 7 additions and 0 deletions

View File

@ -15,13 +15,20 @@ reports it to statsd.
% java -jar verspaetung-*-all.jar --help
usage: verspaetung
-d,--delay <DELAY> Seconds to delay between reporting metrics to
the metrics receiver (defaults: 5s)
-H,--statsd-host <STATSD> Hostname for a statsd instance (defaults to
localhost)
-n,--dry-run Disable reporting to a statsd host
-p,--statsd-port <PORT> Port for the statsd instance (defaults to
8125)
--prefix <PREFIX> Prefix all metrics with PREFIX before they're
reported (e.g. PREFIX.verspaetung.mytopic)
-s,--storm Watch Storm KafkaSpout offsets (under
/kafka_spout)
-x,--exclude <EXCLUDES> Regular expression for consumer groups to
exclude from reporting (can be declared
multiple times)
-z,--zookeeper <HOSTS> Comma separated list of Zookeeper hosts (e.g.
localhost:2181)