>as soon as you try to measure how well people are doing, they will switch to optimising for whatever you’re measuring, rather than putting their best efforts into actually doing good work
The Hawthorne effect describes how any change in environment can temporarily lead to positive effects. The sentence you quote is more akin to Goodhart's law (https://en.wikipedia.org/wiki/Goodhart%27s_law).