pub struct InputEndpointMetrics {
pub buffered_bytes: i64,
pub buffered_records: i64,
pub end_of_input: bool,
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"
},
"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.
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§fn clone(&self) -> InputEndpointMetrics
fn clone(&self) -> InputEndpointMetrics
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more