Short Version
If a “resolve” message is sent to the /enqueue
endpoint of the v2 API and the dedup-key finds no corresponding triggered alert, is the message just silently dropped?
Long Version
As part of our custom CI/CD system we send deployment messages to both the /enqueue
and /change/enqueue
endpoints of the v2 API.
The idea is that both successful and failed deployments send messages to both endpoints but for the /enqueue
endpoint we have a rule that suppresses the successful messages because we don’t need to see them. The failed deployment messages are not suppressed and do create incidents which are resolved by subsequent successful deployments.
However, I can’t actually find any suppressed alerts for successful deployments to the /enqueue
endpoint so I don’t think we even need the rule to do the suppression.
We currently use a very simple dedup-key like <app>-<stage>-<region>
. I’m thinking that means that the API can only really use the message if a corresponding incident is open using that dedup-key and it uses it to resolve the incident. Further, for all the times we send the “resolve” message but there is no open incident the message just gets silently dropped?
Hopefully that gives context to the short version above.