pub enum DiagnosticEvent {
Show 16 variants
AppStarted {
plugin_count: usize,
},
AppReady,
LifecycleStarted {
instance: String,
generation: u64,
phase: PluginLifecyclePhase,
},
LifecycleCompleted {
instance: String,
generation: u64,
phase: PluginLifecyclePhase,
outcome: DiagnosticOutcome,
elapsed: Duration,
},
InvocationStarted {
requirement_id: Option<String>,
request_id: u64,
caller_instance: Option<String>,
provider_instance: Option<String>,
capability: &'static str,
operation: Option<&'static str>,
},
InvocationCompleted {
requirement_id: Option<String>,
request_id: u64,
caller_instance: Option<String>,
provider_instance: Option<String>,
capability: &'static str,
operation: Option<&'static str>,
outcome: DiagnosticOutcome,
elapsed: Duration,
},
AdmissionRejected {
requirement_id: Option<String>,
request_id: u64,
caller_instance: Option<String>,
provider_instance: Option<String>,
capability: &'static str,
operation: Option<&'static str>,
outcome: DiagnosticAdmission,
},
EventAdmission {
requirement_id: Option<String>,
request_id: u64,
publisher_instance: String,
subscriber_instance: String,
capability: &'static str,
operation: Option<&'static str>,
outcome: DiagnosticAdmission,
},
GenerationUnavailable {
instance: String,
generation: u64,
},
GenerationReady {
instance: String,
generation: u64,
},
RestartScheduled {
instance: String,
attempt: usize,
delay: Duration,
},
RestartExhausted {
instance: String,
attempts: usize,
terminal: bool,
},
RuntimeFailure {
instance: Option<String>,
kind: RuntimeFailureKind,
},
ShutdownAdmissionClosed,
ShutdownCleanupStarted {
timeout: Duration,
},
ShutdownCompleted {
outcome: DiagnosticShutdownOutcome,
elapsed: Duration,
},
}Expand description
Structural, lossy metadata emitted by the Kernel.
This enum intentionally has no payload, configuration, secret, opaque
extension, ActorAssertion, or Domain Error fields. Delivery of these
records is not itself observed, so exporting a record cannot recurse into
the diagnostic feed. Caller identities are present only when they resolve
to a Plugin Instance in the immutable App Plan.
Variants§
AppStarted
The Kernel created a running App runtime.
AppReady
Every selected Plugin generation has activated and App admission opened.
LifecycleStarted
A Plugin lifecycle phase began.
LifecycleCompleted
A Plugin lifecycle phase completed with a sanitized outcome and duration.
InvocationStarted
A typed request or stream operation began.
Fields
InvocationCompleted
A typed request or stream operation completed.
Fields
outcome: DiagnosticOutcomeAdmissionRejected
Bounded request admission rejected an operation.
Fields
outcome: DiagnosticAdmissionEventAdmission
One Event subscriber received an independent admission outcome.
Fields
outcome: DiagnosticAdmissionA provider generation became unavailable.
GenerationReady
A replacement provider generation became ready.
RestartScheduled
Supervision scheduled one bounded restart attempt.
RestartExhausted
Supervision exhausted its finite restart budget.
RuntimeFailure
A Runtime Failure category was observed without its detail or payload.
ShutdownAdmissionClosed
App admission closed and cooperative cancellation began.
ShutdownCleanupStarted
App cleanup began with one global timeout.
ShutdownCompleted
App cleanup completed with a sanitized outcome and duration.
Trait Implementations§
Source§impl Clone for DiagnosticEvent
impl Clone for DiagnosticEvent
Source§impl Debug for DiagnosticEvent
impl Debug for DiagnosticEvent
impl Eq for DiagnosticEvent
Source§impl PartialEq for DiagnosticEvent
impl PartialEq for DiagnosticEvent
impl StructuralPartialEq for DiagnosticEvent
Auto Trait Implementations§
impl Freeze for DiagnosticEvent
impl RefUnwindSafe for DiagnosticEvent
impl Send for DiagnosticEvent
impl Sync for DiagnosticEvent
impl Unpin for DiagnosticEvent
impl UnsafeUnpin for DiagnosticEvent
impl UnwindSafe for DiagnosticEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.