pub struct FlameData {
pub agent: String,
pub since: Option<Date>,
pub metric: FlameMetric,
pub unit: &'static str,
pub stacks: Vec<FoldedStack>,
pub total_value: u64,
pub unpriced_requests: u64,
}Expand description
Aggregated, deduplicated flamegraph data.
Fields§
§agent: String§since: Option<Date>§metric: FlameMetric§unit: &'static strCount-name label for the unit, e.g. “tokens” or “µ$”. (&'static str.)
stacks: Vec<FoldedStack>Folded stacks, accumulated per unique frame-path, sorted deterministically.
total_value: u64Sum of all stacks[].value (matches the emitted stacks exactly).
unpriced_requests: u64Requests dropped from a Cost flamegraph because their model is unpriced. Always 0 for the Tokens metric.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlameData
impl RefUnwindSafe for FlameData
impl Send for FlameData
impl Sync for FlameData
impl Unpin for FlameData
impl UnsafeUnpin for FlameData
impl UnwindSafe for FlameData
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