The log message is not in the good condition. 'metric' is the original m...

...etric to be aggregated. It will never match an aggregated metric. If the aggregate_metrics array is empty, this is where it means the metric didn't match any rule