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>,
}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.