pub struct ExternalControllerStatus {
pub global_metrics: ExternalGlobalControllerMetrics,
pub suspend_error: Option<SuspendError>,
pub checkpoint_activity: Option<CheckpointActivity>,
pub permanent_checkpoint_errors: Option<Vec<PermanentSuspendError>>,
pub inputs: Vec<ExternalInputEndpointStatus>,
pub outputs: Vec<ExternalOutputEndpointStatus>,
pub host_metrics: Vec<HostMetrics>,
}Expand description
Complete pipeline statistics returned by the /stats endpoint.
This schema definition matches the serialized JSON structure from
adapters::controller::ControllerStatus. The actual implementation with
atomics and mutexes lives in the adapters crate, which uses ExternalControllerStatus to
register this OpenAPI schema, making it available to pipeline-manager
without requiring a direct dependency on the adapters crate.
Fields§
§global_metrics: ExternalGlobalControllerMetricsGlobal controller metrics.
suspend_error: Option<SuspendError>Reason why the pipeline cannot be suspended or checkpointed (if any).
checkpoint_activity: Option<CheckpointActivity>Current checkpoint activity (idle, delayed, or in-progress).
None when the pipeline binary predates checkpoint activity tracking.
permanent_checkpoint_errors: Option<Vec<PermanentSuspendError>>If the pipeline fundamentally cannot checkpoint (e.g. storage is not configured, or an input endpoint does not support suspend), the reasons are listed here. Unlike a checkpoint failure, this means no checkpoint can succeed until the pipeline configuration changes.
inputs: Vec<ExternalInputEndpointStatus>Input endpoint configs and metrics.
outputs: Vec<ExternalOutputEndpointStatus>Output endpoint configs and metrics.
host_metrics: Vec<HostMetrics>Resource usage of each host in a multihost pipeline, by ordinal.
Trait Implementations§
Source§impl Debug for ExternalControllerStatus
impl Debug for ExternalControllerStatus
Source§impl Default for ExternalControllerStatus
impl Default for ExternalControllerStatus
Source§impl<'de> Deserialize<'de> for ExternalControllerStatus
impl<'de> Deserialize<'de> for ExternalControllerStatus
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>,
Source§impl Serialize for ExternalControllerStatus
impl Serialize for ExternalControllerStatus
Auto Trait Implementations§
impl Forget for ExternalControllerStatus
impl Freeze for ExternalControllerStatus
impl Move for ExternalControllerStatus
impl RefUnwindSafe for ExternalControllerStatus
impl Send for ExternalControllerStatus
impl Sync for ExternalControllerStatus
impl Unpin for ExternalControllerStatus
impl UnsafeUnpin for ExternalControllerStatus
impl UnwindSafe for ExternalControllerStatus
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more