metrics: added filter for statistic type.