Append shared pointers to any added collectors for the specified metricId and return the count found.
Declared in <balm_collectorrepository.h>
int
getAddedCollectors(
bsl::vector<bsl::shared_ptr<Collector>>* collectors,
bsl::vector<bsl::shared_ptr<IntegerCollector>>* intCollectors,
MetricId const& metricId);
Append to the specified collectors and intCollectors the shared pointers to any added collectors for the specified metricId, and return the combined total number found.
combined total number of added collectors found
| Name | Description |
|---|---|
| collectors | receives shared pointers to added collectors |
| intCollectors | receives shared pointers to added integer collectors |
| metricId | identity of the metric whose added collectors are retrieved |