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.2.0/metrics-0.2.0.tbz
sha256=0f4ff94e0b632dffd8b1d6c180cc0e49873cf29ba6a6f8e1a3e8d811252b4148
sha512=3f1a6cfbcc674409a7382446084c11c3646e6b380e4972306334e7fa0e558d256dadfd39f7f3acd32afffe78757f66ecefc1b7960ae366afe09397ba0bbdaf68
StatisticsInstalled 6002 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/metrics/metrics.0.2.0/opam