Struct veloren_network_protocol::metrics::ProtocolMetrics
source · 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