[−][src]Struct opentelemetry::api::metrics::noop::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]
&self,
_name: S,
_opts: MetricOptions
) -> Self::I64Counter
Returns a no-op I64Counter instance.
fn new_f64_counter<S: Into<String>>(
&self,
_name: S,
_opts: MetricOptions
) -> Self::F64Counter[src]
&self,
_name: S,
_opts: MetricOptions
) -> Self::F64Counter
Returns a no-op F64Counter instance.
fn new_i64_gauge<S: Into<String>>(
&self,
_name: S,
_opts: MetricOptions
) -> Self::I64Gauge[src]
&self,
_name: S,
_opts: MetricOptions
) -> Self::I64Gauge
Returns a no-op I64Gauge instance.
fn new_f64_gauge<S: Into<String>>(
&self,
_name: S,
_opts: MetricOptions
) -> Self::F64Gauge[src]
&self,
_name: S,
_opts: MetricOptions
) -> Self::F64Gauge
Returns a no-op F64Gauge instance.
fn new_i64_measure<S: Into<String>>(
&self,
_name: S,
_opts: MetricOptions
) -> Self::I64Measure[src]
&self,
_name: S,
_opts: MetricOptions
) -> Self::I64Measure
Returns a no-op I64Measure instance.
fn new_f64_measure<S: Into<String>>(
&self,
_name: S,
_opts: MetricOptions
) -> Self::F64Measure[src]
&self,
_name: S,
_opts: MetricOptions
) -> Self::F64Measure
Returns a no-op F64Measure instance.
fn record_batch<M: IntoIterator<Item = Measurement<NoopLabelSet>>>(
&self,
_label_set: &NoopLabelSet,
_measurements: M
)[src]
&self,
_label_set: &NoopLabelSet,
_measurements: M
)
Ignores batch recordings
Auto Trait Implementations
impl RefUnwindSafe for NoopMeter
impl Send for NoopMeter
impl Sync for NoopMeter
impl Unpin for NoopMeter
impl UnwindSafe for NoopMeter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T> FutureExt for T[src]
fn with_context(self, otel_cx: OpenTelemetryContext) -> WithContext<Self>[src]
fn with_current_context(self) -> WithContext<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src]
V: MultiLane<T>,