count method

Future count (
  1. String name,
  2. [int delta = 1,
  3. double sampleRate]
)

Sends counter metric specified by name.

By default will increment the value by 1 but you can pass any value in delta.

The sampleRate parameter if provided tells statsd that this counter is being sampled. For instance, value 0.1 means that the counter is sampled every 1/10th of the time.

Implementation

Future count(String name, [int delta = 1, double sampleRate]);