Abhishek:
We are going to ship an official Grafana to APMSQL implementation with 10.7 SP1. In the meantime, we are looking for early adopters to install and play with the integration. I have draft documentation available and several customers have been successful with it, but the installation discussion is not yet complete. If you would like to try it, or have a customer that would, we would love to get your feedback and incorporate it into the final release.
Grafana expects a JSON REST service. In short, you can deploy this as a WAR in your own Tomcat, or use it as a built-in service in the APMSQL server instance. You need APMSQL server running regardless. Postgres is not involved; only APMSQL (and SmartStor).