TS.INCRBY/TS.DECRBY - Increment the latest value
RoeyPrat opened this issue · comments
Roey Prat commented
Roey Prat commented
@danni-m - i think documentation might be wrong for this command.
I'll skip implementing this for a while. please update if and when documentation changes.
TS.INCRBY/TS.DECRBY - Incrment the latest value
TS.INCRBY key [VALUE] [RESET] [TIME_BUCKET]
This command can be used as a counter/gauge that get automatic history as a time series.key - key name for timeseries Optional args:
VALUE - one of the following: avg, sum, min, max, count, first, last
RESET - Should the current counter should be resetted when TIME_BUCKET is changes
TIME_BUCKET - time bucket for resetting the current counter in seconds
Filipe Oliveira (Personal) commented