Setup a Altermanager on the same box and I m writing Metrics (Diskspace >90) details to my Slack Channel.
route:
group_by: [cluster]
# If an alert isn't caught by a route, send it slack.
receiver: slack
routes:
# Send severity=slack alerts to slack.
- match:
severity: critical
receiver: slack
receivers:
- name: slack
slack_configs:
- api_url: 'https://hooks.slack.com/services/Token'
channel: '#alerts'
And the output of Slack notification is - Actual
Is there a way where I can ready Machine Name - along with differentiating it with Tag Name - like Build , Db etc ?
I want notifcation to be more readable like below , (I got it from some blog) could you please suggest please ?
Expected
Any thoughts on how to edit my AlertsManager.YML ?
Thanks,