pub enum SamplingConfigDiagnostic {
Ok,
Info,
Warn,
}Expand description
Diagnostic classification for SamplingConfig edge values. v0.9.1
P1 Fix 5 (m3): split out from warn_on_edge_values so the
classification logic is independently testable without capturing
tracing output (the workspace doesn’t carry tracing-test).
Variants§
Ok
Both bounds are healthy; no operator action needed.
Info
One zero bound; coordinator still coalesces via the other bound but the resolved behavior is worth logging.
Warn
coalesce_window_ms == 0 AND coalesce_max_requests <= 1 —
coalescing is effectively disabled. Warn the operator.
Trait Implementations§
Source§impl Clone for SamplingConfigDiagnostic
impl Clone for SamplingConfigDiagnostic
Source§fn clone(&self) -> SamplingConfigDiagnostic
fn clone(&self) -> SamplingConfigDiagnostic
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 moreSource§impl Debug for SamplingConfigDiagnostic
impl Debug for SamplingConfigDiagnostic
Source§impl PartialEq for SamplingConfigDiagnostic
impl PartialEq for SamplingConfigDiagnostic
Source§fn eq(&self, other: &SamplingConfigDiagnostic) -> bool
fn eq(&self, other: &SamplingConfigDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SamplingConfigDiagnostic
impl Eq for SamplingConfigDiagnostic
impl StructuralPartialEq for SamplingConfigDiagnostic
Auto Trait Implementations§
impl Freeze for SamplingConfigDiagnostic
impl RefUnwindSafe for SamplingConfigDiagnostic
impl Send for SamplingConfigDiagnostic
impl Sync for SamplingConfigDiagnostic
impl Unpin for SamplingConfigDiagnostic
impl UnsafeUnpin for SamplingConfigDiagnostic
impl UnwindSafe for SamplingConfigDiagnostic
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> 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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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>
Converts
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>
Converts
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