High voltage waveform sensor

Hi guys, I'm trying to measure the quality of the voltage in my house using an arduino, to do this I need to measure +/-230V and construct the waveform in my arduino (like an osciloscope).
Does anyone know a sensor that convert this high voltage to 0V-5V DC? It can't be RMS, I need the values peak to peak.

See this circuit https://openenergymonitor.org/emon/buildingblocks/measuring-voltage-with-an-acac-power-adapter.