diff --git a/statsdaemon.go b/statsdaemon.go index 0734e39..4bf4f58 100644 --- a/statsdaemon.go +++ b/statsdaemon.go @@ -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 (