[−][src]Trait dipstick::InputScope
InputScope Define metrics, write values and flush them.
Required methods
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric
Define a generic metric of the specified type. It is preferable to use counter() / marker() / timer() / gauge() methods.
Provided methods
fn counter(&self, name: &str) -> Counter
Define a counter.
fn marker(&self, name: &str) -> Marker
Define a marker.
fn timer(&self, name: &str) -> Timer
Define a timer.
fn gauge(&self, name: &str) -> Gauge
Define a gauge.
fn level(&self, name: &str) -> Level
Define a level.
Implementors
impl InputScope for AtomicBucket
[src]
impl InputScope for AtomicBucket
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric | [src] |
Lookup or create scores for the requested metric.
fn counter(&self, name: &str) -> Counter | [src] |
fn marker(&self, name: &str) -> Marker | [src] |
fn timer(&self, name: &str) -> Timer | [src] |
fn gauge(&self, name: &str) -> Gauge | [src] |
fn level(&self, name: &str) -> Level | [src] |
impl InputScope for InputQueueScope
[src]
impl InputScope for InputQueueScope
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric | [src] |
fn counter(&self, name: &str) -> Counter | [src] |
fn marker(&self, name: &str) -> Marker | [src] |
fn timer(&self, name: &str) -> Timer | [src] |
fn gauge(&self, name: &str) -> Gauge | [src] |
fn level(&self, name: &str) -> Level | [src] |
impl InputScope for LockingOutput
[src]
impl InputScope for LockingOutput
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric | [src] |
fn counter(&self, name: &str) -> Counter | [src] |
fn marker(&self, name: &str) -> Marker | [src] |
fn timer(&self, name: &str) -> Timer | [src] |
fn gauge(&self, name: &str) -> Gauge | [src] |
fn level(&self, name: &str) -> Level | [src] |
impl InputScope for LogScope
[src]
impl InputScope for LogScope
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric | [src] |
fn counter(&self, name: &str) -> Counter | [src] |
fn marker(&self, name: &str) -> Marker | [src] |
fn timer(&self, name: &str) -> Timer | [src] |
fn gauge(&self, name: &str) -> Gauge | [src] |
fn level(&self, name: &str) -> Level | [src] |
impl InputScope for MultiInputScope
[src]
impl InputScope for MultiInputScope
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric | [src] |
fn counter(&self, name: &str) -> Counter | [src] |
fn marker(&self, name: &str) -> Marker | [src] |
fn timer(&self, name: &str) -> Timer | [src] |
fn gauge(&self, name: &str) -> Gauge | [src] |
fn level(&self, name: &str) -> Level | [src] |
impl InputScope for OutputQueueScope
[src]
impl InputScope for OutputQueueScope
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric | [src] |
fn counter(&self, name: &str) -> Counter | [src] |
fn marker(&self, name: &str) -> Marker | [src] |
fn timer(&self, name: &str) -> Timer | [src] |
fn gauge(&self, name: &str) -> Gauge | [src] |
fn level(&self, name: &str) -> Level | [src] |
impl InputScope for Proxy
[src]
impl InputScope for Proxy
fn new_metric(&self, name: MetricName, kind: InputKind) -> InputMetric | [src] |
Lookup or create a proxy stub for the requested metric.
fn counter(&self, name: &str) -> Counter | [src] |
fn marker(&self, name: &str) -> Marker | [src] |
fn timer(&self, name: &str) -> Timer | [src] |
fn gauge(&self, name: &str) -> Gauge | [src] |
fn level(&self, name: &str) -> Level | [src] |