Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Async Version of PrometheusConnect #298

Open
@RiviaAzusa

Description

@4n4nd Hi~, I want to provide an async version of PrometheusConnect

Is your feature request related to a problem? Please describe.

Yes. The current implementation of PrometheusConnect uses the synchronous requests library, which can block the main thread and is not suitable for asynchronous applications (e.g., those using asyncio).

Describe the solution you'd like

I would like to propose an asynchronous version of PrometheusConnect, using an async HTTP client such as httpx or aiohttp. This would allow non-blocking communication with Prometheus servers and better integration with async Python applications.

Describe alternatives you've considered

Maybe can provide a async version named APrometheusConnect, user can free to choose one.

If you are open to this idea, I’d be happy to help implement and test it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /