pub struct BridgeMetrics {
pub frames_in_total: Arc<Counter>,
pub frames_out_total: Arc<Counter>,
pub bytes_in_total: Arc<Counter>,
pub bytes_out_total: Arc<Counter>,
pub connections_active: Arc<Gauge>,
pub connections_total: Arc<Counter>,
pub dds_samples_in_total: Arc<Counter>,
pub dds_samples_out_total: Arc<Counter>,
pub errors_total: Arc<Counter>,
}Expand description
Standard-Metric-Set fuer alle Bridges.
Die Metric-Namen folgen dem Bridge-Spec-Schema
zerodds_<bridge>_<thing>_total. Counter sind monotonically-increasing,
Gauges sind reset-bar.
Fields§
§frames_in_total: Arc<Counter>Anzahl eingehender WS-Frames (Text+Binary).
frames_out_total: Arc<Counter>Anzahl ausgehender WS-Frames.
bytes_in_total: Arc<Counter>Bytes in (Frame-Payload).
bytes_out_total: Arc<Counter>Bytes out.
connections_active: Arc<Gauge>Aktuell offene Connections.
connections_total: Arc<Counter>Lifetime-Connections-akzeptiert.
dds_samples_in_total: Arc<Counter>DDS-Samples published into runtime.
dds_samples_out_total: Arc<Counter>DDS-Samples received from runtime.
errors_total: Arc<Counter>Wire-Errors (decode/encode/socket).
Implementations§
Trait Implementations§
Source§impl Clone for BridgeMetrics
impl Clone for BridgeMetrics
Source§fn clone(&self) -> BridgeMetrics
fn clone(&self) -> BridgeMetrics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BridgeMetrics
impl RefUnwindSafe for BridgeMetrics
impl Send for BridgeMetrics
impl Sync for BridgeMetrics
impl Unpin for BridgeMetrics
impl UnsafeUnpin for BridgeMetrics
impl UnwindSafe for BridgeMetrics
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
Mutably borrows from an owned value. Read more