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

Create an integer collector for a metric having the specified `metricId`&period;

== Synopsis

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

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

== Description

Create an integer collector for a metric having the specified `metricId`, and having an initial count of 0, total of 0, min of `k&lowbar;DEFAULT&lowbar;MIN`, and max of `k&lowbar;DEFAULT&lowbar;MAX`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *metricId*
| identity of the metric to collect
|===


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