Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
PrometheusCollect metrics for Prometheus. See: https://prometheus.io/
Notes:
module type NAME = sig ... endA string that meets some additional requirements.
module MetricName : NAMEA valid name for a metric.
module MetricInfo : sig ... endMetadata about a metric.
module LabelSetMap : Asetmap.Map.S with type key = string listA map indexed by a set of labels.
module MetricFamilyMap : Asetmap.Map.S with type key = MetricInfo.tA map indexed by metric families.
module CollectorRegistry : sig ... endA collection of metric reporters. Usually, only CollectorRegistry.default is used.
module type METRIC = sig ... endOperations common to all types of metric.
module Counter : sig ... endA counter is a cumulative metric that represents a single numerical value that only ever goes up.
module Gauge : sig ... endA gauge is a metric that represents a single numerical value that can arbitrarily go up and down.
module Summary : sig ... endA summary is a metric that records both the number of readings and their total. This allows calculating the average.