summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Burry <bburry@etsy.com>2014-11-01 16:22:00 -0400
committerBen Burry <bburry@etsy.com>2014-11-01 16:22:00 -0400
commita890a267b6b580ba413dcf24e67d5cd4d6d7a83d (patch)
treef97c6cf08724eb97b5b9a853c764182c9bf7cab8
parentb54b97d8cba05fa18d9cf4313f56a30f5f313002 (diff)
downloadlogster-a890a267b6b580ba413dcf24e67d5cd4d6d7a83d.zip
logster-a890a267b6b580ba413dcf24e67d5cd4d6d7a83d.tar.gz
logster-a890a267b6b580ba413dcf24e67d5cd4d6d7a83d.tar.bz2
Specify choices for graphite protocol
-rwxr-xr-xbin/logster1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/logster b/bin/logster
index 46ab117..b551e74 100755
--- a/bin/logster
+++ b/bin/logster
@@ -88,6 +88,7 @@ cmdline.add_option('--gmetric-options', action='store',
cmdline.add_option('--graphite-host', action='store',
help='Hostname and port for Graphite collector, e.g. graphite.example.com:2003')
cmdline.add_option('--graphite-protocol', action='store', default='tcp',
+ choices=('tcp', 'udp'),
help='Specify graphite socket protocol. Options are tcp and udp. Defaults to tcp.')
cmdline.add_option('--statsd-host', action='store',
help='Hostname and port for statsd collector, e.g. statsd.example.com:8125')