forked from mirage/metrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metrics.opam
36 lines (32 loc) · 1.17 KB
/
metrics.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
opam-version: "2.0"
maintainer: "[email protected]"
authors: ["Thomas Gazagnaire"]
license: "ISC"
homepage: "https://github.com/mirage/metrics"
bug-reports: "https://github.com/mirage/metrics/issues"
dev-repo: "git+https://github.com/mirage/metrics.git"
doc: "https://mirage.github.io/metrics/"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.04.0"}
"dune" {>= "1.4"}
"fmt" {>= "0.8.7"}
"alcotest" {with-test}
]
synopsis: "Metrics infrastructure for OCaml"
description: """
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).
"""