pub struct ExternalInputEndpointMetrics {
pub total_bytes: u64,
pub total_records: u64,
pub buffered_records: u64,
pub buffered_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).
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.