Skip to content
Browse files

Basic Readme

  • Loading branch information...
1 parent 7de9bdf commit c05c087a4b5b28aea7fab69318de94cb2952d903 @jehiah committed
Showing with 21 additions and 1 deletion.
  1. +20 −0 README.md
  2. +1 −1 main.go
View
20 README.md
@@ -0,0 +1,20 @@
+gographite
+==========
+
+Port of Etsy's statsd (https://github.com/etsy/statsd), written in Go.
+
+* supports Timing, Counters, Gauges, Sampling
+* supports percentage values
+
+Command Line Options
+====================
+
+```
+Usage of ./gographite:
+ -address=":8125": UDP service address
+ -flush-interval=10: Flush interval (seconds)
+ -graphite="127.0.0.1:2003": Graphite service address (or - to disable)
+ -percent-threshold=[]: Threshold percent (may be given multiple times)
+ -version=false: print version string
+```
+
View
2 main.go
@@ -37,7 +37,7 @@ func (a *Percentiles) String() string {
var (
serviceAddress = flag.String("address", ":8125", "UDP service address")
- graphiteAddress = flag.String("graphite", "127.0.0.1:2003", "Graphite service address (or - to dissable)")
+ graphiteAddress = flag.String("graphite", "127.0.0.1:2003", "Graphite service address (or - to disable)")
flushInterval = flag.Int64("flush-interval", 10, "Flush interval (seconds)")
showVersion = flag.Bool("version", false, "print version string")
percentThreshold = Percentiles{}

0 comments on commit c05c087

Please sign in to comment.
Something went wrong with that request. Please try again.