In fact, since the potentiometric measurement is a non-destructive measurement, assuming that the electrode is in equilibrium with the solution, we are measuring the solution's potential.
Since the measurement is non-destructive, assuming the electrode is in balance with the solution, we're measuring the solution's electric potential.