Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating an interim rule usage snapshot

Updated on May 11, 2022

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 TechnicalActivityTakeSnapshot to open the TakeSnapshot activity.
  2. Click ActionsRun.
  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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us