[][src]Trait dipstick::OutputScope

pub trait OutputScope: Flush {
    fn new_metric(&self, name: MetricName, kind: InputKind) -> OutputMetric;
}

Define metrics, write values and flush them.

Required methods

fn new_metric(&self, name: MetricName, kind: InputKind) -> OutputMetric

Define a raw metric of the specified type.

Loading content...

Implementors

impl OutputScope for GraphiteScope[src]

fn new_metric(&self, name: MetricName, kind: InputKind) -> OutputMetric[src]

Define a metric of the specified type.

impl OutputScope for MultiOutputScope[src]

impl OutputScope for PrometheusScope[src]

fn new_metric(&self, name: MetricName, kind: InputKind) -> OutputMetric[src]

Define a metric of the specified type.

impl OutputScope for StatsMapScope[src]

impl OutputScope for StatsdScope[src]

fn new_metric(&self, name: MetricName, kind: InputKind) -> OutputMetric[src]

Define a metric of the specified type.

impl<W: Write + Send + Sync + 'static> OutputScope for TextScope<W>[src]

Loading content...