I have a function $f:\mathbb{R}^N \to \mathbb{R}$ and I know that on its level sets $f^{-1}(z)$ the norm of its gradient is constant. What can I say about this function? $$ ||\nabla_x f(x)|| = \text{const} \qquad \qquad \forall x \in f^{-1}(z) := \left\{x \in \mathbb{R}^N \, :\, f(x) = z\right\} \qquad \forall \in \mathbb{R} $$
Related questions are this and this. However, they consider the norm of the gradient to be constant for every $x$ in the domain. I know that this is true only on each level set.