Return the address of the modifiable default integer collector for the specified metricId.

Synopsis

Declared in <balm_collectorrepository.h>

IntegerCollector*
getDefaultIntegerCollector(MetricId const& metricId);

Description

If a default integer collector for the identified metric does not already exist in the repository, create one, add it to the repository, and return its address.

Return Value

address of the default integer collector for metricId

Parameters

Name

Description

metricId

identity of the metric whose default integer collector is returned

Created with MrDocs