<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer type="person">
		<description>co-maintainers welcome</description>
		<email>lssndrbarbieri@gmail.com</email>
		<name>Alessandro Barbieri</name>
	</maintainer>
	<use>
		<flag name="influx">Influx reporter for the Metrics library</flag>
		<flag name="lwt">Lwt backend for the Metrics library</flag>
		<flag name="rusage">Resource usage (getrusage) sources for the Metrics library</flag>
		<flag name="unix">Unix backend for the Metrics library</flag>
	</use>
	<longdescription lang="en">Metrics provides a basic infrastructure to monitor and gather runtime
metrics for OCaml program. Monitoring is performed on sources, indexed
by tags, allowing users to enable or disable at runtime the gathering
of data-points. As disabled metric sources have a low runtime cost
(only a closure allocation), the library is designed to instrument
production systems.

Metric reporting is decoupled from monitoring and is handled by a
custom reporter. A few reporters are (will be) provided by default.

Metrics is heavily inspired by
[Logs](http://erratique.ch/software/logs).</longdescription>
	<upstream>
		<doc>https://mirage.github.io/metrics/</doc>
		<bugs-to>https://github.com/mirage/metrics/issues</bugs-to>
		<remote-id type="github">mirage/metrics</remote-id>
		<maintainer>
			<name>Thomas Gazagnaire</name>
			<email>thomas@gazagnaire.org</email>
		</maintainer>
	</upstream>
</pkgmetadata>
