prometheus-appversion
Client library for Prometheus monitoring
Applications can enable metric reporting using the prometheus-app
opam package.
This depends on cohttp and can serve the metrics collected above over HTTP.
The prometheus-app.unix
ocamlfind library provides the Prometheus_unix
module,
which includes a cmdliner option and pre-configured web-server.
See the examples/example.ml
program for an example, which can be run as:
$ dune exec -- examples/example.exe --listen-prometheus=9090
If run with the option --listen-prometheus=9090, this program serves metrics at
http://localhost:9090/metrics
Tick!
Tick!
...
Unikernels can use Prometheus_app
instead of Prometheus_unix
to avoid the Unix
dependency.
Authors | Thomas Leonard and David Scott |
---|---|
License | Apache |
Published | |
Homepage | https://github.com/mirage/prometheus |
Issue Tracker | https://github.com/mirage/prometheus/issues |
Maintainer | talex5@gmail.com |
Dependencies |
|
Source [http] | https://github.com/mirage/prometheus/releases/download/v1.0/prometheus-v1.0.tbz sha256=d17cec111516fa188d4a41add0c6c1f0dba1bc9ca4aa53c52cc9be21019aac26 sha512=be54f970d9397e2f338fe30bcd463ae1b11d9337027290ec272d7a9f8cceea8b8907d6d1ccb5708f0378810b7df13d598bbed461a8e37b145435a3e66f733956 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/prometheus-app/prometheus-app.1.0/opam |
Required by
- currentwith-test & >=0.4 & <0.6.2
- current_examples>=0.4 & <0.6.2
- current_web<0.6.2
- datakit>=0.9.0
- datakit-bridge-github
- datakit-ci
- ocluster<0.2
- prometheus-liquidsoap
- tezos-node=13.0