When the alarm is created based on an expression of multiple metrics, the "Trigger.MetricName" will be undefined and shown in the slack message. It will make customers think that the alarm is not configured. The commit checks the if alarm is created based on expression, and reflect it to customers avoid the misleading undefined.
When the alarm is created based on an expression of multiple metrics, the "Trigger.MetricName" will be undefined and shown in the slack message. It will make customers think that the alarm is not configured. The commit checks the if alarm is created based on expression, and reflect it to customers avoid the misleading undefined.