BloombergLP::balm::CollectorRepository::getDefaultCollector

getDefaultCollector overloads

Synopses

Declared in <balm_collectorrepository.h>

Return the address of the modifiable default collector for the specified metricId.

Collector*
getDefaultCollector(MetricId const& metricId);
» more...

Return the address of the modifiable default collector identified by the specified null-terminated strings category and metricName.

Collector*
getDefaultCollector(
    char const* category,
    char const* metricName);
» more...

Return Value

  • address of the default collector for metricId
  • address of the default collector for the identified metric

Parameters

NameDescription
metricIdidentity of the metric whose default collector is returned
categorynull-terminated category name
metricNamenull-terminated metric name