200
Pipeline statistics retrieved successfully | Schema — OPTIONAL |
|---|
checkpoint_activity — OPTIONALCurrent checkpoint activity state. | global_metrics objectGlobal controller metrics. bootstrap_in_progress booleanThe pipeline has been resumed from a checkpoint and is currently bootstrapping new and modified views. | buffered_input_bytes int64Total number of bytes currently buffered by all endpoints. | buffered_input_records int64Total number of records currently buffered by all endpoints. | commit_progress object — OPTIONALSummary of transaction commit progress. completed int64Number of operators that have been fully flushed. | in_progress int64Number of operators that are currently being flushed. | in_progress_processed_records int64Number of records processed by operators that are currently being flushed. | in_progress_total_records int64Total number of records that operators that are currently being flushed need to process. | remaining int64Number of operators that haven't started flushing. |
| concurrent_bootstrap_phase stringPossible values: [Inactive, ConcurrentBootstrapping, Synchronizing] Phase of a concurrent bootstrap. #[repr(u8)] + NoUninit so it can be stored in a lock-free Atomic.
| concurrent_bootstrap_progress object — OPTIONALSummary of transaction commit progress. completed int64Number of operators that have been fully flushed. | in_progress int64Number of operators that are currently being flushed. | in_progress_processed_records int64Number of records processed by operators that are currently being flushed. | in_progress_total_records int64Total number of records that operators that are currently being flushed need to process. | remaining int64Number of operators that haven't started flushing. |
| cpu_msecs int64CPU time used by the pipeline across all threads, in milliseconds. | disk_available_bytes int64 — OPTIONALBytes the pipeline can still write to its storage disk; absent when unknown. | disk_total_bytes int64 — OPTIONALCapacity of the pipeline's storage disk, in bytes; absent when unknown. | incarnation_uuid uuidUniquely identifies the pipeline process that started at start_time. | initial_start_time int64Time at which the pipeline process from which we resumed started, in seconds since the epoch. | memory_pressure stringPossible values: [low, moderate, high, critical] Memory pressure level. The current memory pressure level is computed as a function of the current process
resident set size (RSS) and the user-configured memory limit (max_rss). As the memory pressure level increases, the system will apply increasing backpressure to
push state cached in memory to storage.
Low: less than 85% of the user-configured memory limit has been allocated.
Moderate: between 85% and 90% of the user-configured memory limit has been allocated.
High: between 90% and 95% of the user-configured memory limit has been allocated.
Critical: more than 95% of the user-configured memory limit has been allocated.
| memory_pressure_epoch int64 | output_stall_msecs int64If 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. | pipeline_complete booleanTrue 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. | rss_bytes int64Resident set size of the pipeline process, in bytes. | runtime_elapsed_msecs int64Time elapsed while the pipeline is executing a step, multiplied by the number of threads, in milliseconds. | 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. | start_time int64Time at which the pipeline process started, in seconds since the epoch. | state stringPossible values: [Paused, Running, Terminated] | storage_bytes int64Current storage usage in bytes. | storage_mb_secs int64Storage usage integrated over time, in megabytes * seconds. | total_completed_records int64Total 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. | total_completed_steps int64Number 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. InterpretationThis 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. | total_initiated_steps int64Number of steps that have been initiated. InterpretationThis 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_input_bytes int64Total number of bytes received from all endpoints. | total_input_records int64Total number of records received from all endpoints. | total_processed_bytes int64Total bytes of input records processed by the DBSP engine. | total_processed_records int64Total number of input records processed by the DBSP engine. | transaction_id int64ID of the current transaction or 0 if no transaction is in progress. | transaction_initiators objectInformation about entities that initiated the current transaction. initiated_by_api string — OPTIONALPossible values: [Started, Committed] | initiated_by_connectors objectTransaction phases initiated by connectors, indexed by endpoint name. | transaction_id int64 — OPTIONALID assigned to the transaction (None if no transaction is in progress). |
| transaction_msecs int64 — OPTIONALElapsed time in milliseconds, according to transaction_status: | transaction_records int64 — OPTIONALNumber of records in this transaction, according to
transaction_status: | transaction_status stringPossible values: [NoTransaction, TransactionInProgress, CommitInProgress] Transaction status summarized as a single value. | uptime_msecs int64Time since the pipeline process started, including time that the
pipeline was running or paused. This is the elapsed time since start_time. |
| host_metrics object[] — OPTIONALResource usage of each host in a multihost pipeline, by ordinal. disk_available_bytes int64 — OPTIONALBytes the host can still write to its storage disk; absent when unknown. | disk_total_bytes int64 — OPTIONALCapacity of the host's storage disk, in bytes; absent when unknown. |
| inputs object[]Input endpoint configs and metrics. barrier booleanEndpoint is currently a barrier to checkpointing and suspend. | circuit_input_frontier object — OPTIONALA watermark that the circuit has taken in. The outputs computed from the input may not be complete yet: in a
transaction, they wait for the commit. ingested_at date-timeTimestamp when the data was ingested from the wire. | metadata objectMetadata that describes the position in the input stream (e.g., Kafka partition/offset pairs). | processed_at date-timeTimestamp when the circuit finished the step that took the data in. |
| completed_frontier object — OPTIONALA watermark that has been fully processed by the pipeline. completed_at date-timeTimestamp when all outputs produced from this input have been pushed to all output endpoints. | ingested_at date-timeTimestamp when the data was ingested from the wire. | metadata objectMetadata that describes the position in the input stream (e.g., Kafka partition/offset pairs). | processed_at date-timeTimestamp when the data was processed by the circuit. |
| config objectSchema definition for endpoint config that only includes the stream field. | endpoint_name string | fatal_error string — OPTIONALThe first fatal error that occurred at the endpoint. | health object — OPTIONALdescription string — OPTIONAL | status stringPossible values: [Healthy, Unhealthy] |
| metrics objectPerformance metrics for an input endpoint. buffered_bytes int64Number of bytes currently buffered by the endpoint (not yet consumed by the circuit). | buffered_records int64Number of records currently buffered by the endpoint (not yet consumed by the circuit). | end_of_input booleanTrue if end-of-input has been signaled. | latest_batch_bytes int64 — OPTIONALNumber of bytes in the most recent non-empty batch that the endpoint
gave to the circuit. For a connector that runs on more than one host, this is the sum of
each host's latest non-empty batch. These batches can come from
different steps, for example when a host has been idle. | latest_batch_records int64 — OPTIONALNumber of records in the most recent non-empty batch that the endpoint
gave to the circuit. For a connector that runs on more than one host, this is the sum of
each host's latest non-empty batch. These batches can come from
different steps, for example when a host has been idle. | num_parse_errors int64 | num_transport_errors int64Number of transport errors. | processing_latency_p99_micros int64 — OPTIONAL99th percentile processing latency (from ingesting a batch to finishing processing it) in microseconds. The time from ingesting a batch of records off the wire
to the circuit finishing processing them,
covering parsing, queuing, and the circuit step. Does not account for completion latency. Taken over the endpoint's sliding histogram, which holds the 10,000 most
recent samples spanning at most 10 minutes, whichever bound is reached
first. One sample is recorded per completed batch. An endpoint that stops
ingesting keeps reporting its last known latency instead of dropping to
None. None until the endpoint records its first sample.
| total_bytes int64Total bytes pushed to the endpoint since it was created. | total_records int64Total records pushed to the endpoint since it was created. |
| parse_errors object[] — OPTIONALRecent parse errors on this endpoint. index int64Sequence number of the error. The client can use this field to detect gaps in the error list reported
by the pipeline. When the connector reports a large number of errors, the
pipeline will only preserve and report the most recent errors of each kind. | message string | tag string — OPTIONALOptional tag for the error. The tag is used to group errors by their type. | timestamp date-timeTimestamp when the error occurred, serialized as RFC3339 with microseconds. |
| paused booleanEndpoint has been paused by the user. A distributed connector in a
multihost pipeline is paused only if it is paused on every host. | transport_errors object[] — OPTIONALRecent transport errors on this endpoint. index int64Sequence number of the error. The client can use this field to detect gaps in the error list reported
by the pipeline. When the connector reports a large number of errors, the
pipeline will only preserve and report the most recent errors of each kind. | message string | tag string — OPTIONALOptional tag for the error. The tag is used to group errors by their type. | timestamp date-timeTimestamp when the error occurred, serialized as RFC3339 with microseconds. |
|
| outputs object[]Output endpoint configs and metrics. config objectSchema definition for endpoint config that only includes the stream field. | encode_errors object[] — OPTIONALRecent encoding errors on this endpoint. index int64Sequence number of the error. The client can use this field to detect gaps in the error list reported
by the pipeline. When the connector reports a large number of errors, the
pipeline will only preserve and report the most recent errors of each kind. | message string | tag string — OPTIONALOptional tag for the error. The tag is used to group errors by their type. | timestamp date-timeTimestamp when the error occurred, serialized as RFC3339 with microseconds. |
| endpoint_name string | fatal_error string — OPTIONALThe first fatal error that occurred at the endpoint. | health object — OPTIONALdescription string — OPTIONAL | status stringPossible values: [Healthy, Unhealthy] |
| metrics objectPerformance metrics for an output endpoint. batch_records_written int64 — OPTIONALNumber of records written so far while the connector is processing a
batch of updates. Resets to 0 after the batch is committed. None when the connector does not support batch-progress reporting.
| buffered_batches int64Number of batches in the buffer. | buffered_records int64Number of records pushed to the output buffer. | memory int64Extra memory in use beyond that used for queuing records. | num_encode_errors int64Number of encoding errors. | num_transport_errors int64Number of transport errors. | queued_batches int64Number of queued batches. | queued_records int64Number of queued records. | total_processed_input_records int64The number of input records processed by the circuit. This metric tracks the end-to-end progress of the pipeline: the output
of this endpoint is equal to the output of the circuit after
processing total_processed_input_records records. The counter never runs ahead of the endpoint's output. It advances to a
value N only once the endpoint has processed every batch derived from
the first N records received by the pipeline, which means transmitting
the batch, or discarding it while silent bootstrapping suppresses the
endpoint's output. In a multihost pipeline, N counts the input records that all of the
hosts received, not only the endpoint's own host. (Each host counts
only its own input, and the coordinator adds up the hosts' counts as of
total_processed_steps.) If a host runs an older version that does
not report its count to the coordinator, N counts only the input
records that the endpoint's own host received. | total_processed_steps int64The number of steps whose input records have been processed by the
endpoint. In a multihost pipeline, all of the hosts run the same steps together,
so a step number refers to the same step on every host. InterpretationThis is a count, not a step number. If total_processed_steps is 0, no
steps have been processed to completion. If total_processed_steps > 0, then the last step whose input records have been processed to
completion is total_processed_steps - 1. A record that was ingested in
step n is fully processed when total_processed_steps > n. | transmitted_bytes int64Bytes sent on the underlying transport. | transmitted_records int64Records sent on the underlying transport. |
| paused boolean — OPTIONALEndpoint has been paused by the user. A paused output endpoint discards the output it receives instead of
sending it to its sink. | transport_errors object[] — OPTIONALRecent transport errors on this endpoint. index int64Sequence number of the error. The client can use this field to detect gaps in the error list reported
by the pipeline. When the connector reports a large number of errors, the
pipeline will only preserve and report the most recent errors of each kind. | message string | tag string — OPTIONALOptional tag for the error. The tag is used to group errors by their type. | timestamp date-timeTimestamp when the error occurred, serialized as RFC3339 with microseconds. |
|
| permanent_checkpoint_errors undefined[] — OPTIONALIf 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. | suspend_error — OPTIONALWhether a pipeline supports checkpointing and suspend-and-resume. |
|