BloombergLP::balm::CollectorRepository::getAddedCollectors

Same as the preceding overload, using std::pmr::vector result containers.

Synopsis

Declared in <balm_collectorrepository.h>

int
getAddedCollectors(
    std::pmr::vector<bsl::shared_ptr<Collector>>* collectors,
    std::pmr::vector<bsl::shared_ptr<IntegerCollector>>* intCollectors,
    MetricId const& metricId);

Return Value

combined total number of added collectors found

Parameters

NameDescription
collectorsreceives shared pointers to added collectors
intCollectorsreceives shared pointers to added integer collectors
metricIdidentity of the metric whose added collectors are retrieved