Skip to content

Commit e2cd2f3

Browse files
DOC-5424 removed remaining non-ms time references
1 parent c3cc2f0 commit e2cd2f3

File tree

1 file changed

+8
-8
lines changed
  • content/develop/data-types/timeseries

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ corresponding
237237
[`TS.MGET`]({{< relref "commands/ts.mget/" >}}),
238238
[`TS.MRANGE`]({{< relref "commands/ts.mrange/" >}}), and
239239
[`TS.MREVRANGE`]({{< relref "commands/ts.mrevrange/" >}}) versions that
240-
operate on multiple time series. `TS.MGET` returns the last data point added
241-
to each time series, while `TS.MRANGE` and `TS.MREVRANGE`
240+
operate on multiple time series. `TS.MGET` returns the data point with the highest
241+
timestamp from each time series, while `TS.MRANGE` and `TS.MREVRANGE`
242242
return data points from a range of timestamps in each time series.
243243

244244
The parameters are mostly the same except that the multiple time series
@@ -253,8 +253,8 @@ for details of the filter syntax. You can also request that
253253
data points be returned with all their labels or with a selected subset of them.
254254

255255
```bash
256-
# Create three new "rg: time series, two in the US
257-
# and one in the UK, with different units and add some
256+
# Create three new "rg: time series (two in the US
257+
# and one in the UK, with different units) and add some
258258
# data points.
259259
> TS.CREATE rg:2 LABELS location us unit cm
260260
OK
@@ -379,7 +379,7 @@ The available aggregation functions are:
379379
- `twa`: Time-weighted average over the bucket's timeframe (since RedisTimeSeries v1.8)
380380

381381
For example, the example below shows an aggregation with the `avg` function over all
382-
five data points in the `rg:2` time series. The bucket size is two days, so there are three
382+
five data points in the `rg:2` time series. The bucket size is 2ms, so there are three
383383
aggregated values with only one value used to calculate the average for the last bucket.
384384

385385
```bash
@@ -461,7 +461,7 @@ By default, the results from
461461
[`TS.MREVRANGE`]({{< relref "commands/ts.mrevrange/" >}}) are grouped by time series. However, you can use the `GROUPBY` and `REDUCE` options to group them by label and apply an aggregation over elements
462462
that have the same timestamp and the same label value (this feature is available from RedisTimeSeries v1.6 onwards).
463463

464-
For example, the following commands create four time series, two for the UK and two for the US, and add some data points. The first `TS.MRANGE` command groups the results by country and applies a `max` aggregation to find the maximum wind speed in each country at each timestamp. The second `TS.MRANGE` command uses the same grouping, but applies an `avg` aggregation.
464+
For example, the following commands create four time series, two for the UK and two for the US, and add some data points. The first `TS.MRANGE` command groups the results by country and applies a `max` aggregation to find the maximum sample value in each country at each timestamp. The second `TS.MRANGE` command uses the same grouping, but applies an `avg` aggregation.
465465

466466
```bash
467467
> TS.CREATE wind:1 LABELS country uk
@@ -578,9 +578,9 @@ OK
578578
.
579579
```
580580

581-
Adding data points within the first three days (the first bucket) doesn't
581+
Adding data points within the first 3ms (the first bucket) doesn't
582582
produce any data in the compacted series. However, when you add data for
583-
day 4 (in the second bucket), the compaction rule computes the minimum
583+
time 4 (in the second bucket), the compaction rule computes the minimum
584584
value for the first bucket and adds it to the compacted series.
585585

586586
```bash

0 commit comments

Comments
 (0)