assertible / lambda-cloudwatch-slack

Send AWS CloudWatch notifications to a Slack channel using Lambda
https://assertible.com/blog/npm-package-lambda-cloudwatch-slack
MIT License
481 stars 254 forks source link

Improve notification title #10

Open creichert opened 7 years ago

creichert commented 7 years ago

It would be nice if the title of the slack message were a little more descriptive.

For example,

elasticache1

The message title is:

AWS Elastic Beanstalk Notification

but could be improved to be:

Elastic Beanstalk Environment retsd-staging-1 health is Degraded

or something similar

smthqnn commented 7 years ago

Has this change already been implemented?

CodyReichert commented 7 years ago

@smith-quinn not yet! Definitely something I'd like to see too, especially for getting Slack notifications on mobile devices.

If you (or anyone else) wants to take a stab at it, it's the subject variables (like these) that can be enhanced.

dharshan commented 5 years ago

Instead of using a static subject name. I am using message.AlarmName itself as subject name. aws-to-slack