Skip to content

[Improvement][Alert] PagerDuty add duplicate key avoid repeat alert #17595

@qingwli

Description

@qingwli

Search before asking

  • I had searched in the issues 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?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

improvementmake more easy to user or prompt friendly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions