Metrics infrastructure for OCaml
Install
Authors
Maintainers
Sources
metrics-0.4.0.tbz
sha256=91b8755a4b5090371713c3b55919bebed6a055f4aa97c4b982bd1b5e7fe389af
sha512=00b271b74b7081b2fe202f402c9be6fef70da7241ee82a82b7a52329aad7c1d73c0eb7ee579a20a08c0e54f546351104dd822052624654ecbfc1c33d067656fa
Description
Metrics provides a basic infrastructure to monitor and gather runtime metrics for OCaml program. Monitoring is performed on sources, indexed by tags, allowing users to enable or disable at runtime the gathering of data-points. As disabled metric sources have a low runtime cost (only a closure allocation), the library is designed to instrument production systems.
Metric reporting is decoupled from monitoring and is handled by a custom reporter. A few reporters are (will be) provided by default.
Metrics is heavily inspired by Logs.
Published: 28 Jan 2022
Dev Dependencies (1)
-
alcotest
with-test
Used by (17)
- albatross
- builder-web
- caldav
-
dns
>= "4.4.0"
-
dns-server
>= "4.2.0"
- dns-stub
- index-bench
-
irmin-test
>= "2.3.0"
-
metrics-influx
>= "0.4.0"
-
metrics-lwt
< "0.2.0" | >= "0.4.0"
-
metrics-rusage
>= "0.4.0"
-
metrics-unix
< "0.2.0" | >= "0.4.0"
- mirage-monitoring
-
mirage-net-solo5
>= "0.6.2"
-
mirage-solo5
>= "0.6.0"
-
mirage-xen
>= "8.0.2"
-
tcpip
>= "6.3.0"
Conflicts
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page