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

Synopsis

Declared in <balm_collectorrepository.h>

Collector*
getDefaultCollector(MetricId const& metricId);

Description

If a default collector for the identified metric does not already exist in the repository, create one, add it to the repository, and return its address.

Return Value

address of the default collector for metricId

Parameters

Name

Description

metricId

identity of the metric whose default collector is returned

Created with MrDocs