this repo has no description
1opam-version: "2.0"
2synopsis: "Client library for Prometheus monitoring"
3description: """\
4Applications can enable metric reporting using the `prometheus-app` opam package.
5This depends on cohttp and can serve the metrics collected above over HTTP.
6
7The `prometheus-app.unix` ocamlfind library provides the `Prometheus_unix` module,
8which includes a cmdliner option and pre-configured web-server.
9See the `examples/example.ml` program for an example, which can be run as:
10
11```shell
12$ dune exec -- examples/example.exe --listen-prometheus=9090
13If run with the option --listen-prometheus=9090, this program serves metrics at
14http://localhost:9090/metrics
15Tick!
16Tick!
17...
18```
19
20Unikernels can use `Prometheus_app` instead of `Prometheus_unix` to avoid the `Unix` dependency."""
21maintainer: "talex5@gmail.com"
22authors: ["Thomas Leonard" "David Scott"]
23license: "Apache"
24homepage: "https://github.com/mirage/prometheus"
25doc: "https://mirage.github.io/prometheus/"
26bug-reports: "https://github.com/mirage/prometheus/issues"
27depends: [
28 "ocaml" {>= "4.02.3"}
29 "dune" {>= "1.0"}
30 "prometheus" {= version}
31 "fmt"
32 "re" {>= "1.8.0"}
33 "cohttp" {>= "1.0.0"}
34 "cohttp-lwt"
35 "cohttp-lwt-unix"
36 "lwt" {>= "2.5.0"}
37 "cmdliner"
38 "alcotest" {with-test}
39 "asetmap"
40 "astring"
41 "logs"
42]
43build: [
44 ["dune" "subst"] {dev}
45 ["dune" "build" "-p" name "-j" jobs]
46 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
47]
48dev-repo: "git+https://github.com/mirage/prometheus.git"
49url {
50 src:
51 "https://github.com/mirage/prometheus/releases/download/v1.0/prometheus-v1.0.tbz"
52 checksum: [
53 "sha256=d17cec111516fa188d4a41add0c6c1f0dba1bc9ca4aa53c52cc9be21019aac26"
54 "sha512=be54f970d9397e2f338fe30bcd463ae1b11d9337027290ec272d7a9f8cceea8b8907d6d1ccb5708f0378810b7df13d598bbed461a8e37b145435a3e66f733956"
55 ]
56}