Creating a Custom Application Metrics Store

You can use the custom store API to create a custom metrics store according to the requirement of your project.

For more information about the classes, see the com.tibco.cep.runtime.appmetrics package summary.

To refer to the reference implementations of Elasticsearch as a metric store by using the custom metrics store API's, see reference implementations on GitHub.

    Procedure
  1. Create an XML file and save it with the following name: metrics-store.xml

  2. Edit metrics-store.xml and configure it for your custom metrics store. Add the properties that you want to display in TIBCO BusinessEvents Studio. For more information, see Structure of the metrics-store.xml File.

  3. Create all the required Java class files by using the Java API for custom metrics store.
  4. Archive all the Java class files for the custom metrics store along with the metrics-store.xml file as a JAR file.
  5. Save this JAR file to BE_HOME/lib/ext/tpcl/contrib
  6. Restart TIBCO BusinessEvents Studio.
ResultNew custom metrics store is available for editing in the CDD editor in TIBCO BusinessEvents Studio.