Return a shared pointer to a new integer collector for the specified metricId and add it to the repository.
Declared in <balm_collectorrepository.h>
bsl::shared_ptr<IntegerCollector>
addIntegerCollector(MetricId const& metricId);
The behavior is undefined unless metricId is a valid id returned by the MetricRepository supplied at construction.
shared pointer to the newly created integer collector
| Name | Description |
|---|---|
| metricId | identity of the metric for the new integer collector |