Skip to content

rollup()

Combine multiple gauge aggregates

Early access 1.6.0

This function combines multiple gauge 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.

The syntax is:

rollup(
gs GaugeSummary
) RETURNS GaugeSummary
NameTypeDefaultRequiredDescription
gsGaugeSummary-A gauge aggregate created using gauge_agg
ColumnTypeDescription
rollupGaugeSummaryA new gauge aggregate created by combining the input gauge aggregates