Class WithinSeriesAggregate

All Implemented Interfaces:
NamedWriteable, Writeable, Resolvable, PromqlPlan

public final class WithinSeriesAggregate extends PromqlFunctionCall
Represents a PromQL aggregate function call that operates on range vectors.

These functions take a range vector as input and aggregate the values within each series over the specified time range, returning an instant vector. This corresponds to PromQL syntax:

 function_name(range_vector)
 
Examples:
 rate(http_requests_total[5m])
 increase(errors_total[1h])
 delta(cpu_temp_celsius[30m])
 
These functions operate independently on each time series selected by the range vector. The result contains one sample per series at the evaluation timestamp.