updated metric filtering for pipeline