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-2.0"
24homepage: "https://github.com/mirage/prometheus"
25doc: "https://mirage.github.io/prometheus/"
26bug-reports: "https://github.com/mirage/prometheus/issues"
27depends: [
28 "ocaml" {>= "4.08"}
29 "dune" {>= "2.3"}
30 "prometheus" {= version}
31 "fmt" {>= "0.8.7"}
32 "re" {>= "1.8.0"}
33 "cohttp-lwt" {>= "4.0.0"}
34 "cohttp-lwt-unix" {>= "4.0.0"}
35 "lwt" {>= "2.5.0"}
36 "cmdliner"
37 "alcotest" {with-test}
38 "alcotest-lwt" {with-test}
39 "asetmap"
40 "astring"
41 "logs" {>= "0.6.0"}
42]
43build: [
44 ["dune" "build" "-p" name "-j" jobs]
45 ["dune" "runtest" "-p" name "-j" jobs] {with-test}
46]
47dev-repo: "git+https://github.com/mirage/prometheus.git"
48url {
49 src:
50 "https://github.com/mirage/prometheus/releases/download/v1.2/prometheus-1.2.tbz"
51 checksum: [
52 "sha256=83643a029a6b6de71d14034eee2e94feff1d08755c4a41d583dc1530ab555bcb"
53 "sha512=bbec7f0728b850b991ec50e76ef2c999341a9469ceaa11b68180f060150c4fe62f3dca87c13914ac331b3d7ef6e46256ae11466b607ecb60d00b8f284cab86b9"
54 ]
55}
56x-commit-hash: "d1669d0e0d7e44b104755a0fd9700ae87e140f34"