Permalink
Browse files

renaming increment to simplesend in the docs

  • Loading branch information...
1 parent 684a87a commit 8079c4a293ca416453e8c9cd6f8bb9a497a35608 marpaia committed Nov 9, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 README.md
  2. +2 −2 doc.go
View
@@ -46,12 +46,12 @@ func init() {
}
log.Printf("Loaded Graphite connection: %#v", Graphite)
- Graphite.Increment("stats.graphite_loaded")
+ Graphite.SimpleSend("stats.graphite_loaded", 1)
}
func doWork() {
// this will work just fine, regardless of if you're working with a graphite
// nop or not
- Graphite.Increment("stats.doing_work")
+ Graphite.SimpleSend("stats.doing_work", 1)
}
```
View
@@ -24,12 +24,12 @@
// }
//
// log.Printf("Loaded Graphite connection: %#v", Graphite)
-// Graphite.Increment("stats.graphite_loaded")
+// Graphite.SimpleSend("stats.graphite_loaded", 1)
// }
//
// func doWork() {
// // this will work just fine, regardless of if you're working with a graphite
// // nop or not
-// Graphite.Increment("stats.doing_work")
+// Graphite.SimpleSend("stats.doing_work", 1)
// }
package graphite

0 comments on commit 8079c4a

Please sign in to comment.