metricsversion

Metrics infrastructure for OCaml

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.

AuthorThomas Gazagnaire
LicenseISC
Published
Homepagehttps://github.com/mirage/metrics
Issue Trackerhttps://github.com/mirage/metrics/issues
Maintainerthomas@gazagnaire.org
Dependencies
Source [http] https://github.com/mirage/metrics/releases/download/v0.5.0/metrics-0.5.0.tbz
sha256=df356380909d06461bcd097ef6063ca9f3c51365f476a797c03664b53c05715d
sha512=06e0aef8ba7a09a350cbf7219822c01047afcc9cd2870ca153040e1232d2b8560882ae6823e7797f061fa0b34da750d88365c8817cd025715b2e891320d77c19
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/metrics/metrics.0.5.0/opam