Skip to main content

ExternalGlobalControllerMetrics

Struct ExternalGlobalControllerMetrics 

Source
pub struct ExternalGlobalControllerMetrics {
Show 22 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 pipeline_complete: bool,
}
Expand description

Global controller metrics.

Fields§

§state: PipelineState

State of the pipeline: running, paused, or terminating.

§bootstrap_in_progress: bool

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

§transaction_status: TransactionStatus

Status of the current transaction.

§transaction_id: TransactionId

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

§transaction_initiators: ExternalTransactionInitiators

Entities that initiated the current transaction.

§rss_bytes: u64

Resident set size of the pipeline process, in bytes.

§cpu_msecs: u64

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

§uptime_msecs: u64

Time since the pipeline process started, in milliseconds.

§start_time: DateTime<Utc>

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

§incarnation_uuid: Uuid

Uniquely 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: u64

Current storage usage in bytes.

§storage_mb_secs: u64

Storage usage integrated over time, in megabytes * seconds.

§runtime_elapsed_msecs: u64

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

§buffered_input_records: u64

Total number of records currently buffered by all endpoints.

§buffered_input_bytes: u64

Total number of bytes currently buffered by all endpoints.

§total_input_records: u64

Total number of records received from all endpoints.

§total_input_bytes: u64

Total number of bytes received from all endpoints.

§total_processed_records: u64

Total number of input records processed by the DBSP engine.

§total_processed_bytes: u64

Total bytes of input records processed by the DBSP engine.

§total_completed_records: u64

Total number of input records processed to completion.

§pipeline_complete: bool

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

Trait Implementations§

Source§

impl Default for ExternalGlobalControllerMetrics

Source§

fn default() -> ExternalGlobalControllerMetrics

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for ExternalGlobalControllerMetrics

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 Serialize for ExternalGlobalControllerMetrics

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<'__s> ToSchema<'__s> for ExternalGlobalControllerMetrics

Source§

fn schema() -> (&'__s str, RefOr<Schema>)

Return a tuple of name and schema or reference to a schema that can be referenced by the name or inlined directly to responses, request bodies or parameters.
Source§

fn aliases() -> Vec<(&'__s str, Schema)>

Optional set of alias schemas for the ToSchema::schema. Read more

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