add max size to metrics redis list