Set the preferred publication type of this metric to the specified type.

Synopsis

Declared in <balm_metricdescription.h>

void
setPreferredPublicationType(PublicationType::Value type);

Description

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.

Parameters

Name

Description

type

preferred publication aggregate

Created with MrDocs