7.3. The Drools Knowledge Session Monitoring Service
The Drools knowledge sessions monitoring service can configure the knowledge base and knowledge session by providing the knowledge base ID and knowledge session ID as connection properties.
The Drools knowledge session monitoring service provides the following operations:
- Reset all metrics counters.
- Return statistics for a specific rules.
- Get statistics for a specific process.
- Get statistics for a specific process instance.
The Drools knowledge session monitoring service provides the following metrics:
- The total number of facts in working memory.
- The total number of activations created since the last reset.
- The total number of activations fired since the last reset.
- The total number of activations canceled since the last reset.
- The total time spent firing rules since the last reset.
- The total number of process instances started since the last reset.
- The total number of process instances completed since the last reset.
- The timestamp of the last reset operation.