README.md in fozzie-0.0.24 vs README.md in fozzie-0.0.25
- old
+ new
@@ -36,10 +36,14 @@
sleep 5
end
Stats.time_for 'wat' { sleep 5 }
+### Gauges - register arbitrary values
+
+ Stats.gauge 'wat', 99
+
### Events - register different events
#### Commits
@@ -86,9 +90,26 @@
Stats.increment 'wat', 10
Stats.decrement 'wat', 10
Stats.count 'wat', 5, 10
+
+## Monitor
+
+You can monitor methods with the following:
+
+ class FooBar
+
+ _monitor
+ def zar
+ # my code here...
+ end
+
+ end
+
+This will register the processing time for this method, everytime it is called, under the Graphite bucket `foo_bar.zar`.
+
+This will work on both Class and Instance methods.
## Namespaces
Fozzie supports the following namespaces as default