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.4.1/metrics-0.4.1.tbz
sha256=77e0c20fb5c1d06103dbb0ec0bc6045bee3c61c00ad0423c97852ac7f3c6144d
sha512=8da6e5666a9196f7c6aa77de034a1410e2dd89ee717ffd179ed480c7d4cd9f9e2088abefc05ba8b53a6668bc36ff4fd2d5af2e5a1b79ecd00e2ec35592591dbf
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/metrics/metrics.0.4.1/opam