ACloudGuru / serverless-plugin-aws-alerts

A Serverless Framework plugin that creates CloudWatch alarms for functions.
MIT License
531 stars 149 forks source link

How to add “show logs” and “show error logs” buttons to slack alert of customize alarms? #234

Open wshs0713 opened 1 year ago

wshs0713 commented 1 year ago

This is a Question

Description

Hi, I’m new to Serverless and this plugin, and I find that there has “show logs” and “show error logs” buttons in slack alert of default alarms (i.e. functionErrors). It will show the logs or error logs by clicking the button, it’s very convenient for troubleshooting.

Screenshot: 9CE68CE3-BA86-4C91-98E1-EFE75211D218

But there doesn’t have these two buttons of customize metric filter alarms, can I add these buttons for customize metric filter alarms? If yes, where can I configure this?

Any help would be much appreciated. Thanks!