Alerts are firing when a new source(s) report in breaching the threshold briefly but not for the full duration of the configured target window.
When an alert sees a true value proceeded by "No Data" value this is a special situation that will cause the alert to fire immediately and not wait for the target threshold.
For new sources that breach the Alert condition only briefly, we need to include additional check similar to configuring for "No Data" scenarios.
Following the below process to add the additional checks.
ts(<some query value>)mcount() to test if there are more then a single true data point received. mcount(5m, ts(<some query value>)) > 3AND operator to combine your test condition with the condition you want to be alerted on. mcount(5m, ts(<some query value>)) >3 AND ts(<some query value>)