ThirdEye RCA aggregation functions

Aggregation functions

Unlike the detection pipeline, root cause analysis (RCA) algorithms have a limited set of aggregation functions available.

If the metric used for RCA is onboarded in ThirdEye, a default aggregation function is available. If the metric is a derived metric or is not onboarded in ThirdEye, the aggregation function should be set in the alert configuration aggregationFunction field.

Available aggregation functions

namedescription
SUMSum of the metric
AVGAverage of the metric
COUNTCount of the lines
COUNT_DISTINCTDistinct count of the lines
MAXMaximum of the metric
MINMinimum of the metric
PCT5050th percentile of the metric
PCT9090th percentile of the metric
PCT9595th percentile of the metric
PCT9999th percentile of the metric

See source code (opens in a new tab).

Datasource compatibility

Some datasources may not be compatible with all aggregation functions.

Compatibility matrix

functionPinot (opens in a new tab)
SUMYES
AVGYES
COUNTYES
COUNT_DISTINCTYES
MAXYES
MINYES
PCT50YES
PCT90YES
PCT95YES
PCT99YES