Skip to content

Commit c352103

Browse files
authored
Update configuration.md
1 parent b1359e3 commit c352103

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/develop/data-types/timeseries/configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,6 @@ Each rule is separated by a semicolon (`;`), the rule consists of multiple field
125125

126126
Assure that there is a bucket that starts at exactly _alignTimestamp_ after the epoch and align all other buckets accordingly. Default value: 0 (aligned with the epoch). Example: if _bucketDuration_ is 24 hours, setting _alignTimestamp_ to `6h` (6 hours after the Epoch) will ensure that each bucket’s timeframe is [06:00 .. 06:00).
127127

128-
Examples:
129-
130-
- `max:1M:1h` - Aggregate using `max` over one minute and retain the last hour
131-
- `twa:1d:0m:360M` - Aggregate daily [06:00 .. 06:00) using `twa`; no expiration
132-
133128
When a compaction policy is defined, compaction rules will be created automatically for newly created time series, and their key would be set to:
134129

135130
* If the time bucket alignment is 0:
@@ -140,6 +135,11 @@ When a compaction policy is defined, compaction rules will be created automatica
140135

141136
_key_agg_dur_aln_ where _key_ is the key of the source time series, _agg_ is the aggregator (in uppercase), _dur_ is the bucket duration in milliseconds, and _aln_ is the time bucket alignment in milliseconds. Example: `key_SUM_60000_1000`.
142137

138+
Examples:
139+
140+
- `max:1M:1h` - Aggregate using `max` over one minute and retain the last hour
141+
- `twa:1d:0m:360M` - Aggregate daily [06:00 .. 06:00) using `twa`; no expiration
142+
143143
#### Default
144144

145145
No compaction rules.

0 commit comments

Comments
 (0)