Skip to navigation

Struct Diagnostic Loss

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct DiagnosticLoss {Show 19 fields
    pub events_evicted: Option<DiagnosticCount>,
    pub events_omitted: Option<DiagnosticCount>,
    pub components_evicted: Option<DiagnosticCount>,
    pub components_rejected: Option<DiagnosticCount>,
    pub keys_rejected: Option<DiagnosticCount>,
    pub observations_rejected: Option<DiagnosticCount>,
    pub messages_truncated: Option<DiagnosticCount>,
    pub details_omitted: Option<DiagnosticCount>,
    pub correlations_truncated: Option<DiagnosticCount>,
    pub correlations_omitted: Option<DiagnosticCount>,
    pub metadata_rejected: Option<DiagnosticCount>,
    pub classifications_overflowed: Option<DiagnosticCount>,
    pub windows_rejected: Option<DiagnosticCount>,
    pub queries_rejected: Option<DiagnosticCount>,
    pub stale_observations: Option<DiagnosticCount>,
    pub projection_deliveries_omitted: Option<DiagnosticCount>,
    pub projections_panicked: Option<DiagnosticCount>,
    pub projections_suppressed: Option<DiagnosticCount>,
    pub sequence_saturated: bool,
}

Explicit counters for bounded-storage, admission, and projection losses.

Fields

events_evicted: Option<DiagnosticCount>

Previously retained events reclaimed from the circular history.

events_omitted: Option<DiagnosticCount>

Accepted observations whose incoming event evidence was not retained.

components_evicted: Option<DiagnosticCount>

Closed component metadata reclaimed with dependent evidence.

components_rejected: Option<DiagnosticCount>

Component registrations rejected by admission limits.

keys_rejected: Option<DiagnosticCount>

Code reservations or registrations rejected by admission limits.

observations_rejected: Option<DiagnosticCount>

Observations rejected before canonical counting.

messages_truncated: Option<DiagnosticCount>

Detail shortened within its configured byte allowance.

details_omitted: Option<DiagnosticCount>

Incoming optional detail omitted without evicting a retained event.

correlations_truncated: Option<DiagnosticCount>

Correlation fields shortened within their own byte allowance.

correlations_omitted: Option<DiagnosticCount>

Safe correlation fields omitted because detail storage could not fit them.

metadata_rejected: Option<DiagnosticCount>

Metadata registrations rejected by their admission budget.

classifications_overflowed: Option<DiagnosticCount>

Accepted summary-only deltas whose classification could not be admitted.

windows_rejected: Option<DiagnosticCount>

Window series rejected by their independent admission budget.

queries_rejected: Option<DiagnosticCount>

Query materializations rejected by bounded workspace admission.

stale_observations: Option<DiagnosticCount>

Recording attempts for closed or replaced component registrations.

projection_deliveries_omitted: Option<DiagnosticCount>

Optional projection deliveries omitted for lack of bounded workspace.

projections_panicked: Option<DiagnosticCount>

Projection callbacks whose panic was isolated after acceptance.

projections_suppressed: Option<DiagnosticCount>

Cyclic or excessively deep projection chains suppressed.

sequence_saturated: bool

Unique sequence allocation has exhausted its representation.

Trait Implementations

impl Clone for DiagnosticLoss

impl Clone for DiagnosticLoss

clone

fn clone(&self) -> DiagnosticLoss

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for DiagnosticLoss

impl Debug for DiagnosticLoss

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for DiagnosticLoss

impl Default for DiagnosticLoss

default

fn default() -> Self

impl Hash for DiagnosticLoss

impl Hash for DiagnosticLoss

hash

fn hash<__H: Hasher>(&self, state: &mut __H)

hash_slice

fn hash_slice<H>(data: &[Self], state: &mut H)where
    H: Hasher,
    Self: Sized,

impl Message for DiagnosticLoss

impl Message for DiagnosticLoss

encoded_len

fn encoded_len(&self) -> usize

clear

fn clear(&mut self)

encode

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
    Self: Sized,

encode_to_vec

fn encode_to_vec(&self) -> Vec<u8> where
    Self: Sized,

encode_length_delimited

fn encode_length_delimited(
    &self,
    buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
    Self: Sized,

encode_length_delimited_to_vec

fn encode_length_delimited_to_vec(&self) -> Vec<u8> where
    Self: Sized,

decode

fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,

decode_length_delimited

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
    Self: Default,

merge

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,

merge_length_delimited

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
    Self: Sized,

impl Name for DiagnosticLoss

impl Name for DiagnosticLoss

NAME

const NAME: &'static str = "DiagnosticLoss"

PACKAGE

const PACKAGE: &'static str = "nvidia.nemo.relay.worker.v1"

full_name

fn full_name() -> String

type_url

fn type_url() -> String

impl PartialEq for DiagnosticLoss

impl PartialEq for DiagnosticLoss

eq

fn eq(&self, other: &DiagnosticLoss) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl WireValue<DiagnosticLoss> for DiagnosticLoss

impl WireValue<DiagnosticLoss> for DiagnosticLoss

to_wire

fn to_wire(self) -> Result<DiagnosticLoss>

from_wire

fn from_wire(value: DiagnosticLoss) -> Result<Self>

impl Copy for DiagnosticLoss

impl Copy for DiagnosticLoss

impl Eq for DiagnosticLoss

impl Eq for DiagnosticLoss

impl StructuralPartialEq for DiagnosticLoss

impl StructuralPartialEq for DiagnosticLoss