TS.GET
Since 1.1.0Time series
Syntax
TS.GET key [LATEST]Returns the newest sample of the time series at key.
Reply
- An array of the timestamp and the value.
- An empty array for a series with no samples;
nilif the key does not exist.
Examples
> TS.GET temp:1
1) (integer) 4000
2) "23"