retentionTime - Maximum age for samples compared to last event time (in milliseconds). It should be more explicit like this
retentionTime - Maximum age of samples to be retained compared to this (last) event time (in milliseconds). And samples wont be deleted before new Sample with retention is added to TS.
Hi I have a quick question regarding a problem I am having recording a timeseries of a python dictionary. I have a whole structure of keys and values and sub-key values etc.. I am trying to record everytime one of the values changes. (standard stuff). I am raising:
redis.exceptions.ResponseError: TSDB: invalid value
I am wondering if that is because my dictionary's keys are strings(as opposed to numeric) or if there is a size limit? or some other issue..
conn_db_2 = Client(host = '127.0.0.1', port = '6379', db=2) json_SIDdict = json.dumps(SIDdict[SID], indent=4, sort_keys=True, default=str) conn_db_2.add(SID, int(round(time.time() * 10000)),json_SIDdict)
json_SIDdict? are these static labels of the timeseries?
bl_bin_ts = Client(host = '127.0.0.1', port = '6379', db=19)
bl_bin_ts.add(SID, timenow ,SIDdict[SID]['bl_bin’])