pub struct ProtocolMetrics {Show 13 fields
smsg_it: IntCounterVec,
smsg_ib: IntCounterVec,
smsg_ot: IntCounterVec,
smsg_ob: IntCounterVec,
sdata_frames_t: IntCounterVec,
sdata_frames_b: IntCounterVec,
rmsg_it: IntCounterVec,
rmsg_ib: IntCounterVec,
rmsg_ot: IntCounterVec,
rmsg_ob: IntCounterVec,
rdata_frames_t: IntCounterVec,
rdata_frames_b: IntCounterVec,
ping: IntGaugeVec,
}
Expand description
Use 1 ProtocolMetrics
per Network
.
I will contain all protocol related prometheus
information
Fields§
§smsg_it: IntCounterVec
messages added to be send total, by STREAM,
smsg_ib: IntCounterVec
messages bytes added to be send throughput, by STREAM,
smsg_ot: IntCounterVec
messages removed from to be send, because they where finished total, by STREAM AND REASON(finished/canceled),
smsg_ob: IntCounterVec
messages bytes removed from to be send throughput, because they where finished total, by STREAM AND REASON(finished/dropped),
sdata_frames_t: IntCounterVec
data frames send by prio by CHANNEL,
sdata_frames_b: IntCounterVec
data frames bytes send by prio by CHANNEL,
rmsg_it: IntCounterVec
messages added to be received total, by STREAM,
rmsg_ib: IntCounterVec
messages bytes added to be received throughput, by STREAM,
rmsg_ot: IntCounterVec
messages removed from to be received, because they where finished total, by STREAM AND REASON(finished/canceled),
rmsg_ob: IntCounterVec
messages bytes removed from to be received throughput, because they where finished total, by STREAM AND REASON(finished/dropped),
rdata_frames_t: IntCounterVec
data frames send by prio by CHANNEL,
rdata_frames_b: IntCounterVec
data frames bytes send by prio by CHANNEL,
ping: IntGaugeVec
ping per CHANNEL //TODO: implement
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProtocolMetrics
impl !RefUnwindSafe for ProtocolMetrics
impl Send for ProtocolMetrics
impl Sync for ProtocolMetrics
impl Unpin for ProtocolMetrics
impl !UnwindSafe for ProtocolMetrics
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more