LinkedIn
Copied!

Table of Contents

Changing the parameters for monitoring lengthy services

Version:

Only available versions of this content are shown in the dropdown

You can change the parameters that the system uses to monitor long-running services. For example, if your alert log shows excessive PEGA0011 alerts which you have already debugged and have determined that they need not be logged, you can change the logging parameters.

The default prconfig.xml settings for these alerts are as follows:

<env name="alerts/services/totalRequestTime/enabled" value="true"> <env name="alerts/services/totalRequestTime/threshold" "1000"> <env name="alerts/services/inboundMapping/enabled" value="false"> <env name="alerts/services/inboundMapping/threshold" "500"> <env name="alerts/services/outboundMapping/enabled" value="false"> <env name="alerts/services/outboundMapping/threshold" value="500"> <env name="alerts/services/activityTime/enabled" value="false"> <env name="alerts/services/activityTime/threshold" value="500"> <env name="alerts/parse/totalTime/enabled" value="false"> <env name="alerts/parse/totalTime/threshold" value="500">
  1. Optional:

    For the value you want to change, update the prconfig.xml file to specify whether the alert should appear in the log and the time threshold for the alert in milliseconds.

    To set a minimum value for the totalRequestTime element in milliseconds to 850 and to control whether pxTotalReqTime alerts appear, add these elements to the prconfig.xml file: <env name="alerts/services/totalRequestTime/enabled" value="true"> <env name="alerts/services/totalRequestTime/threshold" value="850">
    1. Stop and redeploy or restart the Pega Platform server.

  2. Optional:

    As an alternative to updating the prconfig.xml file, you can use dynamic system settings to configure your application. See Using dynamic system settings.

  3. Monitor the Alert log for messages.

Related Content

Article

Alerts

Have a question? Get answers now.

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