Pega Platform maintains statistics about the number of rule
executions since startup. You can take a snapshot of the current statistics without having
to wait for system shutdown.
Unlike the shutdown snapshot, rows of an interim snapshot contain statistics
accumulated since the most recent startup, that is, not consolidated with older
snapshot values.
-
In Dev Studio, in the navigation pane, click
App, and then do the following steps.
-
In the class name field, enter
Log-RuleUsage
.
-
Click to open the TakeSnapshot activity.
-
Click .
-
In the Run Activity dialog, in
snapshotName field, enter the name for the new
snapshot.
- The snapshot names "shutdown" and "recent" are reserved for system
use.
- To simplify later retrieval and reporting, you can enter a snapshot
identifier that indicates a date or date and time, such as
21DEC2018130500.
- To collect a series of snapshots, you can reuse the same snapshot name,
and then filter snapshot instances by timestamp.
-
Click Run.
If a separate window opens that says the operation completed successfully,
close that window.
-
Close the Run Activity dialog.