summaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/index.rst b/docs/index.rst
index 0118c76..5e3dba9 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -20,11 +20,11 @@ Quickly, to use::
>>> c.incr('foo') # Increment the 'foo' counter.
>>> c.timing('stats.timed', 320) # Record a 320ms 'stats.timed'.
-You can also add a prefix to all your stats::
+You can also add a prefix and/or suffix to all your stats::
>>> import statsd
- >>> c = statsd.StatsClient('localhost', 8125, prefix='foo')
- >>> c.incr('bar') # Will be 'foo.bar' in statsd/graphite.
+ >>> c = statsd.StatsClient('localhost', 8125, prefix='foo', suffix='baz')
+ >>> c.incr('bar') # Will be 'foo.bar.baz' in statsd/graphite.
Installing