Skip to content

Async Querying #242

Description

@peterder72

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions