package prometheus
Module Prometheus.Sample_setSource
Source
type sample = {ext : string;(*An extension to append to the base metric name.
*)value : float;bucket : (LabelName.t * float) option;(*The "le" or "quantile" label and value, if any.
*)
}A collection of values that together represent a single sample. For a counter, each reading is just a single value, but more complex types require multiple values. For example, a "summary" sample set contains "_sum" and "_count" values.