[#BloombergLP-balm-Metric-2constructor-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/Metric.adoc[Metric]::Metric
:relfileprefix: ../../../
:mrdocs:

Create a metric object that will record values for the same metric as the specified `original` metric&period;

== Synopsis

Declared in `&lt;balm&lowbar;metric&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Metric(xref:BloombergLP/balm/Metric.adoc[Metric] const& original);
----

== Description

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| metric whose collector association is copied
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
