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

Synopsis

Declared in <balm_metric.h>

Metric(Metric const& original);

Description

The new object uses the same Collector object as original. If the original metric is inactive (i.e., isActive() is false), then this metric will be similarly inactive.

Parameters

Name

Description

original

metric whose collector association is copied

Created with MrDocs