Appearance
163 - Notification Config
Multi-channel notification routing rules. This is an example of a MAML document.
maml
{
channels: {
email: {
enabled: true
provider: "ses"
from: "notifications@tasty-ferret.info"
}
slack: {
enabled: false
webhook_url: "https://hooks.slack.com/services/gukVmFM81z28joK5gwkU"
default_channel: "#alerts"
}
sms: {
enabled: false
provider: "twilio"
}
}
# Routing rules
rules: [
{
event: "deploy_success"
channels: [
"slack"
"email"
]
priority: "low"
}
{
event: "deploy_failure"
channels: [
"slack"
"email"
"sms"
]
priority: "critical"
}
{
event: "error_spike"
channels: [
"slack"
]
priority: "high"
}
]
}