I have few Win servers (like Build, DB, App etc) where WMI is installed and configured, and able to read Metrics (based on rules like Disk Space >90) on my Prometheus dashboard.
Setup an 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 notification to be more readable like below (I got it from some blog). How can I achieve this?
Expected