pub struct OutputEndpointMetrics {
pub buffered_batches: i64,
pub buffered_records: i64,
pub memory: i64,
pub num_encode_errors: i64,
pub num_transport_errors: i64,
pub queued_batches: i64,
pub queued_records: i64,
pub total_processed_input_records: i64,
pub transmitted_bytes: i64,
pub transmitted_records: i64,
}Expand description
Performance metrics for an output endpoint.
JSON schema
{
"description": "Performance metrics for an output endpoint.",
"type": "object",
"required": [
"buffered_batches",
"buffered_records",
"memory",
"num_encode_errors",
"num_transport_errors",
"queued_batches",
"queued_records",
"total_processed_input_records",
"transmitted_bytes",
"transmitted_records"
],
"properties": {
"buffered_batches": {
"description": "Number of batches in the buffer.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"buffered_records": {
"description": "Number of records pushed to the output buffer.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"memory": {
"description": "Extra memory in use beyond that used for queuing records.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"num_encode_errors": {
"description": "Number of encoding errors.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"num_transport_errors": {
"description": "Number of transport errors.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"queued_batches": {
"description": "Number of queued batches.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"queued_records": {
"description": "Number of queued records.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"total_processed_input_records": {
"description": "The number of input records processed by the circuit.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"transmitted_bytes": {
"description": "Bytes sent on the underlying transport.",
"type": "integer",
"format": "int64",
"minimum": 0.0
},
"transmitted_records": {
"description": "Records sent on the underlying transport.",
"type": "integer",
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§buffered_batches: i64Number of batches in the buffer.
buffered_records: i64Number of records pushed to the output buffer.
memory: i64Extra memory in use beyond that used for queuing records.
num_encode_errors: i64Number of encoding errors.
num_transport_errors: i64Number of transport errors.
queued_batches: i64Number of queued batches.
queued_records: i64Number of queued records.
total_processed_input_records: i64The number of input records processed by the circuit.
transmitted_bytes: i64Bytes sent on the underlying transport.
transmitted_records: i64Records sent on the underlying transport.
Implementations§
Source§impl OutputEndpointMetrics
impl OutputEndpointMetrics
pub fn builder() -> OutputEndpointMetrics
Trait Implementations§
Source§impl Clone for OutputEndpointMetrics
impl Clone for OutputEndpointMetrics
Source§fn clone(&self) -> OutputEndpointMetrics
fn clone(&self) -> OutputEndpointMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutputEndpointMetrics
impl Debug for OutputEndpointMetrics
Source§impl<'de> Deserialize<'de> for OutputEndpointMetrics
impl<'de> Deserialize<'de> for OutputEndpointMetrics
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&OutputEndpointMetrics> for OutputEndpointMetrics
impl From<&OutputEndpointMetrics> for OutputEndpointMetrics
Source§fn from(value: &OutputEndpointMetrics) -> Self
fn from(value: &OutputEndpointMetrics) -> Self
Converts to this type from the input type.
Source§impl From<OutputEndpointMetrics> for OutputEndpointMetrics
impl From<OutputEndpointMetrics> for OutputEndpointMetrics
Source§fn from(value: OutputEndpointMetrics) -> Self
fn from(value: OutputEndpointMetrics) -> Self
Converts to this type from the input type.
Source§impl Serialize for OutputEndpointMetrics
impl Serialize for OutputEndpointMetrics
Source§impl TryFrom<OutputEndpointMetrics> for OutputEndpointMetrics
impl TryFrom<OutputEndpointMetrics> for OutputEndpointMetrics
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OutputEndpointMetrics) -> Result<Self, ConversionError>
fn try_from(value: OutputEndpointMetrics) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OutputEndpointMetrics
impl RefUnwindSafe for OutputEndpointMetrics
impl Send for OutputEndpointMetrics
impl Sync for OutputEndpointMetrics
impl Unpin for OutputEndpointMetrics
impl UnwindSafe for OutputEndpointMetrics
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
Mutably borrows from an owned value. Read more