[#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.0, min of `MetricRecord::k_DEFAULT_MIN`, and max of `MetricRecord::k_DEFAULT_MAX`. == Synopsis Declared in `<balm_collector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Collector(xref:BloombergLP/balm/MetricId.adoc[MetricId] const& metricId); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#