PIM-1530: Make work metric filter
PIM-1530: Add metric filter
PIM-1530: Temporary commit
PIM-1530: Do first working implementation of metric filter