package prometheus-app
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Client library for Prometheus monitoring
Install
dune-project
Dependency
Authors
Maintainers
Sources
prometheus-1.3.tbz
sha256=e02d14cf068282ab64e5218863cf6b83477176b2a6eb796175c39a4006b6d0bf
sha512=d7b5d6e36b0ad1cc520467783d932b6638d19b064841566170fb4bf95ac69d07c4723199e21bbfee9d0c1cb81e3c5e5f33d5d6975f7c5820b8ab026af0ab22f5
Description
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.
Published: 09 Dec 2025
Dependencies (12)
-
logs
>= "0.6.0" - astring
- asetmap
- cmdliner
-
lwt
>= "2.5.0" -
cohttp-lwt-unix
>= "4.0.0" -
cohttp-lwt
>= "4.0.0" - re
-
fmt
>= "0.8.7" -
prometheus
= version -
dune
>= "2.3" -
ocaml
>= "4.08"
Dev Dependencies (2)
-
alcotest-lwt
with-test -
alcotest
with-test
Used by (12)
-
current
>= "0.6.2" -
current_examples
>= "0.6.2" -
current_web
>= "0.6.2" -
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.3" - prometheus-liquidsoap
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page