#[non_exhaustive]pub enum TelemetryKind {
Processed,
Dropped,
DeadlineMiss,
QueueDepth,
Latency,
IngressMsgs,
EgressMsgs,
}Expand description
Logical kind of metric represented by a telemetry key.
These kinds are interpreted by collectors such as fixed and dynamic telemetry stores and are intentionally small and generic.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Processed
Number of items successfully processed.
Dropped
Number of items dropped or discarded.
DeadlineMiss
Number of deadline misses observed.
QueueDepth
Current depth of a queue or buffer.
Latency
Latency measurement in nanoseconds.
IngressMsgs
Number of ingress messages received.
EgressMsgs
Number of egress messages emitted.
Trait Implementations§
Source§impl Clone for TelemetryKind
impl Clone for TelemetryKind
Source§fn clone(&self) -> TelemetryKind
fn clone(&self) -> TelemetryKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelemetryKind
impl Debug for TelemetryKind
Source§impl Hash for TelemetryKind
impl Hash for TelemetryKind
Source§impl PartialEq for TelemetryKind
impl PartialEq for TelemetryKind
impl Copy for TelemetryKind
impl Eq for TelemetryKind
impl StructuralPartialEq for TelemetryKind
Auto Trait Implementations§
impl Freeze for TelemetryKind
impl RefUnwindSafe for TelemetryKind
impl Send for TelemetryKind
impl Sync for TelemetryKind
impl Unpin for TelemetryKind
impl UnsafeUnpin for TelemetryKind
impl UnwindSafe for TelemetryKind
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