Dynamics of metrics in measure spaces and their asymptotic invariants