Skip to content

Commit a03db2c

Browse files
committed
Apply review comments
1 parent 74aa638 commit a03db2c

6 files changed

Lines changed: 75 additions & 75 deletions

File tree

content/commands/ts.createrule.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ categories:
7777
- kubernetes
7878
- clients
7979
complexity: O(1)
80-
description: Create a compaction rule. Starting from Redis 8.6, aggregation functions ignore NaN values when computing compacted results.
80+
description: Create a compaction rule.
8181
group: timeseries
8282
hidden: false
8383
linkTitle: TS.CREATERULE
@@ -118,21 +118,21 @@ aggregates results into time buckets.
118118

119119
| `aggregator` | Description |
120120
| ------------ | ------------------------------------------------------------------------------ |
121-
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values since Redis 8.6) |
122-
| `sum` | Sum of all non-NaN values (ignores NaN values since Redis 8.6) |
123-
| `min` | Minimum non-NaN value (ignores NaN values since Redis 8.6) |
124-
| `max` | Maximum non-NaN value (ignores NaN values since Redis 8.6) |
125-
| `range` | Difference between the highest and the lowest non-NaN value (ignores NaN values since Redis 8.6) |
126-
| `count` | Number of non-NaN values (ignores NaN values since Redis 8.6) |
121+
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values) |
122+
| `sum` | Sum of all non-NaN values (ignores NaN values) |
123+
| `min` | Minimum non-NaN value (ignores NaN values) |
124+
| `max` | Maximum non-NaN value (ignores NaN values) |
125+
| `range` | Difference between the highest and the lowest non-NaN value (ignores NaN values) |
126+
| `count` | Number of non-NaN values (ignores NaN values) |
127127
| `countNaN` | Number of NaN values (since Redis 8.6) |
128128
| `countAll` | Number of all values, both NaN and non-NaN (since Redis 8.6) |
129-
| `first` | Value with lowest timestamp in the bucket (ignores NaN values since Redis 8.6) |
130-
| `last` | Value with highest timestamp in the bucket (ignores NaN values since Redis 8.6) |
131-
| `std.p` | Population standard deviation of the non-NaN values (ignores NaN values since Redis 8.6) |
132-
| `std.s` | Sample standard deviation of the non-NaN values (ignores NaN values since Redis 8.6) |
133-
| `var.p` | Population variance of the non-NaN values (ignores NaN values since Redis 8.6) |
134-
| `var.s` | Sample variance of the non-NaN values (ignores NaN values since Redis 8.6) |
135-
| `twa` | Time-weighted average over the bucket's timeframe (ignores NaN values since Redis 8.6) |
129+
| `first` | Value with lowest timestamp in the bucket (ignores NaN values) |
130+
| `last` | Value with highest timestamp in the bucket (ignores NaN values) |
131+
| `std.p` | Population standard deviation of the non-NaN values (ignores NaN values) |
132+
| `std.s` | Sample standard deviation of the non-NaN values (ignores NaN values) |
133+
| `var.p` | Population variance of the non-NaN values (ignores NaN values) |
134+
| `var.s` | Sample variance of the non-NaN values (ignores NaN values) |
135+
| `twa` | Time-weighted average over the bucket's timeframe (ignores NaN values). Added in RedisTimeSeries 1.8. |
136136

137137
- `bucketDuration` is duration of each bucket, in milliseconds.
138138

content/commands/ts.decrby.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ is key name for the time series.
112112

113113
<details open><summary><code>subtrahend</code></summary>
114114

115-
is numeric value of the subtrahend (double). Starting from Redis 8.6, an error is returned if the subtrahend is NaN.
115+
is numeric value of the subtrahend (double). An error is returned if the subtrahend is NaN.
116116
</details>
117117

118118
<note><b>Notes</b>

content/commands/ts.madd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Unix time is the number of milliseconds that have elapsed since 00:00:00 UTC on
6262
<details open>
6363
<summary><code>value</code></summary>
6464

65-
is numeric data value of the sample (double). The double number should follow <a href="https://tools.ietf.org/html/rfc7159">RFC 7159</a> (the JSON standard). The parser rejects overly large values that would not fit in binary64. It does not accept infinite values. NaN (Not a Number) values are supported starting from Redis 8.6.
65+
is numeric data value of the sample (double). The double number should follow <a href="https://tools.ietf.org/html/rfc7159">RFC 7159</a> (JSON standard). The parser rejects overly large values that would not fit in binary64. It does not accept infinite values. NaN (Not a Number) values are supported starting from Redis 8.6.
6666
</details>
6767

6868
<note><b>Notes:</b>

content/commands/ts.mrange.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -291,21 +291,21 @@ per time series, aggregates samples into time buckets, where:
291291

292292
| `aggregator` | Description |
293293
| ------------ | ------------------------------------------------------------------------------ |
294-
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values since Redis 8.6) |
295-
| `sum` | Sum of all non-NaN values (ignores NaN values since Redis 8.6) |
296-
| `min` | Minimum non-NaN value (ignores NaN values since Redis 8.6) |
297-
| `max` | Maximum non-NaN value (ignores NaN values since Redis 8.6) |
298-
| `range` | Difference between maximum non-NaN value and minimum non-NaN value (ignores NaN values since Redis 8.6) |
299-
| `count` | Number of non-NaN values (ignores NaN values since Redis 8.6) |
294+
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values) |
295+
| `sum` | Sum of all non-NaN values (ignores NaN values) |
296+
| `min` | Minimum non-NaN value (ignores NaN values) |
297+
| `max` | Maximum non-NaN value (ignores NaN values) |
298+
| `range` | Difference between maximum non-NaN value and minimum non-NaN value (ignores NaN values) |
299+
| `count` | Number of non-NaN values (ignores NaN values) |
300300
| `countNaN` | Number of NaN values (since Redis 8.6) |
301301
| `countAll` | Number of all values, both NaN and non-NaN (since Redis 8.6) |
302-
| `first` | Value with lowest timestamp in the bucket (ignores NaN values since Redis 8.6) |
303-
| `last` | Value with highest timestamp in the bucket (ignores NaN values since Redis 8.6) |
304-
| `std.p` | Population standard deviation of the non-NaN values (ignores NaN values since Redis 8.6) |
305-
| `std.s` | Sample standard deviation of the non-NaN values (ignores NaN values since Redis 8.6) |
306-
| `var.p` | Population variance of the non-NaN values (ignores NaN values since Redis 8.6) |
307-
| `var.s` | Sample variance of the non-NaN values (ignores NaN values since Redis 8.6) |
308-
| `twa` | Time-weighted average over the bucket's timeframe (ignores NaN values since Redis 8.6) |
302+
| `first` | Value with lowest timestamp in the bucket (ignores NaN values) |
303+
| `last` | Value with highest timestamp in the bucket (ignores NaN values) |
304+
| `std.p` | Population standard deviation of the non-NaN values (ignores NaN values) |
305+
| `std.s` | Sample standard deviation of the non-NaN values (ignores NaN values) |
306+
| `var.p` | Population variance of the non-NaN values (ignores NaN values) |
307+
| `var.s` | Sample variance of the non-NaN values (ignores NaN values) |
308+
| `twa` | Time-weighted average over the bucket's timeframe (ignores NaN values). Added in RedisTimeSeries v1.8. |
309309

310310
- `bucketDuration` is duration of each bucket, in milliseconds.
311311

@@ -356,18 +356,18 @@ When combined with `AGGREGATION` the `GROUPBY`/`REDUCE` is applied post aggregat
356356

357357
| `reducer` | Description |
358358
| --------- | ----------------------------------------------------------------------------------------------- |
359-
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values since Redis 8.6) |
360-
| `sum` | Sum of all non-NaN values (ignores NaN values since Redis 8.6) |
361-
| `min` | Minimum non-NaN value (ignores NaN values since Redis 8.6) |
362-
| `max` | Maximum non-NaN value (ignores NaN values since Redis 8.6) |
363-
| `range` | Difference between maximum non-NaN value and minimum non-NaN value (ignores NaN values since Redis 8.6) |
364-
| `count` | Number of non-NaN values (ignores NaN values since Redis 8.6) |
359+
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values). Added in RedisTimeSeries v1.8. |
360+
| `sum` | Sum of all non-NaN values (ignores NaN values) |
361+
| `min` | Minimum non-NaN value (ignores NaN values) |
362+
| `max` | Maximum non-NaN value (ignores NaN values) |
363+
| `range` | Difference between maximum non-NaN value and minimum non-NaN value (ignores NaN values) |
364+
| `count` | Number of non-NaN values (ignores NaN values) |
365365
| `countNaN`| Number of NaN values (since Redis 8.6) |
366366
| `countAll`| Number of all values, both NaN and non-NaN (since Redis 8.6) |
367-
| `std.p` | Population standard deviation of all non-NaN values (ignores NaN values since Redis 8.6) |
368-
| `std.s` | Sample standard deviation of all non-NaN values (ignores NaN values since Redis 8.6) |
369-
| `var.p` | Population variance of all non-NaN values (ignores NaN values since Redis 8.6) |
370-
| `var.s` | Sample variance of all non-NaN values (ignores NaN values since Redis 8.6) |
367+
| `std.p` | Population standard deviation of all non-NaN values (ignores NaN values) |
368+
| `std.s` | Sample standard deviation of all non-NaN values (ignores NaN values) |
369+
| `var.p` | Population variance of all non-NaN values (ignores NaN values) |
370+
| `var.s` | Sample variance of all non-NaN values (ignores NaN values) |
371371

372372
<note><b>Notes:</b>
373373
- The produced time series is named `<label>=<value>`

content/commands/ts.mrevrange.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -291,21 +291,21 @@ per time series, aggregates samples into time buckets, where:
291291

292292
| `aggregator` | Description |
293293
| ------------ | ------------------------------------------------------------------------------ |
294-
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values since Redis 8.6) |
295-
| `sum` | Sum of all non-NaN values (ignores NaN values since Redis 8.6) |
296-
| `min` | Minimum non-NaN value (ignores NaN values since Redis 8.6) |
297-
| `max` | Maximum non-NaN value (ignores NaN values since Redis 8.6) |
298-
| `range` | Difference between maximum non-NaN value and minimum non-NaN value (ignores NaN values since Redis 8.6) |
299-
| `count` | Number of non-NaN values (ignores NaN values since Redis 8.6) |
294+
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values) |
295+
| `sum` | Sum of all non-NaN values (ignores NaN values) |
296+
| `min` | Minimum non-NaN value (ignores NaN values) |
297+
| `max` | Maximum non-NaN value (ignores NaN values) |
298+
| `range` | Difference between maximum non-NaN value and minimum non-NaN value (ignores NaN values) |
299+
| `count` | Number of non-NaN values (ignores NaN values) |
300300
| `countNaN` | Number of NaN values (since Redis 8.6) |
301301
| `countAll` | Number of all values, both NaN and non-NaN (since Redis 8.6) |
302-
| `first` | Value with lowest timestamp in the bucket (ignores NaN values since Redis 8.6) |
303-
| `last` | Value with highest timestamp in the bucket (ignores NaN values since Redis 8.6) |
304-
| `std.p` | Population standard deviation of the non-NaN values (ignores NaN values since Redis 8.6) |
305-
| `std.s` | Sample standard deviation of the non-NaN values (ignores NaN values since Redis 8.6) |
306-
| `var.p` | Population variance of the non-NaN values (ignores NaN values since Redis 8.6) |
307-
| `var.s` | Sample variance of the non-NaN values (ignores NaN values since Redis 8.6) |
308-
| `twa` | Time-weighted average over the bucket's timeframe (ignores NaN values since Redis 8.6) |
302+
| `first` | Value with lowest timestamp in the bucket (ignores NaN values) |
303+
| `last` | Value with highest timestamp in the bucket (ignores NaN values) |
304+
| `std.p` | Population standard deviation of the non-NaN values (ignores NaN values) |
305+
| `std.s` | Sample standard deviation of the non-NaN values (ignores NaN values) |
306+
| `var.p` | Population variance of the non-NaN values (ignores NaN values) |
307+
| `var.s` | Sample variance of the non-NaN values (ignores NaN values) |
308+
| `twa` | Time-weighted average over the bucket's timeframe (ignores NaN values). Added in RedisTimeSeries v1.8. |
309309

310310
- `bucketDuration` is duration of each bucket, in milliseconds.
311311

@@ -356,18 +356,18 @@ When combined with `AGGREGATION` the `GROUPBY`/`REDUCE` is applied post aggregat
356356

357357
| `reducer` | Description |
358358
| --------- | ----------------------------------------------------------------------------------------------- |
359-
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values since Redis 8.6) |
360-
| `sum` | Sum of all non-NaN values (ignores NaN values since Redis 8.6) |
361-
| `min` | Minimum non-NaN value (ignores NaN values since Redis 8.6) |
362-
| `max` | Maximum non-NaN value (ignores NaN values since Redis 8.6) |
363-
| `range` | Difference between maximum non-NaN value and minimum non-NaN value (ignores NaN values since Redis 8.6) |
364-
| `count` | Number of non-NaN values (ignores NaN values since Redis 8.6) |
359+
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values). Added in RedisTimeSeries v1.8. |
360+
| `sum` | Sum of all non-NaN values (ignores NaN values) |
361+
| `min` | Minimum non-NaN value (ignores NaN values) |
362+
| `max` | Maximum non-NaN value (ignores NaN values) |
363+
| `range` | Difference between maximum non-NaN value and minimum non-NaN value (ignores NaN values). Added in RedisTimeSeries v1.8. |
364+
| `count` | Number of non-NaN values (ignores NaN values). Added in RedisTimeSeries v1.8. |
365365
| `countNaN`| Number of NaN values (since Redis 8.6) |
366366
| `countAll`| Number of all values, both NaN and non-NaN (since Redis 8.6) |
367-
| `std.p` | Population standard deviation of all non-NaN values (ignores NaN values since Redis 8.6) |
368-
| `std.s` | Sample standard deviation of all non-NaN values (ignores NaN values since Redis 8.6) |
369-
| `var.p` | Population variance of all non-NaN values (ignores NaN values since Redis 8.6) |
370-
| `var.s` | Sample variance of all non-NaN values (ignores NaN values since Redis 8.6) |
367+
| `std.p` | Population standard deviation of all non-NaN values (ignores NaN values). Added in RedisTimeSeries v1.8. |
368+
| `std.s` | Sample standard deviation of all non-NaN values (ignores NaN values). Added in RedisTimeSeries v1.8. |
369+
| `var.p` | Population variance of all non-NaN values (ignores NaN values). Added in RedisTimeSeries v1.8. |
370+
| `var.s` | Sample variance of all non-NaN values (ignores NaN values). Added in RedisTimeSeries v1.8. |
371371

372372
<note><b>Notes:</b>
373373
- The produced time series is named `<label>=<value>`

content/commands/ts.range.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -212,21 +212,21 @@ aggregates samples into time buckets, where:
212212

213213
| `aggregator` | Description |
214214
| ------------ | ------------------------------------------------------------------------------ |
215-
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values since Redis 8.6) |
216-
| `sum` | Sum of all non-NaN values (ignores NaN values since Redis 8.6) |
217-
| `min` | Minimum non-NaN value (ignores NaN values since Redis 8.6) |
218-
| `max` | Maximum non-NaN value (ignores NaN values since Redis 8.6) |
219-
| `range` | Difference between the maximum and the minimum non-NaN value (ignores NaN values since Redis 8.6) |
220-
| `count` | Number of non-NaN values (ignores NaN values since Redis 8.6) |
215+
| `avg` | Arithmetic mean of all non-NaN values (ignores NaN values) |
216+
| `sum` | Sum of all non-NaN values (ignores NaN values) |
217+
| `min` | Minimum non-NaN value (ignores NaN values) |
218+
| `max` | Maximum non-NaN value (ignores NaN values) |
219+
| `range` | Difference between the maximum and the minimum non-NaN value (ignores NaN values) |
220+
| `count` | Number of non-NaN values (ignores NaN values) |
221221
| `countNaN` | Number of NaN values (since Redis 8.6) |
222222
| `countAll` | Number of all values, both NaN and non-NaN (since Redis 8.6) |
223-
| `first` | Value with lowest timestamp in the bucket (ignores NaN values since Redis 8.6) |
224-
| `last` | Value with highest timestamp in the bucket (ignores NaN values since Redis 8.6) |
225-
| `std.p` | Population standard deviation of the non-NaN values (ignores NaN values since Redis 8.6) |
226-
| `std.s` | Sample standard deviation of the non-NaN values (ignores NaN values since Redis 8.6) |
227-
| `var.p` | Population variance of the non-NaN values (ignores NaN values since Redis 8.6) |
228-
| `var.s` | Sample variance of the non-NaN values (ignores NaN values since Redis 8.6) |
229-
| `twa` | Time-weighted average over the bucket's timeframe (ignores NaN values since Redis 8.6) |
223+
| `first` | Value with lowest timestamp in the bucket (ignores NaN values) |
224+
| `last` | Value with highest timestamp in the bucket (ignores NaN values) |
225+
| `std.p` | Population standard deviation of the non-NaN values (ignores NaN values) |
226+
| `std.s` | Sample standard deviation of the non-NaN values (ignores NaN values) |
227+
| `var.p` | Population variance of the non-NaN values (ignores NaN values) |
228+
| `var.s` | Sample variance of the non-NaN values (ignores NaN values) |
229+
| `twa` | Time-weighted average over the bucket's timeframe (ignores NaN values). Added in RedisTimeSeries v1.8. |
230230

231231
- `bucketDuration` is duration of each bucket, in milliseconds.
232232

0 commit comments

Comments
 (0)