Skip to content

RedisTimeSeries timeseries commands (17/17 implemented)

TS.CREATE

Create a new time series

TS.DEL

Delete all samples between two timestamps for a given time series

TS.ALTER

Update the retention, chunk size, duplicate policy, and labels of an existing time series

TS.ADD

Append a sample to a time series

TS.MADD

Append new samples to one or more time series

TS.INCRBY

Increase the value of the sample with the maximum existing timestamp, or create a new sample with a value equal to the value of the sample with the maximum existing timestamp with a given increment

TS.DECRBY

Decrease the value of the sample with the maximum existing timestamp, or create a new sample with a value equal to the value of the sample with the maximum existing timestamp with a given decrement

TS.CREATERULE

Create a compaction rule

TS.DELETERULE

Delete a compaction rule

TS.RANGE

Query a range in forward direction

TS.REVRANGE

Query a range in reverse direction

TS.MRANGE

Query a range across multiple time series by filters in forward direction

TS.MREVRANGE

Query a range across multiple time-series by filters in reverse direction

TS.GET

Get the sample with the highest timestamp from a given time series

TS.MGET

Get the sample with the highest timestamp from each time series matching a specific filter

TS.INFO

Returns information and statistics for a time series

TS.QUERYINDEX

Get all time series keys matching a filter list