pub struct SampleView {Show 16 fields
pub at: Option<String>,
pub cost_cents: Option<i32>,
pub cpus: Option<i32>,
pub gpu_model: Option<String>,
pub gpu_util: Option<f64>,
pub gpus: Option<i32>,
pub host: Option<String>,
pub kind: Option<String>,
pub load1: Option<f64>,
pub load5: Option<f64>,
pub load15: Option<f64>,
pub mem_free: Option<i32>,
pub mem_used: Option<i32>,
pub memory: Option<i32>,
pub source: Option<String>,
pub unit: Option<String>,
}Fields§
§at: Option<String>At is when the reading was MEASURED, RFC 3339 in UTC — the x-axis a chart plots against. The series is returned oldest first, so it only increases.
cost_cents: Option<i32>CostCents is what this unit resold for over the hour the reading falls in, in whole US cents. 0 means UNPRICED, not free: the operator’s own machines — a linked run-target, a dialed-in BYO worker — are metered for utilization and never resold, so only a priced source ever fills it.
cpus: Option<i32>CPUs is logical cores. The static capability rides every row on purpose: a chart can size load against cores without joining a registry whose row may since have been rewritten or the unit deregistered.
gpu_model: Option<String>GPUModel names the representative accelerator ("GB10"); GPUs carries how many.
gpu_util: Option<f64>GPUUtil is aggregate accelerator utilization as a FRACTION of 1 — 0.42 is 42% busy. Anything a reporter sends outside 0..1 is clamped into it on write.
gpus: Option<i32>GPUs is how many accelerators the reading covers.
host: Option<String>Host is the hostname the unit reported at the time of the reading.
kind: Option<String>Kind is what the measured unit is: laptop, cloud, gpu, cluster, machine or worker.
load1: Option<f64>Load1 is the 1-minute load average — runnable processes, not a percentage.
load5: Option<f64>Load5 is the 5-minute load average, the same units as Load1.
load15: Option<f64>Load15 is the 15-minute load average, the same units as Load1.
mem_free: Option<i32>MemFree is host memory available, in BYTES, as reported rather than derived.
mem_used: Option<i32>MemUsed is host memory in use, in BYTES.
memory: Option<i32>Memory is total system RAM in BYTES at the time of the reading.
source: Option<String>Source is the plane that reported the reading: "agent", "byo" or "visor" — the same vocabulary the board’s rows carry, and what ?source= narrows on.
unit: Option<String>Unit is the source’s own id for the measured unit. With Source it is the key the chart groups by, and the key the board joins a unit’s latest reading on.
Implementations§
Source§impl SampleView
impl SampleView
pub fn new() -> SampleView
Trait Implementations§
Source§impl Clone for SampleView
impl Clone for SampleView
Source§fn clone(&self) -> SampleView
fn clone(&self) -> SampleView
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more