To create custom metric function, you should extend
com.tibco.spm.rule.action.MyActionHandlercontextImpl. This is an implementation class that implements
ActionHandlerContext.
For more information about the API, refer to the
TIBCO Service Performance Manager Java API reference pages.
datatype
Datatype of the action. This is always set to
true.
description
Description of the custom action.
The action parameters list arguments required by the action function with their ordinal position and data type. The following example for "e-mail action" takes five action parameters:
These are made available to the TIBCO ActiveMatrix Dashboard when you use the action. The dashboard user has to provide values to these parameters at the time of configuring an action in a rule.