pub enum RuntimeMonitorEvent {
InvocationStarted {
trace_id: String,
invocation_id: String,
project_id: String,
endpoint: String,
agent_id: String,
provider_id: String,
capability: String,
started_at_ms: u64,
},
ProviderStage {
trace_id: String,
invocation_id: String,
stage: ProviderStage,
status: RuntimeMonitorStageStatus,
elapsed_ms: Option<u64>,
request_elapsed_ms: u64,
error: Option<String>,
},
InvocationFinished {
trace_id: String,
invocation_id: String,
status: RuntimeMonitorStatus,
duration_ms: u64,
ended_at_ms: u64,
error: Option<String>,
},
}Expand description
Payload-safe lifecycle metadata for one embedded runtime invocation.
Prompt content and streamed output are intentionally excluded. Hosts may forward these events to a remote monitor without exposing model input or output data.
Variants§
InvocationStarted
Fields
ProviderStage
InvocationFinished
Trait Implementations§
Source§impl Clone for RuntimeMonitorEvent
impl Clone for RuntimeMonitorEvent
Source§fn clone(&self) -> RuntimeMonitorEvent
fn clone(&self) -> RuntimeMonitorEvent
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 RuntimeMonitorEvent
impl Debug for RuntimeMonitorEvent
Source§impl<'de> Deserialize<'de> for RuntimeMonitorEvent
impl<'de> Deserialize<'de> for RuntimeMonitorEvent
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
impl Eq for RuntimeMonitorEvent
Source§impl PartialEq for RuntimeMonitorEvent
impl PartialEq for RuntimeMonitorEvent
Source§impl Serialize for RuntimeMonitorEvent
impl Serialize for RuntimeMonitorEvent
impl StructuralPartialEq for RuntimeMonitorEvent
Auto Trait Implementations§
impl Freeze for RuntimeMonitorEvent
impl RefUnwindSafe for RuntimeMonitorEvent
impl Send for RuntimeMonitorEvent
impl Sync for RuntimeMonitorEvent
impl Unpin for RuntimeMonitorEvent
impl UnsafeUnpin for RuntimeMonitorEvent
impl UnwindSafe for RuntimeMonitorEvent
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,
impl<T> ConditionalSend for Twhere
T: Send,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> IntoResult<T> for T
impl<T> IntoResult<T> for T
Source§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.