TS.MADD

Since 1.1.0Time series

Syntax

TS.MADD key timestamp value [key timestamp value ...]
  • Flags: write
  • ACL categories: @slow, @timeseries, @write
  • Arity: -2

Adds samples to one or more time series in one call, creating series that do not exist.

Reply

  • An array of the timestamps stored, one per sample.

Examples

> TS.MADD temp:1 5000 24 temp:2 5000 17
1) (integer) 5000
2) (integer) 5000