Skip to main content
Since 1.3.0 This function combines multiple counter aggregates into one. This can be used to combine aggregates from adjacent intervals into one larger interval, such as rolling daily aggregates into a weekly or monthly aggregate.

Arguments

The syntax is:
rollup(
    cs CounterSummary
) RETURNS CounterSummary
NameTypeDefaultRequiredDescription
csCounterSummary-A counter aggregate created using counter_agg

Returns

ColumnTypeDescription
counter_aggCounterSummaryA new counter aggregate created by combining the input counter aggregates