pub struct RetryStorm {
pub session_id: String,
pub project: Option<String>,
pub started_at: Timestamp,
pub ended_at: Timestamp,
pub requests: u64,
pub total_tokens: u64,
pub cost_usd: Option<f64>,
pub span_seconds: i64,
pub thinking_requests: u64,
}Expand description
A temporal burst of requests within one session — a candidate retry/loop episode. See the module docs for the detection rule and its caveats.
Fields§
§session_id: String§project: Option<String>§started_at: Timestamp§ended_at: Timestamp§requests: u64Requests in the burst (post-dedup).
total_tokens: u64§cost_usd: Option<f64>Summed cost of the burst’s priced requests; None when none are priced.
A lower bound when the burst mixes priced and unpriced requests (§8.5).
span_seconds: i64Wall-clock span of the burst, in seconds (ended_at - started_at).
thinking_requests: u64Requests in the burst that used extended thinking (§8.2).
Trait Implementations§
Source§impl Clone for RetryStorm
impl Clone for RetryStorm
Source§fn clone(&self) -> RetryStorm
fn clone(&self) -> RetryStorm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RetryStorm
impl Debug for RetryStorm
Auto Trait Implementations§
impl Freeze for RetryStorm
impl RefUnwindSafe for RetryStorm
impl Send for RetryStorm
impl Sync for RetryStorm
impl Unpin for RetryStorm
impl UnsafeUnpin for RetryStorm
impl UnwindSafe for RetryStorm
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