BDE 4.14.0 Production release
|
Provide a class to store metric values of different types.
This component defines a value semantic class, bdlmt::Metric
, that represents a measurement (or measurements) for a metric. A bdlm::Metric
value is collected from an object that reports metrics using a callback that is registered with the bdlm::MetricsRegistry
. A bdlm::Metric
value is a variant type, which can hold one of several types of measurements (in theory). Currently the only supported metric type is a Guage
, which represents a single instantaneous value for the most recent measurement.
The intended use of this component is illustrated in {bdlm_metricsregistrar |Usage}.