addCollector overloads

Synopses

Declared in <balm_collectorrepository.h>

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

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

bsl::shared_ptr<Collector>
addCollector(
    char const* category,
    char const* metricName);

Return Value

shared pointer to the newly created collector

Parameters

Name

Description

metricId

identity of the metric for the new collector

category

null‐terminated category name

metricName

null‐terminated metric name

Created with MrDocs