pub struct ExternalGlobalControllerMetrics {Show 36 fields
pub state: PipelineState,
pub bootstrap_in_progress: bool,
pub transaction_status: TransactionStatus,
pub transaction_id: TransactionId,
pub transaction_msecs: Option<u64>,
pub transaction_records: Option<u64>,
pub commit_progress: Option<CommitProgressSummary>,
pub transaction_initiators: ExternalTransactionInitiators,
pub concurrent_bootstrap_phase: ConcurrentBootstrapPhase,
pub concurrent_bootstrap_progress: Option<CommitProgressSummary>,
pub rss_bytes: u64,
pub memory_pressure: MemoryPressure,
pub memory_pressure_epoch: 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 disk_total_bytes: Option<u64>,
pub disk_available_bytes: Option<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 output_stall_msecs: u64,
pub total_initiated_steps: Step,
pub total_completed_steps: Step,
pub pipeline_complete: bool,
pub platform_version: String,
pub runtime_version: String,
}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_msecs: Option<u64>Elapsed time in milliseconds, according to transaction_status:
-
TransactionStatus::TransactionInProgress: Time that this transaction has been in progress.
-
TransactionStatus::CommitInProgress: Time that this transaction has been committing.
transaction_records: Option<u64>Number of records in this transaction, according to
transaction_status:
-
TransactionStatus::TransactionInProgress: Number of records added so far. More records might be added.
-
TransactionStatus::CommitInProgress: Final number of records.
commit_progress: Option<CommitProgressSummary>Progress of the current transaction commit, if one is in progress.
transaction_initiators: ExternalTransactionInitiatorsEntities that initiated the current transaction.
concurrent_bootstrap_phase: ConcurrentBootstrapPhasePhase of a concurrent bootstrap, or Inactive if none is in progress.
concurrent_bootstrap_progress: Option<CommitProgressSummary>Progress of the concurrent bootstrap’s transaction commit, if a commit is
in progress: the backfill transaction during ConcurrentBootstrapping and
the synchronization transaction during Synchronizing.
rss_bytes: u64Resident set size of the pipeline process, in bytes.
memory_pressure: MemoryPressureMemory pressure.
memory_pressure_epoch: u64Memory pressure epoch.
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.
disk_total_bytes: Option<u64>Capacity of the pipeline’s storage disk, in bytes; absent when unknown.
disk_available_bytes: Option<u64>Bytes the pipeline can still write to its storage disk; absent when unknown.
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.
In a multihost pipeline, this counts the input records that all of the hosts received. If a host runs an older version that does not report its count to the coordinator, this is instead the sum of the counts that each host reports for its own input, which can include input whose output an output connector on a different host has not yet processed.
output_stall_msecs: u64If the pipeline is stalled because one or more output connectors’ output buffers are full, this is the number of milliseconds that the current stall has lasted.
If this is nonzero, then the output connectors causing the stall can be
identified by noticing ExternalOutputEndpointMetrics::queued_records
is greater than or equal to ConnectorConfig::max_queued_records.
In the ordinary case, the pipeline is not stalled, and this value is 0.
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.
platform_version: StringVersion of the platform that compiled the pipeline, such as
0.349.0+enterprise.
This is the platform’s own version, which the compiler records in the binary.
runtime_version: StringRuntime the pipeline was compiled against.
Equal to platform_version when the program uses the platform’s own
runtime; otherwise the selected runtime, a git SHA, a vX.Y.Z tag,
or gen2.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExternalGlobalControllerMetrics
impl<'de> Deserialize<'de> for ExternalGlobalControllerMetrics
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 From<&ExternalGlobalControllerMetrics> for HostMetrics
impl From<&ExternalGlobalControllerMetrics> for HostMetrics
Source§fn from(metrics: &ExternalGlobalControllerMetrics) -> Self
fn from(metrics: &ExternalGlobalControllerMetrics) -> Self
Auto Trait Implementations§
impl Forget for ExternalGlobalControllerMetrics
impl Freeze for ExternalGlobalControllerMetrics
impl RefUnwindSafe for ExternalGlobalControllerMetrics
impl Send for ExternalGlobalControllerMetrics
impl Sync for ExternalGlobalControllerMetrics
impl Unpin for ExternalGlobalControllerMetrics
impl UnsafeUnpin for ExternalGlobalControllerMetrics
impl UnwindSafe for ExternalGlobalControllerMetrics
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