Browse files

Update docs to include del* commands

Updated command list to show all the delete commands, as well as adding an example to show how to delete a folder of counters.
  • Loading branch information...
1 parent da85244 commit d8ab2fd37e466094aae5073273d3c4ef587f4fb5 @draco2003 draco2003 committed Apr 11, 2013
Showing with 14 additions and 7 deletions.
  1. +14 −7 docs/admin_interface.md
View
21 docs/admin_interface.md
@@ -11,22 +11,29 @@ available:
* counters - a dump of all the current counters
* gauges - a dump of all the current gauges
* timers - a dump of the current timers
+* delcounters - delete a counter or folder of counters
+* delgauges - delete a gauge or folder of gauges
+* deltimers - delete a timer or folder of timers
* health - a way to set the health status of statsd
The stats output currently will give you:
* uptime: the number of seconds elapsed since statsd started
-* messages.last_msg_seen: the number of elapsed seconds since statsd received a
- message
+* messages.last_msg_seen: the number of elapsed seconds since statsd received a message
* messages.bad_lines_seen: the number of bad lines seen since startup
-Each backend will also publish a set of statistics, prefixed by its
-module name.
-
-You can use this to delete buckets no longer in use. For example, if you were hosting statsd at 10.10.10.10:
+You can use the del commands to delete an individual metric like this :
#to delete counter sandbox.test.temporary
- echo "delcounters sandbox.test.temporary" | nc 10.10.10.10 8126
+ echo "delcounters sandbox.test.temporary" | nc 127.0.0.1 8126
+
+Or you can use the del command to delete a folder of metrics like this :
+
+ #to delete counters sandbox.test.*
+ echo "delcounters sandbox.test.*" | nc 127.0.0.1 8126
+
+
+Each backend will also publish a set of statistics, prefixed by its module name.
Graphite:

0 comments on commit d8ab2fd

Please sign in to comment.