Skip to content

Commit

Permalink
Merge pull request #138 from timblair/clearer_sampling_info
Browse files Browse the repository at this point in the history
Make it clearer that sampling is only for counters.
  • Loading branch information
mrtazz committed Oct 20, 2012
2 parents 0b7be21 + 1c27489 commit f4c6cf5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Expand Up @@ -33,6 +33,11 @@ Counting
This is a simple counter. Add 1 to the "gorets" bucket. It stays in memory
until the flush interval `config.flushInterval`.

### Sampling

gorets:1|c|@0.1

Tells StatsD that this counter is being sent sampled every 1/10th of the time.

Timing
------
Expand All @@ -51,13 +56,6 @@ generate the following list of stats for each threshold:
Where `$KEY` is the key you stats key you specify when sending to statsd, and
`$PCT` is the percentile threshold.

Sampling
--------

gorets:1|c|@0.1

Tells StatsD that this counter is being sent sampled every 1/10th of the time.

Gauges
------
StatsD now also supports gauges, arbitrary values, which can be recorded.
Expand Down

0 comments on commit f4c6cf5

Please sign in to comment.