Skip to content

Commit

Permalink
"fix" some command argument help text
Browse files Browse the repository at this point in the history
flush-intervals, received, percent-threshold is percentile
  • Loading branch information
ploxiln committed Dec 12, 2014
1 parent 6f3a231 commit fdffaf2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions statsdaemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,15 @@ var (
flushInterval = flag.Int64("flush-interval", 10, "Flush interval (seconds)")
debug = flag.Bool("debug", false, "print statistics sent to graphite")
showVersion = flag.Bool("version", false, "print version string")
persistCountKeys = flag.Int64("persist-count-keys", 60, "number of flush-interval's to persist count keys")
receiveCounter = flag.String("receive-counter", "", "Metric name for total metrics recevied per interval")
persistCountKeys = flag.Int64("persist-count-keys", 60, "number of flush-intervals to persist count keys")
receiveCounter = flag.String("receive-counter", "", "Metric name for total metrics received per interval")
percentThreshold = Percentiles{}
prefix = flag.String("prefix", "", "Prefix for all stats")
)

func init() {
flag.Var(&percentThreshold, "percent-threshold", "Threshold percent (0-100, may be given multiple times)")
flag.Var(&percentThreshold, "percent-threshold",
"percentile calculation for timers (0-100, may be given multiple times)")
}

var (
Expand Down

0 comments on commit fdffaf2

Please sign in to comment.