[#BloombergLP-balm-ConfigurationUtil-createUserDataKey] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/ConfigurationUtil.adoc[ConfigurationUtil]::createUserDataKey :relfileprefix: ../../../ :mrdocs: Return a new unique key that can be used to associate (via `setUserData`) a value with a metric (or group of metrics). Optionally specify a metrics `manager` to configure. If `manager` is 0, configure the default metrics manager; if `manager` is 0 and the default metrics manager has not been initialized, then an unspecified integer value is returned. Note that the returned key can be used by clients of `balm` to associate additional information with a metric. == Synopsis Declared in `<balm_configurationutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/balm/MetricDescription/UserDataKey.adoc[MetricDescription::UserDataKey] createUserDataKey(xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]* manager = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#