pub struct ProbeReading {
pub probe_source: String,
pub inputs: Value,
pub output: Value,
pub host_received_at: Option<DateTime<Utc>>,
}Expand description
One reading produced by a HostProbe::read call.
The mandatory triple per D12: which probe, what concrete inputs it read,
and the structured output extracted. host_received_at is stamped by
emit_reading at dispatch time, not by the probe itself, so the
ordering between “probe ran” and “reading hit the sink” stays observable.
Fields§
§probe_source: StringStable identifier for the probe (e.g. "host.fc_metrics",
"host.cgroup", "host.nftables", "host.tap_link"). Matches
the CloudEvents type suffix after the canonical prefix is stripped.
inputs: ValueConcrete inputs the probe consumed (file path, endpoint, etc.).
Audit-replayable: re-reading the same inputs should reproduce
the reading on a quiescent system.
output: ValueStructured output extracted from the inputs. Free-form per probe.
host_received_at: Option<DateTime<Utc>>Wallclock the supervisor stamped at dispatch (not at probe-fire).
None until emit_reading runs; Some(_) on every event the
sink receives.
Implementations§
Source§impl ProbeReading
impl ProbeReading
Trait Implementations§
Source§impl Clone for ProbeReading
impl Clone for ProbeReading
Source§fn clone(&self) -> ProbeReading
fn clone(&self) -> ProbeReading
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more