Return the default metrics collector for the specified category and metric.

Synopsis

Declared in <balm_metrics.h>

static
Collector*
getCollector(
    char const* category,
    char const* metric);

Description

Return the address of the default metrics collector for the metric identified by the specified category and metric names. The behavior is undefined unless the balm metrics manager singleton is valid.

Return Value

address of the default metrics collector for the metric

Parameters

Name

Description

category

null‐terminated category name

metric

null‐terminated metric name

Created with MrDocs