[#BloombergLP-balm-IntegerMetric-lookupCollector-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/IntegerMetric.adoc[IntegerMetric]::lookupCollector
:relfileprefix: ../../../
:mrdocs:

Return an integer collector corresponding to the specified metric `category` and `name`&period; Optionally specify a metrics `manager` used to provide the collector&period; If `manager` is 0, use the default metrics manager if initialized&semi; if `manager` is 0 and the default metrics manager has not been initialized, return 0&period; The behavior is undefined unless `category` and `name` are null&hyphen;terminated&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/balm/IntegerCollector.adoc[IntegerCollector]*
lookupCollector(
    char const* category,
    char const* name,
    xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]* manager = 0);
----


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