Appearance
066 - Notification Config
Multi-channel notification routing rules. This is an example of a MAML document.
maml
{
channels: {
email: {
enabled: true
provider: "sendgrid"
from: "notifications@massive-jellyfish.info"
}
slack: {
enabled: false
webhook_url: "https://hooks.slack.com/services/ExHMo3RT141QrmypF0iO"
default_channel: "#general"
}
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"
}
]
}