[][src]Struct replicator::metrics::ObserverMetrics

pub struct ObserverMetrics {
    pub registry: Registry,
    pub namespace: String,
    pub const_labels: HashMap<String, String>,
    pub number_of_records_total: IntGaugeVec,
    pub partition_start_offset: IntGaugeVec,
    pub partition_end_offset: IntGaugeVec,
    pub number_of_records_for_partition: IntGaugeVec,
    pub last_fetch_ts: GaugeVec,
    pub commited_offset: IntGaugeVec,
    pub remaining_by_partition: IntGaugeVec,
    pub remaining_for_topic: IntGaugeVec,
}

Fields

registry: Registrynamespace: Stringconst_labels: HashMap<String, String>number_of_records_total: IntGaugeVecpartition_start_offset: IntGaugeVecpartition_end_offset: IntGaugeVecnumber_of_records_for_partition: IntGaugeVeclast_fetch_ts: GaugeVeccommited_offset: IntGaugeVecremaining_by_partition: IntGaugeVecremaining_for_topic: IntGaugeVec

Implementations

impl ObserverMetrics[src]

pub fn new(
    namespace: Option<String>,
    labels: Option<HashMap<String, String>>
) -> Self
[src]

Trait Implementations

impl Debug for ObserverMetrics[src]

impl Metrics for ObserverMetrics[src]

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

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