BloombergLP::balm::Metric::lookupCollector

lookupCollector overloads

Synopses

Declared in <balm_metric.h>

Return a collector for the specified metricId.

static
Collector*
lookupCollector(
    MetricId const& metricId,
    MetricsManager* manager = 0);
» more...

Return a collector corresponding to the specified metric category and name.

static
Collector*
lookupCollector(
    char const* category,
    char const* name,
    MetricsManager* manager = 0);
» more...

Return Value

  • collector for metricId, or 0 if none is available
  • collector for category and name, or 0 if none is available

Parameters

NameDescription
metricIdidentity of the metric to look up
managermetrics manager used to provide the collector (optional)
categorynull-terminated category name
namenull-terminated metric name