ACS758 current sensor

The output voltage from the sensor reflects the instantaneous value of the current, with a delay of only about 4 microseconds. So you can read the whole waveform.