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

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

== Synopsis

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

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


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