pub struct RangeAggregation {
pub function: RangeFunction,
pub log_query: LogQuery,
pub range: Duration,
pub offset: Option<Duration>,
pub unwrap: Option<Unwrap>,
pub param: Option<f64>,
pub grouping: Option<Grouping>,
}Expand description
A range aggregation: a range function applied to a ranged log query.
Fields§
§function: RangeFunction§log_query: LogQueryThe log selector and pipeline being aggregated.
range: DurationThe range window, e.g. 5m in [5m].
offset: Option<Duration>Optional offset <duration> time shift.
unwrap: Option<Unwrap>Optional | unwrap <label> for value extraction (required by the
*_over_time functions that operate on extracted samples).
param: Option<f64>Scalar parameter for quantile_over_time(<q>, ...).
grouping: Option<Grouping>Optional by/without grouping on unwrapped range aggregations.
Trait Implementations§
Source§impl Clone for RangeAggregation
impl Clone for RangeAggregation
Source§impl Debug for RangeAggregation
impl Debug for RangeAggregation
Source§impl PartialEq for RangeAggregation
impl PartialEq for RangeAggregation
impl StructuralPartialEq for RangeAggregation
Auto Trait Implementations§
impl Freeze for RangeAggregation
impl RefUnwindSafe for RangeAggregation
impl Send for RangeAggregation
impl Sync for RangeAggregation
impl Unpin for RangeAggregation
impl UnsafeUnpin for RangeAggregation
impl UnwindSafe for RangeAggregation
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