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-2.0 |
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.2/prometheus-1.2.tbz sha256=83643a029a6b6de71d14034eee2e94feff1d08755c4a41d583dc1530ab555bcb sha512=bbec7f0728b850b991ec50e76ef2c999341a9469ceaa11b68180f060150c4fe62f3dca87c13914ac331b3d7ef6e46256ae11466b607ecb60d00b8f284cab86b9 |
Edit | https://github.com/ocaml/opam-repository/tree/master/packages/prometheus-app/prometheus-app.1.2/opam |
Required by
- currentwith-test & >=0.6.2
- current_examples>=0.6.2
- current_web>=0.6.2
- datakit>=0.9.0
- datakit-bridge-github
- datakit-ci
- ocluster>=0.2
- ocluster-worker
- octez-dal-node
- octez-node
- octez-rpc-process
- octez-smart-rollup-node<18.1
- octez-smart-rollup-node-lib
- octez-smart-rollup-node-PtMumbai<17.1
- prometheus-liquidsoap
- tezos-node>=13.0