Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.19 KB

counter_aggs.md

File metadata and controls

32 lines (26 loc) · 1.19 KB
title excerpt keywords
Counter and gauge aggregation
Perform statistical analysis of counters and gauges
counters
gauges
hyperfunctions
Toolkit

Counter and gauge aggregation

This section contains functions related to counter and gauge aggregation. Counter aggregation functions are used to accumulate monotonically increasing data by treating any decrements as resets. Gauge aggregates are similar, but are used to track data which can decrease as well as increase. For more information about counter aggregation functions, see the hyperfunctions documentation.

Some hyperfunctions are included in the default TimescaleDB product. For additional hyperfunctions, you need to install the Timescale Toolkit PostgreSQL extension.

All accessors can be used with `CounterSummary`, and all but `num_resets` with `GaugeSummary`.