Skip to content

Add a blocking client API #10

@puetzp

Description

@puetzp

In the spirit of reqwest, add an implementation of prometheus_http_query::Client that can be used in synchronous code.

Currently the async Client and all async shortcut functions like label_values are situated directly under the crate root.
The blocking API could be realized in a blocking module that contains a blocking::Client and all the shortcut functions e.g. blocking::label_values.

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