BloombergLP::balm::CollectorRepository::addIntegerCollector

Return a shared pointer to a newly-created modifiable collector identified by the specified metricId and add that collector to the repository. The behavior is undefined unless metricId is a valid id returned by the MetricRepository supplied at construction.

Synopsis

Declared in <balm_collectorrepository.h>

bsl::shared_ptr<IntegerCollector>
addIntegerCollector(MetricId const& metricId);