Samples
Create a counter aggregate for eachid and each 15-minute interval. Then add bounds to the counter aggregate, so you
can calculate the extrapolated rate.
Arguments
The syntax is:| Name | Type | Default | Required | Description |
|---|---|---|---|---|
cs | CounterSummary | - | ✔ | A counter aggregate created using counter_agg |
bounds | TSTZRANGE | - | ✔ | A range of timestamptz giving the smallest and largest allowed times in the counter aggregate |
Returns
| Column | Type | Description |
|---|---|---|
| counter_agg | CounterSummary | A new counter aggregate with the bounds applied |