Struct dipstick::StatsdSink
[−]
[src]
pub struct StatsdSink { /* fields omitted */ }
Allows sending metrics to a statsd server
Trait Implementations
impl Debug for StatsdSink
[src]
impl Sink<StatsdMetric> for StatsdSink
[src]
fn new_metric(&self, kind: Kind, name: &str, sampling: Rate) -> StatsdMetric
[src]
Define a new metric instrument of the requested kind, with the specified name and sample rate.
fn new_scope(&self, auto_flush: bool) -> ScopeFn<StatsdMetric>
[src]
Returns a callback function to send scope commands. Writes can be performed by passing Some((&Metric, Value)) Flushes can be performed by passing None Read more