What is the best way to store metrics in Influxdb to visualize them on Grafana?

My monitoring stack is Sensugo–>Influxdb–>Grafana. I use metrics-cpu.rb script.
Problem is handler write the data in influxdb the way that Measurements becomes host names of clients.
Moreover field keys are very unstructures like below. How can we best plan all this?
cpu.btime float
cpu.cpu0.guest float
cpu.cpu0.guest_nice float
cpu.cpu0.idle float
cpu.cpu0.iowait float
cpu.cpu0.irq float
cpu.cpu0.nice float
cpu.cpu0.softirq float
cpu.cpu0.steal float

@masifpak Brother go to these links. Answers many queries.