[][src]Struct opentelemetry::api::metrics::noop::NoopMeter

pub struct NoopMeter {}

A no-op instance of a Meter.

Trait Implementations

impl Clone for NoopMeter[src]

impl Debug for NoopMeter[src]

impl Meter for NoopMeter[src]

type LabelSet = NoopLabelSet

The LabelSet data type for this meter.

type I64Counter = NoopCounter<i64>

The I64Counter data type for this meter.

type F64Counter = NoopCounter<f64>

The F64Counter data type for this meter.

type I64Gauge = NoopGauge<i64>

The I64Gauge data type for this meter.

type F64Gauge = NoopGauge<f64>

The F64Gauge data type for this meter.

type I64Measure = NoopMeasure<i64>

The I64Measure data type for this meter.

type F64Measure = NoopMeasure<f64>

The F64Measure data type for this meter.

fn labels(&self, _key_values: Vec<KeyValue>) -> Self::LabelSet[src]

Returns a no-op NoopLabelSet.

fn new_i64_counter<S: Into<String>>(
    &self,
    _name: S,
    _opts: MetricOptions
) -> Self::I64Counter
[src]

Returns a no-op I64Counter instance.

fn new_f64_counter<S: Into<String>>(
    &self,
    _name: S,
    _opts: MetricOptions
) -> Self::F64Counter
[src]

Returns a no-op F64Counter instance.

fn new_i64_gauge<S: Into<String>>(
    &self,
    _name: S,
    _opts: MetricOptions
) -> Self::I64Gauge
[src]

Returns a no-op I64Gauge instance.

fn new_f64_gauge<S: Into<String>>(
    &self,
    _name: S,
    _opts: MetricOptions
) -> Self::F64Gauge
[src]

Returns a no-op F64Gauge instance.

fn new_i64_measure<S: Into<String>>(
    &self,
    _name: S,
    _opts: MetricOptions
) -> Self::I64Measure
[src]

Returns a no-op I64Measure instance.

fn new_f64_measure<S: Into<String>>(
    &self,
    _name: S,
    _opts: MetricOptions
) -> Self::F64Measure
[src]

Returns a no-op F64Measure instance.

fn record_batch<M: IntoIterator<Item = Measurement<NoopLabelSet>>>(
    &self,
    _label_set: &NoopLabelSet,
    _measurements: M
)
[src]

Ignores batch recordings

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FutureExt for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,