BloombergLP::balm::MetricRegistry::getId

Return a balm::MetricId object for the metric identified by the specified category and name. If no corresponding metric has already been registered, register a new metric and return a balm::MetricId object identifying that newly-registered metric. The behavior is undefined unless category and name are null-terminated. Note that this operation is guaranteed to return a valid balm::MetricId object.

Synopsis

Declared in <balm_metricregistry.h>

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