Make the Metric Function Available to the Product

Procedure

  1. Create a JAR file containing the classes related to the metric function and the function catalog file, located at the root of the jar file.
  2. The metric function can be made available in one of the following two ways.
    • Update the classpath of the associated server TRA file, which is tibspm.tra by default.
    • Copy the JAR files into a location such as SPM_HOME/lib/ext.
  3. When the Service Performance Manager server starts, it loads all the custom metric function definitions from the function catalog files and makes them available for use in the client API using session.getAllFunctionDescriptors()