Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# 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.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.