package metrics
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Metrics infrastructure for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
metrics-0.5.0.tbz
sha256=df356380909d06461bcd097ef6063ca9f3c51365f476a797c03664b53c05715d
sha512=06e0aef8ba7a09a350cbf7219822c01047afcc9cd2870ca153040e1232d2b8560882ae6823e7797f061fa0b34da750d88365c8817cd025715b2e891320d77c19
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: 19 Jun 2025
Dev Dependencies (1)
-
alcotest
with-test
Used by (14)
- caldav
-
dns
>= "4.4.1"
- dns-server
- dns-stub
- index-bench
- irmin-test
-
metrics-influx
>= "0.5.0"
-
metrics-lwt
>= "0.5.0"
-
metrics-rusage
>= "0.5.0"
-
metrics-unix
>= "0.5.0"
- mirage-net-solo5
- mirage-solo5
- mirage-xen
- tcpip
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page