setUserData overloads

Synopses

Declared in <balm_configurationutil.h>

Associate value with key on metrics matching categoryName.

static
void
setUserData(
    char const* categoryName,
    MetricDescription::UserDataKey key,
    void const* value,
    MetricsManager* manager = 0);

Associate value with key on one metric's description.

static
void
setUserData(
    char const* category,
    char const* metricName,
    MetricDescription::UserDataKey key,
    void const* value,
    MetricsManager* manager = 0);

Parameters

Name

Description

categoryName

category name, or prefix ending in *

key

user‐data key previously obtained from createUserDataKey

value

opaque user‐data value to associate

manager

metrics manager to configure; 0 uses the default

category

category of the metric to update

metricName

name of the metric to update

Created with MrDocs