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§impl Debug for TelemetrySnapshotEvent
impl Debug for TelemetrySnapshotEvent
Source§impl PartialEq for TelemetrySnapshotEvent
impl PartialEq for TelemetrySnapshotEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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