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

Constructors

== Synopses

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

Create a metric record having default values for its metric `metricId`, `count`, `total`, `min`, and `max` attributes&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balm/MetricRecord/2constructor-06.adoc[MetricRecord]();
----

[.small]#xref:BloombergLP/balm/MetricRecord/2constructor-06.adoc[_» more&period;&period;&period;_]#

Create a metric record having the specified `metricId`, and default values for the `total`, `count`, `min`, and `max` attributes&period;


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

[.small]#xref:BloombergLP/balm/MetricRecord/2constructor-0f2.adoc[_» more&period;&period;&period;_]#

Create a metric record having the specified `metricId`, `count`, `total`, `min`, and `max` attribute values&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balm/MetricRecord/2constructor-08.adoc[MetricRecord](
    xref:BloombergLP/balm/MetricId.adoc[MetricId] const& metricId,
    int count,
    double total,
    double min,
    double max);
----

[.small]#xref:BloombergLP/balm/MetricRecord/2constructor-08.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *metricId*
| identity of the metric
| *count*
| event count
| *total*
| total of recorded values
| *min*
| minimum recorded value
| *max*
| maximum recorded value
|===


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