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/0.1.0/metrics-0.1.0.tbz
sha256=2a5c7bf7ba69631ab5427362cac7df5f88d4abcc2b6743400a308f9ead42c84b
md5=bdc701d2cbe8ec6a172c56468279dc38
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/metrics/metrics.0.1.0/opam