{toc}
SimpleKPI is the preferred basic implementation of the KPIMonitor interface.
In order to configure KPI functionality, you need to do the following:
In pom.xml
<dependency>
<groupId>com.betfair.monitoring</groupId>
<artifactId>kpi-base</artifactId>
<version>2.8</version>
</dependency>
<dependency>
<groupId>com.betfair.monitoring</groupId>
<artifactId>kpi-base-spring</artifactId>
<version>2.8</version>
</dependency>
In your app’s xyz-service.xml
Spring config, add the line:
<import resource="classpath:kpi-simple.xml"/>