Updated on 2023-12-28 GMT+08:00

Error Monitoring

The error monitoring processor is used to monitor a specified process, capture exceptions, and perform retry and exception handling operations based on configured parameters.

Configuration Parameters

Parameter

Description

Error Type

Type of the captured exception. Execution Exception covers all service exceptions.

Error Message

Error message contained in the captured exceptions. The exception handling procedure is performed only when the captured exception contains specified error message.

Retry Times

Maximum number of retry times of monitored processes when an exception occurs.

Retry Delay (Second)

Retry interval of monitored processes when an exception occurs, in seconds.

Configuration Example

In the preceding figure, error monitoring is configured to monitor the MySQL component to obtain records. If an exception occurs and the error message contains test, the MySQL operation will be retried in two seconds and then terminated. Subsequent processes will not be performed. If an exception occurs and the error message contains error, the MySQL operation will not be retried, and the task proceeds to log collection and the Redis hget operation.