Struct nakadion::instrumentation::Metrix[][src]

pub struct Metrix { /* fields omitted */ }
Expand description

Instrumentation with Metrix

Implementations

Initializes the metrics.

Adds them directly into the given processor without creating an additional group.

Creates new Metrix instrumentation and returns a mount that can be plugged with metrix and the instrumentation which can be plugged into the Consumer

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Triggered when a single connect attempt for a stream was successful Read more

Triggered when a single connect attempt for a stream failed Read more

Triggered when a stream was finally connect after maybe multiple attempts Read more

Triggered when connecting to a stream finally failed after maybe multiple attempts Read more

A chunk of data with n_bytes was received over the network

Chunks have been assembled to a complete frame containing all required data

An internal tick signal has been emitted

The controller received a frame which contained info data Read more

The controller received a frame which contained no events Read more

A partition which was formerly not known to be active was sent data on The controller received a frame which contained events Read more

The time elapsed between the reception of 2 batches with events

No frames have been received for the given time and the warning has already threshold elapsed

No events have been received for the given time and the warning threshold has already elapsed

The stream was aborted due to a streaming related error

Tracks the number of unconsumed events. Read more

Triggered when a new batch with events was received

Triggered when a batch with events was processed

Usually triggered when there are still batches in flight and the stream aborts. Read more

A partition did not receive data for some time is is therefore considered inactive.

Events were processed.

Events were processed.

Events have been deserialized. Read more

Cursors to be committed have reached the commit stage. Read more

Cursors commit was triggered.

Ages of the cursors when making a commit attempt to Nakadi Read more

Cursors were successfully committed. Read more

Tracks what has been committed to track uncommitted batches and their events. Read more

Cursors were not successfully committed. Read more

An attempt to commit cursors failed. There might still be a retry Read more

Can be used to transmit limits and values via metrics Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

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

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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