Can you store complex data types into RedisTimeseries instead of just a numeric value?

475 Views Asked by At

I would like to add different types to my Timeseries database. For example, I may want to store a byte string or hashmodel but it seems like it can't and instead I get redis.exceptions.ResponseError: TSDB: invalid value

Is there not a way to add other types other than values in RedisTimeseries?

1

There are 1 best solutions below

5
On

You cannot. Each sample must be composed of a 64-bit integer timestamp (milliseconds since the UNIX epoch) and a 64-bit floating-point value. That's it.