Monitoring transparent decision services

You can view statistics on the execution of ruleset paths through transparent decision services. Transparent decision service statistics are not saved when the service is unregistered.

Procedure

To view statistics on a transparent decision service:

  1. Click the Explorer tab.
  2. Click Decision Services in the Navigator panel to display the Transparent Decision Services View.

    You can limit the displayed transparent decision services by selecting a filter from Display by: 5, 10, 50, 100.

  3. Click the name of the relevant transparent decision service in the Transparent Decision Services View.

    IN the Transparent Decision Service View, you have a full description of the transparent decision service: name, ruleset path, enabled-disabled, properties, and the instances.

    You can limit the displayed instances by selecting a filter from Display by: 5, 10, 50, 100.

    After a transparent decision service instance is executed, a statistics link is displayed in the table of instances, in the row of the executed ruleset path.

  4. Click View Statistics to open the Transparent Decision Service Statistics View.

Results

The statistics are calculated from the data passed to these methods:
  • Error statistics: ilog.rules.res.decisionservice.mbean.IlrDecisionServiceMBeanManager.addError(long timestamp)
  • All other statistics: ilog.rules.res.decisionservice.mbean.IlrDecisionServiceMBeanManager.addMeasurement(String executedCanonicalRulesetPath, long timestamp, long duration)
Attention:
  • If the path of the executed ruleset changes during the life of the MBean, the statistics are automatically erased.
  • Transparent decision service statistics are not saved: when the service is unregistered, the statistics are lost.

The following statistics are reported.

Table 1. Statistics on execution of transparent decision services
Metric Description
Error Count The number of times the execution of the transparent decision service has failed.
Error Last Date The date of the last time that the execution of the transparent decision service failed.
Count The number of times the transparent decision service has been successfully executed.
Total Time (milliseconds) The total time taken to execute the transparent decision service.
Average Time (milliseconds) The average time taken to execute the transparent decision service. The average time is derived from the total execution time (Total time (ms)) and the number of executions (Count).
Min. Time (milliseconds) The shortest execution times of the transparent decision service.
Max. Time (milliseconds) The longest execution times of the transparent decision service.
Last Execution Time (milliseconds) The time of the last execution of the transparent decision service.
First Execution Date The date of the first execution of the transparent decision service.
Last Execution Date The date of the last execution of the transparent decision service.