Skip to main content


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

Service REST monitoring

Updated on November 23, 2022

You can monitor Service REST request and response data and view the results of rule invocation by using a combination of dynamic system settings and options on the Service Package and Service REST rule forms. Monitoring is useful for debugging your application during development, for example, if a request is failing.

Caution: Monitoring is not recommended for production environments because it might affect performance and depending on the number of incoming service requests, there is a chance that over a period of time, the invocation history might get large enough so that you run out of database space.

To use monitoring, you must turn it on for the rules that you want to monitor. You can configure monitoring to monitor all REST service rules in the system, all rules in a service package, or individual rules. You configure monitoring by using a combination of a dynamic system setting and settings on the Service Package and Service REST rule forms.

You can view the monitoring results on the service package rule in the invocation history section. From there, you can click a particular invocation and view the actual request, response, and if configured, the clipboard state at the time the rule was invoked. You must have the prDeveloperForm privilege to view invocation history.

You can purge invocation history on demand or automatically to delete data that you no longer need from the database. You can purge service monitoring instances on demand on the service package rule form. You can purge automatically by enabling the agent that is shipped with the product and by configuring a dynamic system setting.

  • Configuring Service REST rule monitoring

    To use monitoring, you must turn it on for the rules that you want to trace. You can configure monitoring to monitor all Service REST rules in the system, all rules in a service package, or individual Service REST rules. Monitoring is useful for debugging your application during development, for example, if a request is failing.

  • Viewing Service REST monitoring results

    To help with application debugging, you can view the monitoring results on the service package rule in the invocation history section. From the invocation history, you can click a particular invocation to view the actual request, response, and if configured, the clipboard state at the time the rule was invoked. You must have the prDeveloperForm privilege to view invocation history.

  • Immediately purging Service REST invocation history

    If you are monitoring Service REST rules, the invocation history can become large and take up space in the database. You can purge invocation history immediately to delete data that you no longer need from the database. You can immediately clear invocation history for all rules in a service package or for individual rules.

  • Automatically purging invocation history

    If you are monitoring Service REST rules, the invocation history can become large and take up space in the database. You can purge invocation history automatically to delete data that you no longer need from the database.

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