lookupCollector overloads

Synopses

Declared in <balm_metric.h>

Return a collector for the specified metricId.

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

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

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

Return Value

  • collector for metricId, or 0 if none is available

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

Parameters

Name

Description

metricId

identity of the metric to look up

manager

metrics manager used to provide the collector (optional)

category

null‐terminated category name

name

null‐terminated metric name

Created with MrDocs