Notification Webhook different on up
and down
cases
#4203
Labels
area:notifications
Everything related to notifications
feature-request
Request for new features to be added
Already covered in other notification types, but not for webhook type:
UP
/DOWN
/CERT-EXPIRY
/...) triggers alerts #508UP
/DOWN
/CERT-EXPIRY
/...) triggers alerts #1233🏷️ Feature Request Type
New Notification
🔖 Feature description
When triggering a notification by webhook, I'd like the ability to send different POST request on
up
case anddown
case.For instance:
up
case: Requesthttps://my_alerting_app/webhook/1/issues
with{"issue_key":"NOTIF-1234"}
BODYdown
case: Requesthttps://my_alerting_app/webhook/1/issues/NOTIF-1234/close
with empty BODYHow may I set it up ?
✔️ Solution
Ability to select if the defined webhook is just for
up
case,down
case, or the both.❓ Alternatives
Create a dedicated notification specific for DevLake application.
Specs to generate a downtime INCIDENT by webhook: https://devlake.apache.org/docs/v0.20/Plugins/webhook
📝 Additional Context
The text was updated successfully, but these errors were encountered: