Struct EndpointMetrics
pub struct EndpointMetrics {Show 17 fields
pub url: String,
pub types: Vec<String>,
pub invocations: u64,
pub succeeded: u64,
pub failed: u64,
pub timed_out: u64,
pub unleased: u64,
pub in_flight: u32,
pub failures_in_a_row: u32,
pub backoff_ms: u64,
pub total_ms: u64,
pub max_ms: u64,
pub shards: u64,
pub steps: u64,
pub open_us_total: u64,
pub opens: u64,
pub last_error: Option<String>,
}Expand description
One endpoint’s counters.
Fields§
§url: String§types: Vec<String>§invocations: u64Invocations sent, and how they ended: a 2xx after which the invocation’s shards were leased, an error or a status other than 2xx, no answer within the budget plus 30 s, or a 2xx without a lease.
succeeded: u64§failed: u64§timed_out: u64§unleased: u64§in_flight: u32§failures_in_a_row: u32§backoff_ms: u64How long until the endpoint is invoked again, while it backs off.
total_ms: u64Sent to answered, summed and at most.
max_ms: u64§shards: u64Shards invoked, steps they ran, and their engine opens (in µs).
steps: u64§open_us_total: u64§opens: u64§last_error: Option<String>Trait Implementations§
§impl Clone for EndpointMetrics
impl Clone for EndpointMetrics
§fn clone(&self) -> EndpointMetrics
fn clone(&self) -> EndpointMetrics
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 more§impl Debug for EndpointMetrics
impl Debug for EndpointMetrics
§impl Default for EndpointMetrics
impl Default for EndpointMetrics
§fn default() -> EndpointMetrics
fn default() -> EndpointMetrics
Returns the “default value” for a type. Read more
§impl Serialize for EndpointMetrics
impl Serialize for EndpointMetrics
Auto Trait Implementations§
impl Freeze for EndpointMetrics
impl RefUnwindSafe for EndpointMetrics
impl Send for EndpointMetrics
impl Sync for EndpointMetrics
impl Unpin for EndpointMetrics
impl UnsafeUnpin for EndpointMetrics
impl UnwindSafe for EndpointMetrics
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