[#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 for the specified `category` and `name`. == Synopsis Declared in `<balm_integermetric.h>` [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); ---- == Description Return an integer collector corresponding to the specified metric `category` and `name`. Optionally specify a metrics `manager` used to provide the collector. If `manager` is 0, use the default metrics manager if initialized; if `manager` is 0 and the default metrics manager has not been initialized, return 0. The behavior is undefined unless `category` and `name` are null‐terminated. == Return Value integer collector for `category` and `name`, or 0 if none is available == Parameters [cols="1,4"] |=== | Name| Description | *category* | null‐terminated metric category name | *name* | null‐terminated metric name | *manager* | metrics manager used to provide the collector (0 for default) |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#