Multiple Influx instances with Haproxy load balancer

We have 2 instances of Influx having same data for high availability and we have to show this data on Grafana Dashboard, So how can we achieve high availability using Haproxy or any other load balancer. So that if one server goes down Grafana can get data from another server.