qingwli opened a new issue, #17595:
URL: https://github.com/apache/dolphinscheduler/issues/17595

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar feature requirement.
   
   
   ### Description
   
   When the workflow definition is scheduled to run like every 3 hrs user will 
get a page every time it fails even if it is the same issue every time.
   
   We can use duplicate key handle these failures we would just get 1 page for 
the first failed instance and when the schedular runs again if it fails again 
it should just update the existing incident as they will be linked via the 
incident key provided.
   
   We need the incident key to be sent with the trigger event from UDP to 
pagerduty.
   
   We can use the projectCode and the workflow definition code as duplicate key.
   
   Example:
   
   projectCode-workflowDefinitionCode, 13054183063680-17338340491712
   
   ### Are you willing to submit a PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to