To start, try using the following measurements with your customer alert rule.
Run the query first in Logs under your workspace to make sure you have records being returned. For Arc heartbeats, those machines connected to the workspace should be sending a heartbeat metric value roughly every minute. For an alert, set the Aggregation Type to Count and Threshold to match the evaluation granularity. An example query for metrics rules is, but honestly the query you have above should work for both.
Heartbeat
| where TimeGenerated > ago(5m)
| summarize AggregatedValue = count() by Computer