Module Prometheus_unixSource

Report metrics for Prometheus. See: https://prometheus.io/

Notes:

Sourcetype config
Sourceval serve : config -> unit Lwt.t list

serve config starts a Cohttp server according to config. It returns a singleton list containing the thread to monitor, or an empty list if no server is configured.

opts is the extra command-line options to offer Prometheus monitoring.

Sourcemodule Logging : sig ... end

Report metrics for messages logged.