AlertMetricComparator
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
A comparison the alerting dialog can offer for a measure: the derived period-over-period measure and the date dataset and granularity it is computed over.
export type AlertMetricComparator = {
measure: IMeasure;
isPrimary: boolean;
comparator: AlertMetricComparatorType;
dataset?: IDataSetMetadataObject;
granularity?: DateAttributeGranularity;
};
References: IMeasure, AlertMetricComparatorType, IDataSetMetadataObject, DateAttributeGranularity