pub struct TelemetryFrame {
pub v: u8,
pub ts_us: i64,
pub metric: String,
pub value: f64,
pub tags: Fields,
}Expand description
One telemetry sample: a single dotted metric key with a numeric value and an open tags map. Replaces the per-field history arrays sampled in the GCS.
Fields§
§v: u8Wire version.
ts_us: i64Microsecond epoch timestamp.
metric: StringDotted metric key (e.g. cpu.load, link.rssi_dbm).
value: f64The numeric value.
Open tag map (dimensions such as iface, core index, zone).
Implementations§
Trait Implementations§
Source§impl Clone for TelemetryFrame
impl Clone for TelemetryFrame
Source§impl Debug for TelemetryFrame
impl Debug for TelemetryFrame
Source§impl<'de> Deserialize<'de> for TelemetryFrame
impl<'de> Deserialize<'de> for TelemetryFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TelemetryFrame
impl PartialEq for TelemetryFrame
Source§impl Serialize for TelemetryFrame
impl Serialize for TelemetryFrame
impl StructuralPartialEq for TelemetryFrame
Auto Trait Implementations§
impl Freeze for TelemetryFrame
impl RefUnwindSafe for TelemetryFrame
impl Send for TelemetryFrame
impl Sync for TelemetryFrame
impl Unpin for TelemetryFrame
impl UnsafeUnpin for TelemetryFrame
impl UnwindSafe for TelemetryFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more