Adding New KPIs

This page provides a description of how we can add a KPI. The techniques employed are generic examples that can be extended, adapted and repeated for any use case that we need. In all cases, we make minimal changes to the Accelerator Reference Implementation.

A KPI can be defined as a bean with the following format:

@Bean

@Qualifier("kpi[...theCubeName...]")

public IKpiDescription myKpiTest() {

return StartBuilding.kpi()

.withName(...)

...

.build();

}

Pre-defined KPIs are located in the class KpiProviderConfig within /frtb-starter/src/main/java/com/activeviam/frtb/starter/cfg/impl/