retrieving pagerduty dedup key of an incident using API
I have a python program that generates Pagerduty(PD) alerts using pdpyras libraries. I have a case where i need to resolve the PD alerts automatically if the issue is not found in next run. When creating alert, I am passing dedup_key
and title
. The title
varies according to state of infra (offline, broken, down). I want to resolve the alerts using dedup_key
. There is a library function for resolving alert but i have too many items in good state that if I send blind resolve api for each of them, I will get a 429 (too many request) from Pagerduty.