Client library to the Prometheus HTTP API.
All methods take a connection conn as a first argument. It's just a simple map in the form:
{:url "<prometheus_base_url>"}
The :url field value must contain the base URL of the Prometheus instance. It is not expected to contain the "/api/v1" part.
E.g. to connect to a local Prometheus instance:
{:url "http://localhost:9090"}
Client library to the [Prometheus HTTP API](https://prometheus.io/docs/prometheus/latest/querying/api/).
All methods take a connection `conn` as a first argument. It's just a simple map in the form:
```clojure
{:url "<prometheus_base_url>"}
```
The :url field value must contain the base URL of the Prometheus instance. It is not expected to contain the "/api/v1" part.
E.g. to connect to a local Prometheus instance:
```clojure
{:url "http://localhost:9090"}
```cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs | 
| ← | Move to previous article | 
| → | Move to next article | 
| Ctrl+/ | Jump to the search field |