pub struct Slo {
pub ttft_p99_ms: f64,
pub tpot_p99_ms: f64,
pub e2e_p99_ms: f64,
}Expand description
SLO thresholds applied when computing goodput. All in milliseconds.
A request is “good” iff ttft ≤ ttft_p99_ms AND tpot ≤ tpot_p99_ms
AND e2e ≤ e2e_p99_ms. The _p99_ naming is convention only — the
comparison is per-request, not against the distribution.
Fields§
§ttft_p99_ms: f64§tpot_p99_ms: f64§e2e_p99_ms: f64Trait Implementations§
impl Copy for Slo
Source§impl<'de> Deserialize<'de> for Slo
impl<'de> Deserialize<'de> for Slo
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 Slo
impl RefUnwindSafe for Slo
impl Send for Slo
impl Sync for Slo
impl Unpin for Slo
impl UnsafeUnpin for Slo
impl UnwindSafe for Slo
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