Struct DerivedStateConsumerTelemetry
pub struct DerivedStateConsumerTelemetry {
pub name: &'static str,
pub unhealthy: bool,
pub recovery_state: DerivedStateConsumerRecoveryState,
pub applied_events: u64,
pub checkpoint_flushes: u64,
pub fault_count: u64,
pub last_applied_sequence: Option<FeedSequence>,
pub last_fault_sequence: Option<FeedSequence>,
pub last_fault_kind: Option<DerivedStateConsumerFaultKind>,
}Expand description
Snapshot of one registered derived-state consumer’s live-feed health and counters.
Fields§
§name: &'static strStable consumer name used in logs and telemetry.
unhealthy: boolWhether live continuity has been lost for this consumer.
recovery_state: DerivedStateConsumerRecoveryStateRecovery state for the consumer.
applied_events: u64Total number of successfully applied envelopes.
checkpoint_flushes: u64Total number of successfully flushed checkpoints.
fault_count: u64Total number of structured faults recorded for the consumer.
last_applied_sequence: Option<FeedSequence>Highest applied sequence when known.
last_fault_sequence: Option<FeedSequence>Highest fault-associated sequence when known.
last_fault_kind: Option<DerivedStateConsumerFaultKind>Last structured fault kind when known.
Trait Implementations§
§impl Clone for DerivedStateConsumerTelemetry
impl Clone for DerivedStateConsumerTelemetry
§fn clone(&self) -> DerivedStateConsumerTelemetry
fn clone(&self) -> DerivedStateConsumerTelemetry
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 more§impl Debug for DerivedStateConsumerTelemetry
impl Debug for DerivedStateConsumerTelemetry
§impl PartialEq for DerivedStateConsumerTelemetry
impl PartialEq for DerivedStateConsumerTelemetry
impl Eq for DerivedStateConsumerTelemetry
impl StructuralPartialEq for DerivedStateConsumerTelemetry
Auto Trait Implementations§
impl Freeze for DerivedStateConsumerTelemetry
impl RefUnwindSafe for DerivedStateConsumerTelemetry
impl Send for DerivedStateConsumerTelemetry
impl Sync for DerivedStateConsumerTelemetry
impl Unpin for DerivedStateConsumerTelemetry
impl UnsafeUnpin for DerivedStateConsumerTelemetry
impl UnwindSafe for DerivedStateConsumerTelemetry
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<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