BloombergLP::balm::Metric::Metric

Constructors

Synopses

Declared in <balm_metric.h>

Create a metric object that will record values for the same metric as the specified original metric.

Metric(Metric const& original);
» more...

Create a metric object to collect values for the metric implied by the specified collector.

explicit
Metric(Collector* collector);
» more...

Create a metric object to collect values for the specified metricId.

explicit
Metric(
    MetricId const& metricId,
    MetricsManager* manager = 0);
» more...

Create a metric object to collect values for the metric identified by the specified null-terminated strings category and name.

Metric(
    char const* category,
    char const* name,
    MetricsManager* manager = 0);
» more...

Parameters

NameDescription
originalmetric whose collector association is copied
collectorcollector identifying the metric to record
metricIdidentity of the metric to collect
managermetrics manager used to provide a collector (optional)
categorynull-terminated category name
namenull-terminated metric name