added support for filtering metric values