BloombergLP::balm::MetricDescription::setUserData

Associate the specified value with the specified data key.

Synopsis

Declared in <balm_metricdescription.h>

void
setUserData(
    UserDataKey key,
    void const* value);

Description

The behavior is undefined unless key >= 0. Note that this method allows clients of balm to associate (opaque) application-specific information with a metric.

Parameters

NameDescription
keyuser-data key associated with this metric
valueopaque user-data value to associate