Skip to content

Time Series commands

Module currently not implemented in fakeredis.

Unsupported timeseries commands

To implement support for a command, see here

TS.CREATE (not implemented)

Create a new time series

TS.DEL (not implemented)

Delete all samples between two timestamps for a given time series

TS.ALTER (not implemented)

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

TS.ADD (not implemented)

Append a sample to a time series

TS.MADD (not implemented)

Append new samples to one or more time series

TS.INCRBY (not implemented)

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 (not implemented)

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 (not implemented)

Create a compaction rule

TS.DELETERULE (not implemented)

Delete a compaction rule

TS.RANGE (not implemented)

Query a range in forward direction

TS.REVRANGE (not implemented)

Query a range in reverse direction

TS.MRANGE (not implemented)

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

TS.MREVRANGE (not implemented)

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

TS.GET (not implemented)

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

TS.MGET (not implemented)

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

TS.INFO (not implemented)

Returns information and statistics for a time series

TS.QUERYINDEX (not implemented)

Get all time series keys matching a filter list