Creating an interim rule usage snapshot

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.

  1. In Dev Studio, in the navigation pane, click App, and then do the following steps.
    1. In the class name field, enter Log-RuleUsage.
    2. Click Technical > Activity > TakeSnapshot to open the TakeSnapshot activity.
  2. Click Actions > Run.
  3. 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.
  4. Click Run.
    If a separate window opens that says the operation completed successfully, close that window.
  5. Close the Run Activity dialog.