Help with metric aggregation

Hard to say without the actual response from your Elasticsearch for your query. Take a look at this issue for how to investigate the response from ES:

How to troubleshoot metric query issues

Also something that would help is if you let us know what your query Alias is (if left to auto or if you use an alias pattern)