pub struct ExternalGlobalControllerMetrics {Show 24 fields
pub state: PipelineState,
pub bootstrap_in_progress: bool,
pub transaction_status: TransactionStatus,
pub transaction_id: TransactionId,
pub transaction_initiators: ExternalTransactionInitiators,
pub rss_bytes: u64,
pub cpu_msecs: u64,
pub uptime_msecs: u64,
pub start_time: DateTime<Utc>,
pub incarnation_uuid: Uuid,
pub initial_start_time: DateTime<Utc>,
pub storage_bytes: u64,
pub storage_mb_secs: u64,
pub runtime_elapsed_msecs: u64,
pub buffered_input_records: u64,
pub buffered_input_bytes: u64,
pub total_input_records: u64,
pub total_input_bytes: u64,
pub total_processed_records: u64,
pub total_processed_bytes: u64,
pub total_completed_records: u64,
pub total_initiated_steps: Step,
pub total_completed_steps: Step,
pub pipeline_complete: bool,
}Expand description
Global controller metrics.
Fields§
§state: PipelineStateState of the pipeline: running, paused, or terminating.
bootstrap_in_progress: boolThe pipeline has been resumed from a checkpoint and is currently bootstrapping new and modified views.
transaction_status: TransactionStatusStatus of the current transaction.
transaction_id: TransactionIdID of the current transaction or 0 if no transaction is in progress.
transaction_initiators: ExternalTransactionInitiatorsEntities that initiated the current transaction.
rss_bytes: u64Resident set size of the pipeline process, in bytes.
cpu_msecs: u64CPU time used by the pipeline across all threads, in milliseconds.
uptime_msecs: u64Time since the pipeline process started, including time that the pipeline was running or paused.
This is the elapsed time since start_time.
start_time: DateTime<Utc>Time at which the pipeline process started, in seconds since the epoch.
incarnation_uuid: UuidUniquely identifies the pipeline process that started at start_time.
initial_start_time: DateTime<Utc>Time at which the pipeline process from which we resumed started, in seconds since the epoch.
storage_bytes: u64Current storage usage in bytes.
storage_mb_secs: u64Storage usage integrated over time, in megabytes * seconds.
runtime_elapsed_msecs: u64Time elapsed while the pipeline is executing a step, multiplied by the number of threads, in milliseconds.
buffered_input_records: u64Total number of records currently buffered by all endpoints.
buffered_input_bytes: u64Total number of bytes currently buffered by all endpoints.
total_input_records: u64Total number of records received from all endpoints.
total_input_bytes: u64Total number of bytes received from all endpoints.
total_processed_records: u64Total number of input records processed by the DBSP engine.
total_processed_bytes: u64Total bytes of input records processed by the DBSP engine.
total_completed_records: u64Total number of input records processed to completion.
total_initiated_steps: StepNumber of steps that have been initiated.
§Interpretation
This is a count, not a step number. If total_initiated_steps is 0, no
steps have been initiated. If total_initiated_steps > 0, then step
total_initiated_steps - 1 has been started and all steps previous to
that have been completely processed by the circuit.
total_completed_steps: StepNumber of steps whose input records have been processed to completion.
A record is processed to completion if it has been processed by the DBSP engine and all outputs derived from it have been processed by all output connectors.
§Interpretation
This is a count, not a step number. If total_completed_steps is 0, no
steps have been processed to completion. If total_completed_steps > 0, then the last step whose input records have been processed to
completion is total_completed_steps - 1. A record that was ingested
when total_initiated_steps was n is fully processed when
total_completed_steps >= n.
pipeline_complete: boolTrue if the pipeline has processed all input data to completion.