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