Async Querying
peterder72 opened this issue · 2 comments
I'm using this library for a project of mine where I need to gather 48h worth of timestamp data. While the library gets the job done, since all requests are made sequentially (prometheus_connect.py
), it takes a ridiculous amount of time to fetch all data while keeping the server resources under-utilized.
A nice idea would be to introduce Async querying functionality to the library (e.g. async_get_metric_range_data
) to keep the server busy and have better loading times.
If there are no objections, I can start with the implementation.
Thanks for the suggestion @peterder72, I think that's a great idea!
If there are no objections, I can start with the implementation.
Sure, feel free to get started with the implementation :)
/assign peterder72
Hi there !
I wonder if there's news about this issue ?