#[non_exhaustive]pub struct RuntimeTelemetryEvent { /* private fields */ }Expand description
Structured runtime level telemetry event.
These events describe lifecycle transitions, connectivity changes, and coarse grained data quality issues at the graph level.
Implementations§
Source§impl RuntimeTelemetryEvent
impl RuntimeTelemetryEvent
Sourcepub const fn new(
graph_id: GraphInstanceId,
timestamp_ns: u64,
event_kind: RuntimeTelemetryEventKind,
message: Option<EventMessage>,
) -> Self
pub const fn new( graph_id: GraphInstanceId, timestamp_ns: u64, event_kind: RuntimeTelemetryEventKind, message: Option<EventMessage>, ) -> Self
Creates a new runtime telemetry event record.
Sourcepub const fn graph_id(&self) -> &GraphInstanceId
pub const fn graph_id(&self) -> &GraphInstanceId
Returns the identifier of the graph instance this event refers to.
Sourcepub const fn timestamp_ns(&self) -> &u64
pub const fn timestamp_ns(&self) -> &u64
Returns the event timestamp in nanoseconds since an arbitrary epoch.
Sourcepub const fn event_kind(&self) -> &RuntimeTelemetryEventKind
pub const fn event_kind(&self) -> &RuntimeTelemetryEventKind
Returns the kind of runtime event that occurred.
Sourcepub const fn message(&self) -> &Option<EventMessage>
pub const fn message(&self) -> &Option<EventMessage>
Returns the optional static message associated with this event.
Trait Implementations§
Source§impl Clone for RuntimeTelemetryEvent
impl Clone for RuntimeTelemetryEvent
Source§fn clone(&self) -> RuntimeTelemetryEvent
fn clone(&self) -> RuntimeTelemetryEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuntimeTelemetryEvent
impl Debug for RuntimeTelemetryEvent
impl Copy for RuntimeTelemetryEvent
Auto Trait Implementations§
impl Freeze for RuntimeTelemetryEvent
impl RefUnwindSafe for RuntimeTelemetryEvent
impl Send for RuntimeTelemetryEvent
impl Sync for RuntimeTelemetryEvent
impl Unpin for RuntimeTelemetryEvent
impl UnsafeUnpin for RuntimeTelemetryEvent
impl UnwindSafe for RuntimeTelemetryEvent
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