Skip to main content

GlobalControllerMetrics

Struct GlobalControllerMetrics 

Source
pub struct GlobalControllerMetrics {
Show 24 fields pub bootstrap_in_progress: bool, pub buffered_input_bytes: i64, pub buffered_input_records: i64, pub cpu_msecs: i64, pub incarnation_uuid: Uuid, pub initial_start_time: i64, pub pipeline_complete: bool, pub rss_bytes: i64, pub runtime_elapsed_msecs: i64, pub start_time: i64, pub state: PipelineState, pub storage_bytes: i64, pub storage_mb_secs: i64, pub total_completed_records: i64, pub total_completed_steps: i64, pub total_initiated_steps: i64, pub total_input_bytes: i64, pub total_input_records: i64, pub total_processed_bytes: i64, pub total_processed_records: i64, pub transaction_id: i64, pub transaction_initiators: TransactionInitiators, pub transaction_status: TransactionStatus, pub uptime_msecs: i64,
}
Expand description

Global controller metrics.

JSON schema
{
 "description": "Global controller metrics.",
 "type": "object",
 "required": [
   "bootstrap_in_progress",
   "buffered_input_bytes",
   "buffered_input_records",
   "cpu_msecs",
   "incarnation_uuid",
   "initial_start_time",
   "pipeline_complete",
   "rss_bytes",
   "runtime_elapsed_msecs",
   "start_time",
   "state",
   "storage_bytes",
   "storage_mb_secs",
   "total_completed_records",
   "total_completed_steps",
   "total_initiated_steps",
   "total_input_bytes",
   "total_input_records",
   "total_processed_bytes",
   "total_processed_records",
   "transaction_id",
   "transaction_initiators",
   "transaction_status",
   "uptime_msecs"
 ],
 "properties": {
   "bootstrap_in_progress": {
     "description": "The pipeline has been resumed from a checkpoint and is currently bootstrapping new and modified views.",
     "type": "boolean"
   },
   "buffered_input_bytes": {
     "description": "Total number of bytes currently buffered by all endpoints.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "buffered_input_records": {
     "description": "Total number of records currently buffered by all endpoints.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "cpu_msecs": {
     "description": "CPU time used by the pipeline across all threads, in milliseconds.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "incarnation_uuid": {
     "description": "Uniquely identifies the pipeline process that started at start_time.",
     "type": "string",
     "format": "uuid"
   },
   "initial_start_time": {
     "description": "Time at which the pipeline process from which we resumed started, in seconds since the epoch.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "pipeline_complete": {
     "description": "True if the pipeline has processed all input data to completion.",
     "type": "boolean"
   },
   "rss_bytes": {
     "description": "Resident set size of the pipeline process, in bytes.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "runtime_elapsed_msecs": {
     "description": "Time elapsed while the pipeline is executing a step, multiplied by the number of threads, in milliseconds.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "start_time": {
     "description": "Time at which the pipeline process started, in seconds since the epoch.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "state": {
     "$ref": "#/components/schemas/PipelineState"
   },
   "storage_bytes": {
     "description": "Current storage usage in bytes.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "storage_mb_secs": {
     "description": "Storage usage integrated over time, in megabytes * seconds.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "total_completed_records": {
     "description": "Total number of input records processed to completion.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "total_completed_steps": {
     "description": "Number of steps whose input records have been processed to completion.\n\nA record is processed to completion if it has been processed by the DBSP engine and\nall outputs derived from it have been processed by all output connectors.\n\n# Interpretation\n\nThis is a count, not a step number.  If `total_completed_steps` is 0, no\nsteps have been processed to completion.  If `total_completed_steps >\n0`, then the last step whose input records have been processed to\ncompletion is `total_completed_steps - 1`. A record that was ingested\nwhen `total_initiated_steps` was `n` is fully processed when\n`total_completed_steps >= n`.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "total_initiated_steps": {
     "description": "Number of steps that have been initiated.\n\n# Interpretation\n\nThis is a count, not a step number.  If `total_initiated_steps` is 0, no\nsteps have been initiated.  If `total_initiated_steps > 0`, then step\n`total_initiated_steps - 1` has been started and all steps previous to\nthat have been completely processed by the circuit.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "total_input_bytes": {
     "description": "Total number of bytes received from all endpoints.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "total_input_records": {
     "description": "Total number of records received from all endpoints.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "total_processed_bytes": {
     "description": "Total bytes of input records processed by the DBSP engine.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "total_processed_records": {
     "description": "Total number of input records processed by the DBSP engine.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   },
   "transaction_id": {
     "description": "ID of the current transaction or 0 if no transaction is in progress.",
     "type": "integer",
     "format": "int64"
   },
   "transaction_initiators": {
     "$ref": "#/components/schemas/TransactionInitiators"
   },
   "transaction_status": {
     "$ref": "#/components/schemas/TransactionStatus"
   },
   "uptime_msecs": {
     "description": "Time since the pipeline process started, including time that the\npipeline was running or paused.\n\nThis is the elapsed time since `start_time`.",
     "type": "integer",
     "format": "int64",
     "minimum": 0.0
   }
 }
}

Fields§

§bootstrap_in_progress: bool

The pipeline has been resumed from a checkpoint and is currently bootstrapping new and modified views.

§buffered_input_bytes: i64

Total number of bytes currently buffered by all endpoints.

§buffered_input_records: i64

Total number of records currently buffered by all endpoints.

§cpu_msecs: i64

CPU time used by the pipeline across all threads, in milliseconds.

§incarnation_uuid: Uuid

Uniquely identifies the pipeline process that started at start_time.

§initial_start_time: i64

Time at which the pipeline process from which we resumed started, in seconds since the epoch.

§pipeline_complete: bool

True if the pipeline has processed all input data to completion.

§rss_bytes: i64

Resident set size of the pipeline process, in bytes.

§runtime_elapsed_msecs: i64

Time elapsed while the pipeline is executing a step, multiplied by the number of threads, in milliseconds.

§start_time: i64

Time at which the pipeline process started, in seconds since the epoch.

§state: PipelineState§storage_bytes: i64

Current storage usage in bytes.

§storage_mb_secs: i64

Storage usage integrated over time, in megabytes * seconds.

§total_completed_records: i64

Total number of input records processed to completion.

§total_completed_steps: i64

Number 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.

§total_initiated_steps: i64

Number 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_input_bytes: i64

Total number of bytes received from all endpoints.

§total_input_records: i64

Total number of records received from all endpoints.

§total_processed_bytes: i64

Total bytes of input records processed by the DBSP engine.

§total_processed_records: i64

Total number of input records processed by the DBSP engine.

§transaction_id: i64

ID of the current transaction or 0 if no transaction is in progress.

§transaction_initiators: TransactionInitiators§transaction_status: TransactionStatus§uptime_msecs: i64

Time since the pipeline process started, including time that the pipeline was running or paused.

This is the elapsed time since start_time.

Implementations§

Trait Implementations§

Source§

impl Clone for GlobalControllerMetrics

Source§

fn clone(&self) -> GlobalControllerMetrics

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GlobalControllerMetrics

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for GlobalControllerMetrics

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<&GlobalControllerMetrics> for GlobalControllerMetrics

Source§

fn from(value: &GlobalControllerMetrics) -> Self

Converts to this type from the input type.
Source§

impl From<GlobalControllerMetrics> for GlobalControllerMetrics

Source§

fn from(value: GlobalControllerMetrics) -> Self

Converts to this type from the input type.
Source§

impl Serialize for GlobalControllerMetrics

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<GlobalControllerMetrics> for GlobalControllerMetrics

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: GlobalControllerMetrics) -> Result<Self, ConversionError>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> Serialize for T
where T: Serialize + ?Sized,

Source§

fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,