This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
31
unikernel/duniverse/metrics/README.md
Normal file
31
unikernel/duniverse/metrics/README.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
### Metrics -- 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](http://erratique.ch/software/logs).
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
Metrics can be installed with `opam`:
|
||||
|
||||
opam install metrics
|
||||
|
||||
If you don't use `opam` consult the [`opam`](opam) file for build
|
||||
instructions.
|
||||
|
||||
## Documentation
|
||||
|
||||
The documentation and API reference is automatically generated by
|
||||
`odoc` from the interfaces. It can be consulted [online][5].
|
||||
|
||||
[5]: https://ocaml.org/p/metrics/latest/doc/Metrics/index.html
|
||||
Loading…
Add table
Add a link
Reference in a new issue