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