pub struct FlushResult<T> {
pub obfuscated_buckets: Vec<T>,
pub unobfuscated_buckets: Vec<T>,
pub collapsed_spans: u64,
pub collapsed_fields_metrics: CollapsedFieldsMetrics,
}Expand description
Result of flushing a concentrator.
Obfuscated and un-obfuscated buckets are kept separate because they must be sent in distinct
stats payloads: only the obfuscated payload carries the datadog-obfuscation-version header.
Fields§
§obfuscated_buckets: Vec<T>Buckets whose resource names were obfuscated client-side.
unobfuscated_buckets: Vec<T>Buckets whose resource names were left as-is.
collapsed_spans: u64Total number of spans that were collapsed into the overflow sentinel bucket due to cardinality limiting across all flushed time buckets.
collapsed_fields_metrics: CollapsedFieldsMetricsImplementations§
Source§impl<T> FlushResult<T>
impl<T> FlushResult<T>
Sourcepub fn all_buckets(self) -> Vec<T>
pub fn all_buckets(self) -> Vec<T>
All flushed buckets regardless of obfuscation.
Auto Trait Implementations§
impl<T> Freeze for FlushResult<T>
impl<T> RefUnwindSafe for FlushResult<T>where
T: RefUnwindSafe,
impl<T> Send for FlushResult<T>where
T: Send,
impl<T> Sync for FlushResult<T>where
T: Sync,
impl<T> Unpin for FlushResult<T>where
T: Unpin,
impl<T> UnsafeUnpin for FlushResult<T>
impl<T> UnwindSafe for FlushResult<T>where
T: UnwindSafe,
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