Add fitlering of metrics