RedisTimeSeries / redistimeseries-go

golang client lib for RedisTimeSeries

Home Page:https://redistimeseries.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TS.INCRBY/TS.DECRBY - Increment the latest value

RoeyPrat opened this issue · comments

@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

hi there @RoeyPrat , I believe the part that is still relevant to the > 1.2 version is solved by #60 . should we close this?