BloombergLP::balm::MetricDescription::setPreferredPublicationType

Set the preferred publication type of this metric to the specified type. The preferred publication type of this metric indicates the preferred aggregate to publish for this metric, or PublicationType::UNSPECIFIED if there is no preference. Note that there is no uniform definition for how publishers will interpret this value; an UNSPECIFIED value generally indicates that all the collected aggregates (total, count, minimum, and maximum value) should be published.

Synopsis

Declared in <balm_metricdescription.h>

void
setPreferredPublicationType(PublicationType::Value type);