BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlm_metric

Detailed Description

Outline

Purpose

Provide a class to store metric values of different types.

Deprecated:
This component is not ready for public use.

Classes

Description

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.

Usage

The intended use of this component is illustrated in {bdlm_metricsregistrar |Usage}.