[][src]Struct opentelemetry::exporter::metrics::prometheus::IntMeasure

pub struct IntMeasure(_);

Prometheus Histograms do not have i64 variant, IntMeasure will convert i64 to float when it records values.

Trait Implementations

impl Clone for IntMeasure[src]

impl Instrument<HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for IntMeasure[src]

fn record_one(&self, value: MeasurementValue, label_set: &LabelSet)[src]

record a single measure measurement value

impl Measure<i64, HashMap<Cow<'static, str>, Cow<'static, str>, RandomState>> for IntMeasure[src]

type Handle = IntMeasureHandle

The handle type for the implementing Measure.

fn measurement(&self, value: i64) -> Measurement<LabelSet>[src]

Creates a Measurement object to be used by a Meter when batch recording.

fn acquire_handle(&self, labels: &LabelSet) -> Self::Handle[src]

Creates a handle for this instrument.

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>,