this repo has no description

[new release] prometheus and prometheus-app (1.2)

CHANGES:

- Add lwt collectors and pre-collectors (@killian-delarue, mirage/prometheus#43).
Note that this is a temporary feature while we wait for OCaml 5 to be released,
when this can be replaced by the use of effects.

- Fix deprecations in Fmt 0.8.10 (@MisterDA, mirage/prometheus#36).

- General build updates, upstream deprecations, etc (@talex5, mirage/prometheus#33 mirage/prometheus#34 mirage/prometheus#35 mirage/prometheus#40 mirage/prometheus#42).

Changed files
+132 -37
packages
current
current.0.1
current.0.2
current.0.3
current.0.4
current.0.5
current.0.6
current.0.6.1
current_examples
current_examples.0.4
current_examples.0.5
current_examples.0.6
current_examples.0.6.1
current_web
current_web.0.1
current_web.0.2
current_web.0.3
current_web.0.4
current_web.0.5
current_web.0.6
current_web.0.6.1
ocluster
ocluster.0.1
prometheus
prometheus.1.2
prometheus-app
prometheus-app.0.2
prometheus-app.0.3
prometheus-app.0.4
prometheus-app.0.5
prometheus-app.0.6
prometheus-app.0.7
prometheus-app.1.0
prometheus-app.1.1
prometheus-app.1.2
+3 -3
packages/current/current.0.1/opam
···
]
depends: [
"ocaml" {>= "4.08.0"}
-
"fmt"
"bos"
"ppx_deriving"
-
"lwt"
"cmdliner"
"sqlite3"
"duration"
"prometheus"
"dune" {>= "1.9"}
-
"re"
"lwt-dllist"
"alcotest-lwt" {with-test & < "1.0.0"}
]
···
]
depends: [
"ocaml" {>= "4.08.0"}
+
"fmt" {>= "0.8.7"}
"bos"
"ppx_deriving"
+
"lwt" {>= "4.3.0"}
"cmdliner"
"sqlite3"
"duration"
"prometheus"
"dune" {>= "1.9"}
+
"re" {>= "1.9.0"}
"lwt-dllist"
"alcotest-lwt" {with-test & < "1.0.0"}
]
+3 -3
packages/current/current.0.2/opam
···
depends: [
"ocaml" {>= "4.08.0"}
"current_incr" {= version}
-
"fmt"
"bos"
"ppx_deriving"
-
"lwt"
"cmdliner"
"sqlite3"
"duration"
"prometheus"
"dune" {>= "1.9"}
-
"re"
"lwt-dllist"
"alcotest-lwt" {>= "1.0.1" & < "1.2.0" & with-test}
]
···
depends: [
"ocaml" {>= "4.08.0"}
"current_incr" {= version}
+
"fmt" {>= "0.8.7"}
"bos"
"ppx_deriving"
+
"lwt" {>= "4.3.0"}
"cmdliner"
"sqlite3"
"duration"
"prometheus"
"dune" {>= "1.9"}
+
"re" {>= "1.9.0"}
"lwt-dllist"
"alcotest-lwt" {>= "1.0.1" & < "1.2.0" & with-test}
]
+3 -3
packages/current/current.0.3/opam
···
depends: [
"ocaml" {>= "4.08.0"}
"current_incr" {= version}
-
"fmt"
"bos"
"ppx_deriving"
-
"lwt"
"cmdliner"
"sqlite3"
"duration"
"prometheus"
"dune" {>= "2.0"}
-
"re"
"lwt-dllist"
"alcotest-lwt" {>= "1.0.1" & < "1.2.0" & with-test}
]
···
depends: [
"ocaml" {>= "4.08.0"}
"current_incr" {= version}
+
"fmt" {>= "0.8.7"}
"bos"
"ppx_deriving"
+
"lwt" {>= "4.3.0"}
"cmdliner"
"sqlite3"
"duration"
"prometheus"
"dune" {>= "2.0"}
+
"re" {>= "1.9.0"}
"lwt-dllist"
"alcotest-lwt" {>= "1.0.1" & < "1.2.0" & with-test}
]
+4 -4
packages/current/current.0.4/opam
···
depends: [
"ocaml" {>= "4.08.0"}
"current_incr" {= version}
-
"fmt"
"bos"
"ppx_deriving"
-
"lwt"
"cmdliner"
"sqlite3"
"duration"
"prometheus"
"dune" {>= "2.0"}
-
"re"
"lwt-dllist"
"alcotest" {>= "1.2.0" & with-test}
"alcotest-lwt" {>= "1.2.0" & with-test}
···
"fpath" {>= "0.7.3"}
"logs" {>= "0.7.0"}
"result" {>= "1.5"}
-
"prometheus-app" {>= "0.7" & with-test}
]
build: [
["dune" "build" "-p" name "-j" jobs]
···
depends: [
"ocaml" {>= "4.08.0"}
"current_incr" {= version}
+
"fmt" {>= "0.8.7"}
"bos"
"ppx_deriving"
+
"lwt" {>= "4.3.0"}
"cmdliner"
"sqlite3"
"duration"
"prometheus"
"dune" {>= "2.0"}
+
"re" {>= "1.9.0"}
"lwt-dllist"
"alcotest" {>= "1.2.0" & with-test}
"alcotest-lwt" {>= "1.2.0" & with-test}
···
"fpath" {>= "0.7.3"}
"logs" {>= "0.7.0"}
"result" {>= "1.5"}
+
"prometheus-app" {with-test & >= "0.7" & < "1.2"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
+1 -1
packages/current/current.0.5/opam
···
"fpath" {>= "0.7.3"}
"logs" {>= "0.7.0"}
"result" {>= "1.5"}
-
"prometheus-app" {>= "0.7" & with-test}
]
conflicts: [
"seq" {< "base"}
···
"fpath" {>= "0.7.3"}
"logs" {>= "0.7.0"}
"result" {>= "1.5"}
+
"prometheus-app" {with-test & >= "0.7" & < "1.2"}
]
conflicts: [
"seq" {< "base"}
+1 -1
packages/current/current.0.6.1/opam
···
"fpath" {>= "0.7.3"}
"logs" {>= "0.7.0"}
"result" {>= "1.5"}
-
"prometheus-app" {>= "0.7" & with-test}
"conf-libev" {os != "win32"}
]
build: [
···
"fpath" {>= "0.7.3"}
"logs" {>= "0.7.0"}
"result" {>= "1.5"}
+
"prometheus-app" {with-test & >= "0.7" & < "1.2"}
"conf-libev" {os != "win32"}
]
build: [
+1 -1
packages/current/current.0.6/opam
···
"fpath" {>= "0.7.3"}
"logs" {>= "0.7.0"}
"result" {>= "1.5"}
-
"prometheus-app" {>= "0.7" & with-test}
"conf-libev" {os != "win32"}
]
build: [
···
"fpath" {>= "0.7.3"}
"logs" {>= "0.7.0"}
"result" {>= "1.5"}
+
"prometheus-app" {with-test & >= "0.7" & < "1.2"}
"conf-libev" {os != "win32"}
]
build: [
+1 -1
packages/current_examples/current_examples.0.4/opam
···
"routes" {>= "0.8.0"}
"uri" {>= "4.0.0"}
"yojson" {>= "1.7.0"}
-
"prometheus-app" {>= "1.0"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
···
"routes" {>= "0.8.0"}
"uri" {>= "4.0.0"}
"yojson" {>= "1.7.0"}
+
"prometheus-app" {>= "1.0" & < "1.2"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
+1 -1
packages/current_examples/current_examples.0.5/opam
···
"routes" {>= "0.8.0"}
"uri" {>= "4.0.0"}
"yojson" {>= "1.7.0"}
-
"prometheus-app" {>= "1.0"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
···
"routes" {>= "0.8.0"}
"uri" {>= "4.0.0"}
"yojson" {>= "1.7.0"}
+
"prometheus-app" {>= "1.0" & < "1.2"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
+1 -1
packages/current_examples/current_examples.0.6.1/opam
···
"routes" {>= "0.8.0"}
"uri" {>= "4.0.0"}
"yojson" {>= "1.7.0"}
-
"prometheus-app" {>= "1.0"}
"mdx" {with-test}
]
build: [
···
"routes" {>= "0.8.0"}
"uri" {>= "4.0.0"}
"yojson" {>= "1.7.0"}
+
"prometheus-app" {>= "1.0" & < "1.2"}
"mdx" {with-test}
]
build: [
+1 -1
packages/current_examples/current_examples.0.6/opam
···
"routes" {>= "0.8.0"}
"uri" {>= "4.0.0"}
"yojson" {>= "1.7.0"}
-
"prometheus-app" {>= "1.0"}
"mdx" {with-test}
]
build: [
···
"routes" {>= "0.8.0"}
"uri" {>= "4.0.0"}
"yojson" {>= "1.7.0"}
+
"prometheus-app" {>= "1.0" & < "1.2"}
"mdx" {with-test}
]
build: [
+1 -1
packages/current_web/current_web.0.1/opam
···
"bos"
"lwt"
"cmdliner"
-
"prometheus-app"
"cohttp-lwt-unix" {>= "2.2.0"}
"tyxml"
"dune" {>= "1.9"}
···
"bos"
"lwt"
"cmdliner"
+
"prometheus-app" {< "1.2"}
"cohttp-lwt-unix" {>= "2.2.0"}
"tyxml"
"dune" {>= "1.9"}
+1 -1
packages/current_web/current_web.0.2/opam
···
"bos"
"lwt"
"cmdliner"
-
"prometheus-app"
"cohttp-lwt-unix" {>= "2.2.0"}
"tyxml"
"routes" {>= "0.7.0" & < "0.8.0"}
···
"bos"
"lwt"
"cmdliner"
+
"prometheus-app" {< "1.2"}
"cohttp-lwt-unix" {>= "2.2.0"}
"tyxml"
"routes" {>= "0.7.0" & < "0.8.0"}
+1 -1
packages/current_web/current_web.0.3/opam
···
"bos"
"lwt"
"cmdliner"
-
"prometheus-app"
"cohttp-lwt-unix" {>= "2.2.0"}
"tyxml"
"routes" {>= "0.8.0"}
···
"bos"
"lwt"
"cmdliner"
+
"prometheus-app" {< "1.2"}
"cohttp-lwt-unix" {>= "2.2.0"}
"tyxml"
"routes" {>= "0.8.0"}
+1 -1
packages/current_web/current_web.0.4/opam
···
"lwt"
"cmdliner"
"prometheus" {>= "0.7"}
-
"prometheus-app"
"cohttp" {>= "2.2.0"}
"cohttp-lwt" {>= "2.2.0"}
"cohttp-lwt-unix" {>= "2.2.0"}
···
"lwt"
"cmdliner"
"prometheus" {>= "0.7"}
+
"prometheus-app" {< "1.2"}
"cohttp" {>= "2.2.0"}
"cohttp-lwt" {>= "2.2.0"}
"cohttp-lwt-unix" {>= "2.2.0"}
+1 -1
packages/current_web/current_web.0.5/opam
···
"lwt"
"cmdliner"
"prometheus" {>= "0.7"}
-
"prometheus-app"
"cohttp" {>= "2.2.0"}
"cohttp-lwt" {>= "2.2.0"}
"cohttp-lwt-unix" {>= "2.2.0"}
···
"lwt"
"cmdliner"
"prometheus" {>= "0.7"}
+
"prometheus-app" {< "1.2"}
"cohttp" {>= "2.2.0"}
"cohttp-lwt" {>= "2.2.0"}
"cohttp-lwt-unix" {>= "2.2.0"}
+1 -1
packages/current_web/current_web.0.6.1/opam
···
"multipart_form-lwt" {>= "0.4.0"}
"cmdliner" {>= "1.1.0"}
"prometheus" {>= "0.7"}
-
"prometheus-app"
"cohttp-lwt-unix" {>= "4.0.0"}
"tyxml" {>= "4.4.0"}
"csv" {>= "2.4"}
···
"multipart_form-lwt" {>= "0.4.0"}
"cmdliner" {>= "1.1.0"}
"prometheus" {>= "0.7"}
+
"prometheus-app" {< "1.2"}
"cohttp-lwt-unix" {>= "4.0.0"}
"tyxml" {>= "4.4.0"}
"csv" {>= "2.4"}
+1 -1
packages/current_web/current_web.0.6/opam
···
"lwt"
"cmdliner" {>= "1.1.0"}
"prometheus" {>= "0.7"}
-
"prometheus-app"
"cohttp-lwt-unix" {>= "4.0.0"}
"tyxml" {>= "4.4.0"}
"routes" {>= "0.8.0"}
···
"lwt"
"cmdliner" {>= "1.1.0"}
"prometheus" {>= "0.7"}
+
"prometheus-app" {< "1.2"}
"cohttp-lwt-unix" {>= "4.0.0"}
"tyxml" {>= "4.4.0"}
"routes" {>= "0.8.0"}
+1 -1
packages/ocluster/ocluster.0.1/opam
···
"digestif" {>= "0.8"}
"fpath"
"lwt-dllist"
-
"prometheus-app" {>= "1.0"}
"cohttp-lwt-unix"
"sqlite3"
"obuilder"
···
"digestif" {>= "0.8"}
"fpath"
"lwt-dllist"
+
"prometheus-app" {>= "1.0" & < "1.2"}
"cohttp-lwt-unix"
"sqlite3"
"obuilder"
+1 -1
packages/prometheus-app/prometheus-app.0.2/opam
···
"jbuilder"
"prometheus" {= "0.2"}
"fmt"
-
"re"
"cohttp" {>= "0.20.0" & < "0.99"}
"lwt" {>= "2.5.0"}
"alcotest" {with-test}
···
"jbuilder"
"prometheus" {= "0.2"}
"fmt"
+
"re" {>= "1.8.0"}
"cohttp" {>= "0.20.0" & < "0.99"}
"lwt" {>= "2.5.0"}
"alcotest" {with-test}
+1 -1
packages/prometheus-app/prometheus-app.0.3/opam
···
"jbuilder" {>= "1.0+beta10"}
"prometheus" {< "0.5"}
"fmt"
-
"re"
"cohttp" {>= "0.20.0" & < "0.99"}
"lwt" {>= "2.5.0"}
"alcotest" {with-test}
···
"jbuilder" {>= "1.0+beta10"}
"prometheus" {< "0.5"}
"fmt"
+
"re" {>= "1.8.0"}
"cohttp" {>= "0.20.0" & < "0.99"}
"lwt" {>= "2.5.0"}
"alcotest" {with-test}
+1 -1
packages/prometheus-app/prometheus-app.0.4/opam
···
"jbuilder" {>= "1.0+beta10"}
"prometheus" {< "0.5"}
"fmt"
-
"re"
"cohttp" {>= "0.99.0" & < "1.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
···
"jbuilder" {>= "1.0+beta10"}
"prometheus" {< "0.5"}
"fmt"
+
"re" {>= "1.8.0"}
"cohttp" {>= "0.99.0" & < "1.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
+2 -2
packages/prometheus-app/prometheus-app.0.5/opam
···
depends: [
"ocaml" {>= "4.02.3"}
"jbuilder" {>= "1.0+beta10"}
-
"prometheus" {>= "0.5"}
"fmt"
-
"re"
"cohttp" {>= "1.0.0"}
"cohttp-lwt" {< "3.0.0"}
"cohttp-lwt-unix" {< "3.0.0"}
···
depends: [
"ocaml" {>= "4.02.3"}
"jbuilder" {>= "1.0+beta10"}
+
"prometheus" {= version}
"fmt"
+
"re" {>= "1.8.0"}
"cohttp" {>= "1.0.0"}
"cohttp-lwt" {< "3.0.0"}
"cohttp-lwt-unix" {< "3.0.0"}
+1 -1
packages/prometheus-app/prometheus-app.0.6/opam
···
"dune" {>= "1.0"}
"prometheus" {=version}
"fmt"
-
"re"
"cohttp" {>= "1.0.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
···
"dune" {>= "1.0"}
"prometheus" {=version}
"fmt"
+
"re" {>= "1.8.0"}
"cohttp" {>= "1.0.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
+1 -1
packages/prometheus-app/prometheus-app.0.7/opam
···
"dune" {>= "1.0"}
"prometheus" {=version}
"fmt"
-
"re"
"cohttp" {>= "1.0.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
···
"dune" {>= "1.0"}
"prometheus" {=version}
"fmt"
+
"re" {>= "1.8.0"}
"cohttp" {>= "1.0.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
+1 -1
packages/prometheus-app/prometheus-app.1.0/opam
···
"dune" {>= "1.0"}
"prometheus" {= version}
"fmt"
-
"re"
"cohttp" {>= "1.0.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
···
"dune" {>= "1.0"}
"prometheus" {= version}
"fmt"
+
"re" {>= "1.8.0"}
"cohttp" {>= "1.0.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
+1 -1
packages/prometheus-app/prometheus-app.1.1/opam
···
"dune" {>= "1.0"}
"prometheus" {= version}
"fmt"
-
"re" {>= "1.5.0"}
"cohttp" {>= "1.0.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
···
"dune" {>= "1.0"}
"prometheus" {= version}
"fmt"
+
"re" {>= "1.8.0"}
"cohttp" {>= "1.0.0"}
"cohttp-lwt"
"cohttp-lwt-unix"
+56
packages/prometheus-app/prometheus-app.1.2/opam
···
···
+
opam-version: "2.0"
+
synopsis: "Client library for Prometheus monitoring"
+
description: """\
+
Applications can enable metric reporting using the `prometheus-app` opam package.
+
This depends on cohttp and can serve the metrics collected above over HTTP.
+
+
The `prometheus-app.unix` ocamlfind library provides the `Prometheus_unix` module,
+
which includes a cmdliner option and pre-configured web-server.
+
See the `examples/example.ml` program for an example, which can be run as:
+
+
```shell
+
$ dune exec -- examples/example.exe --listen-prometheus=9090
+
If run with the option --listen-prometheus=9090, this program serves metrics at
+
http://localhost:9090/metrics
+
Tick!
+
Tick!
+
...
+
```
+
+
Unikernels can use `Prometheus_app` instead of `Prometheus_unix` to avoid the `Unix` dependency."""
+
maintainer: "talex5@gmail.com"
+
authors: ["Thomas Leonard" "David Scott"]
+
license: "Apache-2.0"
+
homepage: "https://github.com/mirage/prometheus"
+
doc: "https://mirage.github.io/prometheus/"
+
bug-reports: "https://github.com/mirage/prometheus/issues"
+
depends: [
+
"ocaml" {>= "4.08"}
+
"dune" {>= "2.3"}
+
"prometheus" {= version}
+
"fmt" {>= "0.8.7"}
+
"re" {>= "1.8.0"}
+
"cohttp-lwt" {>= "4.0.0"}
+
"cohttp-lwt-unix" {>= "4.0.0"}
+
"lwt" {>= "2.5.0"}
+
"cmdliner"
+
"alcotest" {with-test}
+
"alcotest-lwt" {with-test}
+
"asetmap"
+
"astring"
+
"logs" {>= "0.6.0"}
+
]
+
build: [
+
["dune" "build" "-p" name "-j" jobs]
+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
+
]
+
dev-repo: "git+https://github.com/mirage/prometheus.git"
+
url {
+
src:
+
"https://github.com/mirage/prometheus/releases/download/v1.2/prometheus-1.2.tbz"
+
checksum: [
+
"sha256=83643a029a6b6de71d14034eee2e94feff1d08755c4a41d583dc1530ab555bcb"
+
"sha512=bbec7f0728b850b991ec50e76ef2c999341a9469ceaa11b68180f060150c4fe62f3dca87c13914ac331b3d7ef6e46256ae11466b607ecb60d00b8f284cab86b9"
+
]
+
}
+
x-commit-hash: "d1669d0e0d7e44b104755a0fd9700ae87e140f34"
+39
packages/prometheus/prometheus.1.2/opam
···
···
+
opam-version: "2.0"
+
synopsis: "Client library for Prometheus monitoring"
+
maintainer: "talex5@gmail.com"
+
authors: ["Thomas Leonard" "David Scott"]
+
license: "Apache-2.0"
+
homepage: "https://github.com/mirage/prometheus"
+
doc: "https://mirage.github.io/prometheus/"
+
bug-reports: "https://github.com/mirage/prometheus/issues"
+
depends: [
+
"ocaml" {>= "4.01.0"}
+
"dune" {>= "2.3"}
+
"astring"
+
"asetmap"
+
"re"
+
"lwt" {>= "2.5.0"}
+
]
+
build: [
+
["dune" "build" "-p" name "-j" jobs]
+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
+
]
+
dev-repo: "git+https://github.com/mirage/prometheus.git"
+
description: """
+
To run services reliably, it is useful if they can report various metrics
+
(for example, heap size, queue lengths, number of warnings logged, etc).
+
+
A monitoring service can be configured to collect this data regularly.
+
The data can be graphed to help understand the performance of the service over time,
+
or to help debug problems quickly.
+
It can also be used to send alerts if a service is down or behaving poorly.
+
"""
+
url {
+
src:
+
"https://github.com/mirage/prometheus/releases/download/v1.2/prometheus-1.2.tbz"
+
checksum: [
+
"sha256=83643a029a6b6de71d14034eee2e94feff1d08755c4a41d583dc1530ab555bcb"
+
"sha512=bbec7f0728b850b991ec50e76ef2c999341a9469ceaa11b68180f060150c4fe62f3dca87c13914ac331b3d7ef6e46256ae11466b607ecb60d00b8f284cab86b9"
+
]
+
}
+
x-commit-hash: "d1669d0e0d7e44b104755a0fd9700ae87e140f34"