pub struct InputEndpointMetrics {
pub buffered_bytes: i64,
pub buffered_records: i64,
pub end_of_input: bool,
pub latest_batch_bytes: Option<i64>,
pub latest_batch_records: Option<i64>,
pub num_parse_errors: i64,
pub num_transport_errors: i64,
pub processing_latency_p99_micros: Option<i64>,
pub total_bytes: i64,
pub total_records: i64,
}Expand description
Performance metrics for an input endpoint.
JSON schema
{
"description": "Performance metrics for an input endpoint.",
"type": "object",
"required": [
"buffered_bytes",
"buffered_records",
"end_of_input",
"num_parse_errors",
"num_transport_errors",
"total_bytes",
"total_records"
],
"properties": {
"buffered_bytes": {
"description": "Number of bytes currently buffered by the endpoint (not yet consumed by the circuit).",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"buffered_records": {
"description": "Number of records currently buffered by the endpoint (not yet consumed by the circuit).",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"end_of_input": {
"description": "True if end-of-input has been signaled.",
"type": "boolean"
},
"latest_batch_bytes": {
"description": "Number of bytes in the most recent non-empty batch that the endpoint\ngave to the circuit.\n\nFor a connector that runs on more than one host, this is the sum of\neach host's latest non-empty batch. These batches can come from\ndifferent steps, for example when a host has been idle.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"latest_batch_records": {
"description": "Number of records in the most recent non-empty batch that the endpoint\ngave to the circuit.\n\nFor a connector that runs on more than one host, this is the sum of\neach host's latest non-empty batch. These batches can come from\ndifferent steps, for example when a host has been idle.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"num_parse_errors": {
"description": "Number of parse errors.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"num_transport_errors": {
"description": "Number of transport errors.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"processing_latency_p99_micros": {
"description": "99th percentile processing latency (from ingesting a batch to finishing processing it) in microseconds.\n\nThe time from ingesting a batch of records off the wire\nto the circuit finishing processing them,\ncovering parsing, queuing, and the circuit step.\n\nDoes not account for completion latency.\n\nTaken over the endpoint's sliding histogram, which holds the 10,000 most\nrecent samples spanning at most 10 minutes, whichever bound is reached\nfirst. One sample is recorded per completed batch. An endpoint that stops\ningesting keeps reporting its last known latency instead of dropping to\n`None`.\n\n`None` until the endpoint records its first sample.",
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0.0
},
"total_bytes": {
"description": "Total bytes pushed to the endpoint since it was created.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"total_records": {
"description": "Total records pushed to the endpoint since it was created.",
"type": "integer",
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§buffered_bytes: i64Number of bytes currently buffered by the endpoint (not yet consumed by the circuit).
buffered_records: i64Number of records currently buffered by the endpoint (not yet consumed by the circuit).
end_of_input: boolTrue if end-of-input has been signaled.
latest_batch_bytes: Option<i64>Number 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.
latest_batch_records: Option<i64>Number 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.
num_parse_errors: i64Number of parse errors.
num_transport_errors: i64Number of transport errors.
processing_latency_p99_micros: Option<i64>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.
total_bytes: i64Total bytes pushed to the endpoint since it was created.
total_records: i64Total records pushed to the endpoint since it was created.
Implementations§
Source§impl InputEndpointMetrics
impl InputEndpointMetrics
pub fn builder() -> InputEndpointMetrics
Trait Implementations§
Source§impl Clone for InputEndpointMetrics
impl Clone for InputEndpointMetrics
Source§impl Debug for InputEndpointMetrics
impl Debug for InputEndpointMetrics
Source§impl<'de> Deserialize<'de> for InputEndpointMetrics
impl<'de> Deserialize<'de> for InputEndpointMetrics
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>,
Source§impl From<&InputEndpointMetrics> for InputEndpointMetrics
impl From<&InputEndpointMetrics> for InputEndpointMetrics
Source§fn from(value: &InputEndpointMetrics) -> Self
fn from(value: &InputEndpointMetrics) -> Self
Source§impl From<InputEndpointMetrics> for InputEndpointMetrics
impl From<InputEndpointMetrics> for InputEndpointMetrics
Source§fn from(value: InputEndpointMetrics) -> Self
fn from(value: InputEndpointMetrics) -> Self
Source§impl Serialize for InputEndpointMetrics
impl Serialize for InputEndpointMetrics
Source§impl TryFrom<InputEndpointMetrics> for InputEndpointMetrics
impl TryFrom<InputEndpointMetrics> for InputEndpointMetrics
Source§type Error = ConversionError
type Error = ConversionError
Source§fn try_from(value: InputEndpointMetrics) -> Result<Self, ConversionError>
fn try_from(value: InputEndpointMetrics) -> Result<Self, ConversionError>
Auto Trait Implementations§
impl Forget for InputEndpointMetrics
impl Freeze for InputEndpointMetrics
impl Move for InputEndpointMetrics
impl RefUnwindSafe for InputEndpointMetrics
impl Send for InputEndpointMetrics
impl Sync for InputEndpointMetrics
impl Unpin for InputEndpointMetrics
impl UnsafeUnpin for InputEndpointMetrics
impl UnwindSafe for InputEndpointMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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