Templates for Slack notifications
The current Slack notifier posts a large JSON blob to the configured Slack channel when an alarm triggers. For example:
{
"metrics":[
{
},
"id":null,
}
],
"alarm_
"state":"ALARM",
"alarm_
"tenant_
"old_
"alarm_
"message"
"alarm_
"alarm_
}
Although comprehensive, for some users this is overly verbose. Here we propose to add an optional template for Slack notifications which allows users to define the information included in the notification. For example, the above notification text may become:
Alarm 'log_error_message' has triggered on host 'old-cranky' in component 'nova-conductor'.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Doug Szumski
- Direction:
- Needs approval
- Assignee:
- Doug Szumski
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Templates for Slack notifications
Gerrit topic: https:/
Addressed by: https:/
Templates for Slack notifications