|
| 1 | +opam-version: "2.0" |
| 2 | + |
| 3 | +authors: ["Thomas Gazagnaire"] |
| 4 | +license: "ISC" |
| 5 | +homepage: "https://github.com/mirage/metrics" |
| 6 | +bug-reports: "https://github.com/mirage/metrics/issues" |
| 7 | +dev-repo: "git+https://github.com/mirage/metrics.git" |
| 8 | +doc: "https://mirage.github.io/metrics/" |
| 9 | + |
| 10 | +build: [ |
| 11 | + ["dune" "subst"] {dev} |
| 12 | + ["dune" "build" "-p" name "-j" jobs] |
| 13 | + ["dune" "runtest" "-p" name "-j" jobs] {with-test} |
| 14 | +] |
| 15 | + |
| 16 | +depends: [ |
| 17 | + "ocaml" {>= "4.04.0"} |
| 18 | + "dune" {>= "1.4"} |
| 19 | + "fmt" {>= "0.8.7"} |
| 20 | + "alcotest" {with-test} |
| 21 | +] |
| 22 | +synopsis: "Metrics infrastructure for OCaml" |
| 23 | +description: """ |
| 24 | +Metrics provides a basic infrastructure to monitor and gather runtime |
| 25 | +metrics for OCaml program. Monitoring is performed on sources, indexed |
| 26 | +by tags, allowing users to enable or disable at runtime the gathering |
| 27 | +of data-points. As disabled metric sources have a low runtime cost |
| 28 | +(only a closure allocation), the library is designed to instrument |
| 29 | +production systems. |
| 30 | + |
| 31 | +Metric reporting is decoupled from monitoring and is handled by a |
| 32 | +custom reporter. A few reporters are (will be) provided by default. |
| 33 | + |
| 34 | +Metrics is heavily inspired by |
| 35 | +[Logs](http://erratique.ch/software/logs). |
| 36 | +""" |
| 37 | +x-maintenance-intent: [ "(latest)" ] |
| 38 | +url { |
| 39 | + src: |
| 40 | + "https://github.com/mirage/metrics/releases/download/v0.5.0/metrics-0.5.0.tbz" |
| 41 | + checksum: [ |
| 42 | + "sha256=df356380909d06461bcd097ef6063ca9f3c51365f476a797c03664b53c05715d" |
| 43 | + "sha512=06e0aef8ba7a09a350cbf7219822c01047afcc9cd2870ca153040e1232d2b8560882ae6823e7797f061fa0b34da750d88365c8817cd025715b2e891320d77c19" |
| 44 | + ] |
| 45 | +} |
| 46 | +x-commit-hash: "5d3133c4a461d00eb97cc31b09d8126e49632c0f" |
0 commit comments