added flow feature to metric cmd