#[non_exhaustive]pub enum EventLevel {
WorkerHealth = 0,
TaskLifecycle = 1,
QueueConcurrency = 2,
DistributedTracing = 3,
}Expand description
Granularity level for observable events.
Events at a lower level are implicitly included when a higher level is
enabled. For example, a sink configured at TaskLifecycle receives both
Level 0 (Worker Health) and Level 1 (Task Lifecycle) events.
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.
WorkerHealth = 0
Level 0: Worker start/stop/heartbeat events.
TaskLifecycle = 1
Level 1: Per-invocation lifecycle events (submitted, started, succeeded, failed).
QueueConcurrency = 2
Level 2: Queue depth, enqueue/dequeue, concurrency control metrics.
DistributedTracing = 3
Level 3: Full distributed tracing with context propagation.
Trait Implementations§
Source§impl Clone for EventLevel
impl Clone for EventLevel
Source§fn clone(&self) -> EventLevel
fn clone(&self) -> EventLevel
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 EventLevel
impl Debug for EventLevel
Source§impl Hash for EventLevel
impl Hash for EventLevel
Source§impl Ord for EventLevel
impl Ord for EventLevel
Source§fn cmp(&self, other: &EventLevel) -> Ordering
fn cmp(&self, other: &EventLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EventLevel
impl PartialEq for EventLevel
Source§impl PartialOrd for EventLevel
impl PartialOrd for EventLevel
impl Copy for EventLevel
impl Eq for EventLevel
impl StructuralPartialEq for EventLevel
Auto Trait Implementations§
impl Freeze for EventLevel
impl RefUnwindSafe for EventLevel
impl Send for EventLevel
impl Sync for EventLevel
impl Unpin for EventLevel
impl UnsafeUnpin for EventLevel
impl UnwindSafe for EventLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.