package prometheus-app
Client library for Prometheus monitoring
Install
Dune Dependency
Authors
Maintainers
Sources
prometheus-v1.1.tbz
sha256=fbcf8bb28c02bfe4f61d2494bc2b70fdedd62f2b41fd1343e6f73d583bf599e4
sha512=9cf49689f6d33138cf41eca585e0d15bd17f670a3334b8235a52cc6c210fdc763fb967b19a91a110759a206aa9223cca1c7064e0eb2e2e6d3d13957ec7a38201
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)"
>