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 is a website building & hosting documentation for Clojure/Script libraries
× close