pub struct DatasetHealthSummary {Show 16 fields
pub source_bytes: u64,
pub source_message_count: u64,
pub retained_record_count: u64,
pub retained_point_count: u64,
pub artifact_count: u64,
pub artifact_bytes: u64,
pub topic_count: u64,
pub stage_count: u64,
pub check_count: u64,
pub pass_count: u64,
pub warning_count: u64,
pub blocked_count: u64,
pub critical_block_count: u64,
pub source_identity_match: bool,
pub frame_identity_match: bool,
pub calibration_ready: bool,
}Expand description
Health and gate counters aggregated across checks and artifacts.
Fields§
§source_bytes: u64Canonical source byte count.
source_message_count: u64Sum of source messages across health topics.
retained_record_count: u64Sum of retained records across health topics.
retained_point_count: u64Sum of retained points across health topics.
artifact_count: u64Number of checksummed artifacts represented by the dashboard.
artifact_bytes: u64Sum of checksummed artifact bytes.
topic_count: u64Number of canonical topics represented.
stage_count: u64Number of stage snapshots represented.
check_count: u64Total number of checks.
pass_count: u64Number of passing checks.
warning_count: u64Number of warning checks.
blocked_count: u64Number of blocked checks.
critical_block_count: u64Number of blocked checks marked critical.
source_identity_match: boolWhether canonical source identity matched.
frame_identity_match: boolWhether the requested frame matched canonical stage evidence.
calibration_ready: boolWhether source-bound clock and frame calibration is registered.
Implementations§
Source§impl DatasetHealthSummary
impl DatasetHealthSummary
Sourcepub fn try_new(
source_bytes: u64,
source_message_count: u64,
retained_record_count: u64,
retained_point_count: u64,
artifact_count: u64,
artifact_bytes: u64,
topic_count: u64,
stage_count: u64,
check_count: u64,
pass_count: u64,
warning_count: u64,
blocked_count: u64,
critical_block_count: u64,
source_identity_match: bool,
frame_identity_match: bool,
calibration_ready: bool,
) -> ViewerResult<Self>
pub fn try_new( source_bytes: u64, source_message_count: u64, retained_record_count: u64, retained_point_count: u64, artifact_count: u64, artifact_bytes: u64, topic_count: u64, stage_count: u64, check_count: u64, pass_count: u64, warning_count: u64, blocked_count: u64, critical_block_count: u64, source_identity_match: bool, frame_identity_match: bool, calibration_ready: bool, ) -> ViewerResult<Self>
Creates and validates aggregate health counters.
Sourcepub fn validate(&self) -> ViewerResult<()>
pub fn validate(&self) -> ViewerResult<()>
Validates counter ordering and source/calibration relationships.
Trait Implementations§
Source§impl Clone for DatasetHealthSummary
impl Clone for DatasetHealthSummary
Source§fn clone(&self) -> DatasetHealthSummary
fn clone(&self) -> DatasetHealthSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DatasetHealthSummary
impl Debug for DatasetHealthSummary
Source§impl<'de> Deserialize<'de> for DatasetHealthSummary
impl<'de> Deserialize<'de> for DatasetHealthSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for DatasetHealthSummary
impl PartialEq for DatasetHealthSummary
Source§fn eq(&self, other: &DatasetHealthSummary) -> bool
fn eq(&self, other: &DatasetHealthSummary) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for DatasetHealthSummary
impl Serialize for DatasetHealthSummary
impl Eq for DatasetHealthSummary
impl StructuralPartialEq for DatasetHealthSummary
Auto Trait Implementations§
impl Freeze for DatasetHealthSummary
impl RefUnwindSafe for DatasetHealthSummary
impl Send for DatasetHealthSummary
impl Sync for DatasetHealthSummary
impl Unpin for DatasetHealthSummary
impl UnsafeUnpin for DatasetHealthSummary
impl UnwindSafe for DatasetHealthSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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