ThirdEye supports monitoring derived metrics. StarTree templates are directly compatible with derived metrics, but a piece of configuration is required for root-cause analysis (RCA) to work. Here is an example of monitoring the 95th percentile of the difference of 2 metricsDocumentation Index
Fetch the complete documentation index at: https://docs.startree.ai/llms.txt
Use this file to discover all available pages before exploring further.
met1 and met2, with the startree-threshold-percentile template:
You must have StarTree templates installed and up to date to use this template.
Configuration:
aggregationFunctioncalls the Pinot PERCENTILETDIGEST functionaggregationParameteris the second parameter of the function. It sets the percentile to 95.aggregationColumncontains the derived metric.rcaAggregationFunctionsets the RCA aggregation function. It binds toaggregationFunctionin the alert configuration.PCT95corresponds to 95th percentile. The set of aggregation functions is limited. For more details, see Aggregation functions. RCA will not work without this configuration. It is necessary because the derived metric is not registered in ThirdEye, so no default aggregation function is available.

