Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt

Use this file to discover all available pages before exploring further.

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 MR application.
CubeQualifier
Var-ES CubekpiVaRESCube
VaR-ES Summary CubekpiVaRESSummaryCube
Sensitivity CubekpiSensitivityCube
Sensitivity Summary CubekpiSensitivitySummaryCube
PLCubekpiPLCube
PL Summary CubekpiPLSummaryCube
Combined CubekpiMRCombinedCube
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 for the VaR-ES cube are located in the class KpiProviderConfig within /mr-var-config/src/main/java/com/activeviam/mr/var/config/

Suggested Further Reading