Execute a custom SQL query using mysql metricbeat module

Hi Kvch,
What should be the GOPATH and GOROOT environment variable values?

Also, after I create the metricset, how do I install the new package in Linux machine. Earlier I have used the rpm package to deploy metricbeat in CentOS