[#BloombergLP-balm-MetricRecord-2constructor-0f2]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricRecord.adoc[MetricRecord]::MetricRecord
:relfileprefix: ../../../
:mrdocs:

Create a metric record having the specified `metricId`, and default values for the `total`, `count`, `min`, and `max` attributes&period; The default `count` is 0, the default `total` is 0&period;0, the default `min` is the defined `k&lowbar;DEFAULT&lowbar;MIN` constant (the representation for positive infinity), and the default `max` is the defined `k&lowbar;DEFAULT&lowbar;MAX` constant (the representation for negative infinity)&period;

== Synopsis

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

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


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