Getting Energy Panel data into Grafana

Hi,

Can someone please help and advise what values I should use to replicate the energy tab (hourly, daily, weekly, monthly etc) data to long term store data in grafana.

I have grafana setup and using for temperature and heating states fine so just some help what sensors I should be using, my energy tab uses sensor.gas, sensor.gas_cost, sensor.electricity and sensor.electricty_cost.