Metric data exporter to Prometheus.
Metric data exporter to Prometheus.
(http-server)
(http-server {:keys [host port executor]})
Returns a Prometheus HTTP server which acts as a MetricReader
implementation. May take an option map as follows:
key | description |
---|---|
:host | The host to bind to (default: "0.0.0.0" ). |
:port | The port to bind to (default: 9464 ). |
:executor | ExecutorService to use for the Prometheus HTTP server (default: a fixed pool of 5 daemon threads). |
Returns a Prometheus HTTP server which acts as a `MetricReader` implementation. May take an option map as follows: | key | description | |-----------|-------------| |`:host` | The host to bind to (default: `"0.0.0.0"`). |`:port` | The port to bind to (default: `9464`). |`:executor`| `ExecutorService` to use for the Prometheus HTTP server (default: a fixed pool of 5 daemon threads).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close