pub struct TelemetrySnapshotEvent {
pub session_id: String,
pub route: RuntimeEnvContext,
pub snapshot: Snapshot,
}Expand description
A live telemetry snapshot tagged with the route/session it belongs to.
The managed runner shares one RuntimeHooks across concurrent routes, so —
like every other event — the snapshot carries identity inline. Identity
lives on the event, not on the Snapshot itself, which stays a pure metrics
payload (it is also the durable RuntimeReport.telemetry). Use
snapshot.horizon to tell a window tick from the cumulative session.
Fields§
§session_id: String§route: RuntimeEnvContext§snapshot: SnapshotTrait Implementations§
Source§impl Clone for TelemetrySnapshotEvent
impl Clone for TelemetrySnapshotEvent
Source§fn clone(&self) -> TelemetrySnapshotEvent
fn clone(&self) -> TelemetrySnapshotEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TelemetrySnapshotEvent
impl Debug for TelemetrySnapshotEvent
Source§impl PartialEq for TelemetrySnapshotEvent
impl PartialEq for TelemetrySnapshotEvent
Source§fn eq(&self, other: &TelemetrySnapshotEvent) -> bool
fn eq(&self, other: &TelemetrySnapshotEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TelemetrySnapshotEvent
Auto Trait Implementations§
impl Freeze for TelemetrySnapshotEvent
impl RefUnwindSafe for TelemetrySnapshotEvent
impl Send for TelemetrySnapshotEvent
impl Sync for TelemetrySnapshotEvent
impl Unpin for TelemetrySnapshotEvent
impl UnsafeUnpin for TelemetrySnapshotEvent
impl UnwindSafe for TelemetrySnapshotEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request