pub struct RouteStats {
pub route: String,
pub qps: f64,
pub p50_ms: f64,
pub p99_ms: f64,
}Expand description
Per-route latency + QPS line in RuntimeMetrics.throughput_by_route.
Fields§
§route: StringRoute path (raw URI; templated routes are normalised by the server).
qps: f64Queries per second for this route over the last 60 s.
p50_ms: f6450th-percentile latency in milliseconds.
p99_ms: f6499th-percentile latency in milliseconds.
Trait Implementations§
Source§impl Clone for RouteStats
impl Clone for RouteStats
Source§fn clone(&self) -> RouteStats
fn clone(&self) -> RouteStats
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 RouteStats
impl Debug for RouteStats
Source§impl Default for RouteStats
impl Default for RouteStats
Source§fn default() -> RouteStats
fn default() -> RouteStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RouteStats
impl<'de> Deserialize<'de> for RouteStats
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
Auto Trait Implementations§
impl Freeze for RouteStats
impl RefUnwindSafe for RouteStats
impl Send for RouteStats
impl Sync for RouteStats
impl Unpin for RouteStats
impl UnsafeUnpin for RouteStats
impl UnwindSafe for RouteStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request