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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot