package prometheus-app
Client library for Prometheus monitoring
Install
Dune Dependency
Authors
Maintainers
Sources
prometheus-v1.0.tbz
sha256=d17cec111516fa188d4a41add0c6c1f0dba1bc9ca4aa53c52cc9be21019aac26
sha512=be54f970d9397e2f338fe30bcd463ae1b11d9337027290ec272d7a9f8cceea8b8907d6d1ccb5708f0378810b7df13d598bbed461a8e37b145435a3e66f733956
doc/prometheus-app.unix/Prometheus_unix/index.html
Module Prometheus_unix
Source
Report metrics for Prometheus. See: https://prometheus.io/
Notes:
- This module is intended to be used by applications that export Prometheus metrics. Libraries should only link against the `Prometheus` module.
- This module automatically initialises itself and registers some standard collectors relating to GC statistics, as recommended by Prometheus.
- This extends
Prometheus_app
with support for cmdliner option parsing, a server pre-configured for Unix, and a start-time metric that usesUnix.gettimeofday
.
serve config
starts a Cohttp server according to config. It returns a singleton list containing the thread to monitor, or an empty list if no server is configured.
opts
is the extra command-line options to offer Prometheus monitoring.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>