BloombergLP::balm::CollectorRepository::addIntegerCollector

addIntegerCollector overloads

Synopses

Declared in <balm_collectorrepository.h>

Return a shared pointer to a new integer collector for the specified metricId and add it to the repository.

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

Return a shared pointer to a new integer collector for the specified category and metricName.

bsl::shared_ptr<IntegerCollector>
addIntegerCollector(
    char const* category,
    char const* metricName);
» more...

Return Value

shared pointer to the newly created integer collector

Parameters

NameDescription
metricIdidentity of the metric for the new integer collector
categorynull-terminated category name
metricNamenull-terminated metric name