[][src]Struct replicator::metrics::PipelineMetrics

pub struct PipelineMetrics {
    pub registry: Registry,
    pub namespace: String,
    pub const_labels: HashMap<String, String>,
    pub last_receive_ts: GaugeVec,
    pub start_ts: GaugeVec,
    pub received_total: IntCounterVec,
    pub transfered_total: IntCounterVec,
    pub keys_bytes: IntCounterVec,
    pub payload_bytes: IntCounterVec,
    pub headers_bytes: IntCounterVec,
    pub total_bytes: IntCounterVec,
    pub errors_total: IntCounterVec,
    pub avg_transfer_duration: GaugeVec,
}

Fields

registry: Registrynamespace: Stringconst_labels: HashMap<String, String>last_receive_ts: GaugeVecstart_ts: GaugeVecreceived_total: IntCounterVectransfered_total: IntCounterVeckeys_bytes: IntCounterVecpayload_bytes: IntCounterVecheaders_bytes: IntCounterVectotal_bytes: IntCounterVecerrors_total: IntCounterVecavg_transfer_duration: GaugeVec

Implementations

impl PipelineMetrics[src]

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

Trait Implementations

impl Debug for PipelineMetrics[src]

impl Metrics for PipelineMetrics[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>,