The following needs to be done in order to implement a custom statistics observer.
To disable operation of publishing statistics via the ESB Analytics server by setting the
AnalyticPublishingDisableproperty in the
trueas shown below.
This is useful when you want to collect statistics using a product other than ESB Analytics. In such scenarios, preventing the ESB Analytics server from publishing statistics allows you to avoid incurring an unnecessary system overhead.
- Create the JAR file with the that contains the required statistics observer implementation, and copy it to the
<EI_HOME>/libdirectory. This implementation should have the following.
- If the observer is tenant aware, it should also implement
Add all the observers as a comma separated list in the
<EI_HOME>/conf/carbon.xmlfile as shown in the example below.