Liking cljdoc? Tell your friends :D
Clojure only.

steffan-westcott.clj-otel.exporter.prometheus

Metric data exporter to Prometheus.

Metric data exporter to Prometheus.
raw docstring

http-serverclj

(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:

keydescription
:hostThe host to bind to (default: "0.0.0.0").
:portThe port to bind to (default: 9464).
:executorExecutorService 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).
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close