BloombergLP::balm::MetricRegistry::addId

Add the specified category and name to this registry, unless it has already been registered, and return a balm::MetricId object identifying the newly-registered metric. If the indicated metric has already been registered, the returned balm::MetricId object will not be valid (i.e., isValid will return false). The behavior is undefined unless category and name are null-terminated.

Synopsis

Declared in <balm_metricregistry.h>

MetricId
addId(
    char const* category,
    char const* name);