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