> penny wise and pound foolish
I love this saying. The general problem, optimizing the wrong metric, shows up all over the place.