Are you asking what kind of sensors to interface to your micro? A simple voltage divider and a current sensor would do it for the DC power. For AC, you might want to use a transformer for sensing the voltage.
1) you can use a voltage divider for the ac. But either way, your micro is going to have to determine the peak. You would probably be safer to use a dedicated voltage sensor.
2) use a current sensor. There are thousands of types.
This whole question is making me a little concerned. You seem totally unaware of fundamental high voltage components, yet you are trying to design something using voltages that can kill you. Maybe you should rethink this.
One of the best way is to use an auxiliary winding at the step-up transformer and further rectify and regulate the auxiliary voltage to dc and fed the voltage directly to the microcontroller or using an voltage divider as per your design.
Later find the RMS value of the AC line simply by dividing the voltage value by 1.414 (Please note that this is applicable only if you use a Pure sine wave inverter, I am quite a bit sure you are using pure sine wave inverter since it is a solar inverter)
I suggested this method to be the best since it have isolation over the high voltage winding