Questions tagged [redistimeseries]

RedisTimeSeries is a source-available Redis module that extends Redis into a Time Series Database. It is available as part of Redis Stack, Redis Enterprise Cloud, and Redis Enterprise Sofware.

33 questions
0
votes
1 answer

TS.RANGE reports ERR TSDB: wrong fromTimestamp

With Azure Redis Cache (Enterprise E10 with TimeSeries module enabled) it is possible to retrieve all timestamps from a time series for the key "12345678:5" by calling: $ TS.RANGE 12345678:5 - + 1) 1) (integer) 1693407731665 2) 1 2) 1)…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
0
votes
2 answers

In a Lua script, how to sum up all values returned by Redis TS.RANGE call?

In Azure Redis Enterprise with TimeSeries module enabled I have the following time series with 4 values of 1 at the key "key1": $ TS.RANGE key1 - + 1) 1) (integer) 1693381431951 2) 1 2) 1) (integer) 1693381435201 2) 1 3) 1) (integer)…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
0
votes
1 answer

Lua redis() command arguments must be strings or integers - however the same command works at redis-cli prompt

There is a command, which works perfectly at my Redis Azure Cache "redis-cli" prompt (an Enterprise E10 instance with the TimeSeries module enabled): EVAL "redis.call('TS.ADD', KEYS[1], '*', ARGV[1], 'RETENTION', ARGV[2], 'ON_DUPLICATE', 'SUM',…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
0
votes
1 answer

Redis Timeseries mget does not fetch labels

I am trying to add labeled data to a Redis timeseries. Using Python I add the data, but trying to fetch the data using mget does not get anything. All I get is an empty list: import redis rd = redis.StrictRedis(host='localhost', port=6379,…
C.J.
  • 15,637
  • 9
  • 61
  • 77
0
votes
2 answers

How do i create a yocto recipe for RedisTimeSeries?

I'm trying to create a yocto recipe for Redis Time Series but i'm struggling. The build system used by RedisTSDB is weird to say the least. So far i have tried this: SUMMARY = "Time Series data structure for Redis" DESCRIPTION = "RedisTimeSeries is…
Toon Van Eyck
  • 69
  • 1
  • 10
0
votes
0 answers

How to import huge time series data from (DRF) to user interface (UI)

How to import huge time series data from (DRF) to user interface (UI) Hello, I am fetching data from Redis TimeSeries using the mrange command, and it returns data of around 4-5MB in size. I need to transfer this large data to the UI, but I don't…
0
votes
0 answers

live stock tick data transfer from one python code to other python code or flutter app

I am working on a personal project and would appreciate community's help. I am not highly experienced and my question may be trivial too, please apologize. i would like to transfer live tick data (dataframe) of a stock price from one python code to…
0
votes
2 answers

Redistimeseries python client library - support to issue optional field 'Latest' for methods Get, Mget, Range?

i need help with redistimeseries python client. When i use redisclientobject.range() method of python client, i am unable to provide the optional field [Latest]. is it not supported by python library?.. using "Latest" is critical for me because,…
0
votes
1 answer

redistimeseries fill missing data during aggregation

I have recently switched to redistimeseries and would like to know if filling null data is possible in when I "createrule" in redistimeseries. if yes, i request someone to help with a small piece of code for the same. More details below. I have been…
0
votes
1 answer

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

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…
LeanMan
  • 474
  • 1
  • 4
  • 18
0
votes
1 answer

Redis Timeseries - Representing the numberic value as a list of values

I'm new to Redis Timeseries and I'd like to know if it is possible to add data to a TS as a list of values instead of a single numeric value. Here my specific example about representing trading candles: # Creating a TS for open and close…
user840718
  • 1,563
  • 6
  • 29
  • 54
0
votes
1 answer

How to use "mrange" function in Python module "redis-py"?

I'm trying to get used to the redis-py Python module. I just can't figure out how the "mrange" function has to be used to get one or more Time-Series by its labels. In the CLI it looks like this and it works: TS.MRANGE - + FILTER area_id=32 But I…
TarX-
  • 3
  • 2
0
votes
1 answer

How to create a downsampling on downsampled key in redis timeseries

Here is the use case: I have metric called count I am downsampling it by creating a rule to the key/downsampling rule countPerMinute Now when I try and create another rule for hourlyAggregation(have a slightly complicated case) redis time series…
sampopes
  • 2,646
  • 1
  • 22
  • 34
0
votes
1 answer

Using RedisTimeSeries downsampling to aggregate data

I want to use redis timeseries to store item count. i.e Monitoring many companies and Company A has an account where they have added employees... When an employee adds an item I want to update their count of today, thisweek and thismonth and also…
I AM
  • 96
  • 1
  • 7
0
votes
0 answers

Does redistimeseries and the go client work with redis cluster?

I am trying out redistimeseries module with redis cluster and it's go and node clients. Is that supported ?