package prometheus
Client library for Prometheus monitoring
Install
Dune Dependency
Authors
Maintainers
Sources
prometheus-v1.0.tbz
sha256=d17cec111516fa188d4a41add0c6c1f0dba1bc9ca4aa53c52cc9be21019aac26
sha512=be54f970d9397e2f338fe30bcd463ae1b11d9337027290ec272d7a9f8cceea8b8907d6d1ccb5708f0378810b7df13d598bbed461a8e37b145435a3e66f733956
doc/CHANGES.html
v1.0 (2020-12-22)
Add logging configuration (#29, @talex5). To configure a server to report counts for log messages:
let () = Prometheus_unix.Logging.init ()
This installs a reporter that reports the number of messages logged by each log source and at each level. The reporter also displays the timestamp and log source with each message, which is a more suitable configuration for servers.
- Add bounds on cohttp to prepare for cohttp 3 release (#28, @talex5).
v0.7 (2020-03-03)
- switch float representation to OCaml's default
"%f"
(#22, @toots) - use
Gc.quick_stat
for faster stats (#25, @talex5)
v0.6 (2019-11-23)
- upgrade build to dune (@talex5)
- upgrade to opam2 format (@talex5)
v0.5 (2017-12-20)
- prometheus-app: update to cohttp.1.0.0 API (#15, @djs55)
- add support for histograms (#14, @stijn-devriendt and @talex5)
- add
Sample_set module
to clean up the API a bit (#13, @talex5) - fix gettimeofday parameter not used in favor of Unix.gettimeofdaya (#12, @stijn-devriendt)
v0.4 (2017-08-02)
- unix: update to cohttp >= 0.99.0. Note this means the unix package requires OCaml 4.03+. The main library still only requires OCaml 4.01+
v0.3 (2017-07-03)
- Build tweaks to support topkg versioning (@avsm)
v0.2 (2017-05-18)
- add example program and update README
- switch to jbuilder
- throw a clearer error on registering a duplicate metric
- use
Re
rather thanStr
v0.1
- Initial release.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page