pub struct ExternalInputEndpointMetrics {
pub total_bytes: u64,
pub total_records: u64,
pub buffered_records: u64,
pub buffered_bytes: u64,
pub latest_batch_records: u64,
pub latest_batch_bytes: u64,
pub num_transport_errors: u64,
pub num_parse_errors: u64,
pub end_of_input: bool,
pub processing_latency_p99_micros: Option<u64>,
}Expand description
Performance metrics for an input endpoint.
Fields§
§total_bytes: u64Total bytes pushed to the endpoint since it was created.
total_records: u64Total records pushed to the endpoint since it was created.
buffered_records: u64Number of records currently buffered by the endpoint (not yet consumed by the circuit).
buffered_bytes: u64Number of bytes currently buffered by the endpoint (not yet consumed by the circuit).
latest_batch_records: u64Number 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.
latest_batch_bytes: u64Number 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.
num_transport_errors: u64Number of transport errors.
num_parse_errors: u64Number of parse errors.
end_of_input: boolTrue if end-of-input has been signaled.
processing_latency_p99_micros: Option<u64>99th 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.
Implementations§
Trait Implementations§
Source§impl Debug for ExternalInputEndpointMetrics
impl Debug for ExternalInputEndpointMetrics
Source§impl<'de> Deserialize<'de> for ExternalInputEndpointMetrics
impl<'de> Deserialize<'de> for ExternalInputEndpointMetrics
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>,
Auto Trait Implementations§
impl Forget for ExternalInputEndpointMetrics
impl Freeze for ExternalInputEndpointMetrics
impl Move for ExternalInputEndpointMetrics
impl RefUnwindSafe for ExternalInputEndpointMetrics
impl Send for ExternalInputEndpointMetrics
impl Sync for ExternalInputEndpointMetrics
impl Unpin for ExternalInputEndpointMetrics
impl UnsafeUnpin for ExternalInputEndpointMetrics
impl UnwindSafe for ExternalInputEndpointMetrics
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