Skip to navigation

Struct System Stats Config

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct SystemStatsConfig {
    pub collect: Vec<SystemStatsMetricGroup>,
    pub sampling: Option<SystemStatsSamplingConfig>,
}

Native invocation collection, independent of Relay and recording. Omitted configuration collects all supported groups at the endpoints. Explicit null disables invocation stats, preserving the existing final resource_snapshot contract. Periodic sampling is independently opt-in.

Fields

collect: Vec<SystemStatsMetricGroup>

Groups to collect and persist. Omission selects all supported groups.

sampling: Option<SystemStatsSamplingConfig>

Optional bounded periodic collection; absence means endpoints only.

Trait Implementations

impl Clone for SystemStatsConfig

impl Clone for SystemStatsConfig

clone

fn clone(&self) -> SystemStatsConfig

clone_from

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

impl Debug for SystemStatsConfig

impl Debug for SystemStatsConfig

fmt

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

impl Default for SystemStatsConfig

impl Default for SystemStatsConfig

default

fn default() -> Self

impl<'de> Deserialize<'de> for SystemStatsConfig

impl<'de> Deserialize<'de> for SystemStatsConfig

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for SystemStatsConfig

impl JsonSchema for SystemStatsConfig

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for SystemStatsConfig

impl PartialEq for SystemStatsConfig

eq

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

ne

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

impl Serialize for SystemStatsConfig

impl Serialize for SystemStatsConfig

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for SystemStatsConfig

impl StructuralPartialEq for SystemStatsConfig