Ui_metrics.Histogrammodule Buckets : sig ... endtype 'a t = {buckets : 'a Buckets.t;counts : int array;mutable sum : 'a;mutable min : 'a option;mutable max : 'a option;}A JSOO-compatible histogram type that has the same semantics as Prometheus_instrumentation_collector.Histogram.t.
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.tinclude Ppx_compare_lib.Equal.S1 with type 'a t := 'a tval observe : 'a t -> 'a -> unitobserve t datum adds a recording of datum to the histogram t with frequency one. It finds the bucket in which the value observed resides and increments only that bucket.
module type S = sig ... endval module_of_histogram : 'a Buckets.Type.t -> (module S with type t = 'a)module For_sexp : sig ... end