[−][src]Struct opentelemetry::exporter::metrics::prometheus::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]
fn clone(&self) -> IntMeasure[src]
fn clone_from(&mut self, source: &Self)1.0.0[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.
fn record(&self, value: T, label_set: &LS)[src]
Auto Trait Implementations
impl !RefUnwindSafe for IntMeasure
impl Send for IntMeasure
impl Sync for IntMeasure
impl Unpin for IntMeasure
impl !UnwindSafe for IntMeasure
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>,