> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/fabric/_mcp/server. # Module system_stats > Invocation measurements collected by NeMo Fabric in the executing runtime. Generated from `cargo doc --no-deps -p nemo-fabric-core`. Invocation measurements collected by NeMo Fabric in the executing runtime. ## Re-exports * `pub use cgroup::CgroupObservation;` * `pub use cgroup::CgroupSnapshot;` * `pub use cgroup::Measurement;` ## Modules * [cgroup](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/cgroup): Native, read-only cgroup v2 observations of the executing adapter host. A cgroup is a scope, not a claim of exclusive ownership by this invocation. ## Structs * [CgroupStats](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-cgroupstats): Native cgroup observations and counter deltas over an invocation. Values identify the adapter host's cgroup, without claiming container exclusivity. * [GaugeSummary](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-gaugesummary): A sampled gauge over the invocation window. Min/max cover retained valid samples. Mean holds the previous value only across adjacent valid samples no more than twice the requested cadence apart. Missing intervals never contribute zero. No sampled maximum claims a true process high-water mark. * [InvocationSystemStats](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-invocationsystemstats): System measurements around one invocation, collected inside the executing runner. Process-tree observations cover its adapter host and descendants, excluding the orchestrator and remote model/service processes. The separate cgroup observations may include other workloads in the same cgroup. * [SampleSummary](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-samplesummary): Resource series retention, reductions, and collection quality. Resource samples remain in the referenced JSONL artifact for interval selection. * [SystemStatsConfig](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-systemstatsconfig): 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. * [SystemStatsSamplingConfig](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-systemstatssamplingconfig): Bounded periodic collection within an enabled invocation stats configuration. ## Enums * [ResourceObservation](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/enum-resourceobservation): One attempt to observe the adapter host process tree. Missing readings are explicit; an unavailable observation never stands for zero resource usage. * [SystemStatsMetricGroup](/nemo/fabric/reference/api/rust-library-reference/nemo-fabric-core/system_stats/enum-systemstatsmetricgroup): Resource groups supported by the native invocation collector. > Invocation measurements collected by NeMo Fabric in the executing runtime. ## Docs - [Module cgroup](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/cgroup.md): Native, read-only cgroup v2 observations of the executing adapter host. A cgroup is a scope, not a claim of exclusive ownership by this invocation. - [Enum Cgroup Observation](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/cgroup/enum-cgroupobservation.md): A cgroup reading, or why the correctly targeted scope was unavailable. - [Struct Cgroup Snapshot](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/cgroup/struct-cgroupsnapshot.md): One observation of the cgroup containing the adapter host. Its counters include the cgroup's descendants and may include other workloads. Limits cover only visible ancestors; ancestors hidden by namespaces are unknown. - [Enum Measurement](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/cgroup/enum-measurement.md): A measured value or its availability. Unlimited is distinct from unknown and is used only for limits. No missing measurement is replaced with zero. - [Struct Cgroup Stats](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-cgroupstats.md): Native cgroup observations and counter deltas over an invocation. Values identify the adapter host's cgroup, without claiming container exclusivity. - [Struct Gauge Summary](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-gaugesummary.md): A sampled gauge over the invocation window. Min/max cover retained valid samples. Mean holds the previous value only across adjacent valid samples no more than twice the requested cadence apart. Missing intervals never contribute zero. No sampled maximum claims a true process high-water mark. - [Struct Invocation System Stats](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-invocationsystemstats.md): System measurements around one invocation, collected inside the executing runner. Process-tree observations cover its adapter host and descendants, excluding the orchestrator and remote model/service processes. The separate cgroup observations may include other workloads in the same cgroup. - [Struct Sample Summary](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-samplesummary.md): Resource series retention, reductions, and collection quality. Resource samples remain in the referenced JSONL artifact for interval selection. - [Struct System Stats Config](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-systemstatsconfig.md): 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. - [Struct System Stats Sampling Config](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/struct-systemstatssamplingconfig.md): Bounded periodic collection within an enabled invocation stats configuration. - [Enum Resource Observation](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/enum-resourceobservation.md): One attempt to observe the adapter host process tree. Missing readings are explicit; an unavailable observation never stands for zero resource usage. - [Enum System Stats Metric Group](https://docs.nvidia.com/nemo/fabric/latest/reference/api/rust-library-reference/nemo-fabric-core/system_stats/enum-systemstatsmetricgroup.md): Resource groups supported by the native invocation collector.