Alert on Cloudwatch using metrics math

I’m have 3 queries (A, B, C) getting messages per second metrics from 3 nodes (node1, node2, node3). Then my query D, Id is total, Expression is node1+node2+node3, and Alias is TOTAL. Simply the addition of those metrics, and it graphs fine.
image
Although the legend shows the Id, not the Alias (not sure that matters)

I want to set an alert if the total messages is below a threshold. But when I create the alert on query D it always returns no_data. Any idea what I am doing wrong?

Looks like a bug actually in how it manages the id and expressions. If you have Id defined in the query, alerts will return no data. If you remove the id, then alerts work.

Same as issue #13749 on GItHub.

Hello, did you solve this problem? If you did, how, please?