Observing dark energy