Docker Agent Server name proxy from agent

Document ID : KB000123459
Last Modified Date : 20/12/2018
Show Technical Document Details
The Docker Monitor is pulling back the server name "proxy" instead of the hostname.
APM 10.7
When we add the following env variable on Kubernetes side , it gets the nodename value from the pod specification and the value is in general one of the value that you get from kubectl get nodes
            - name: introscope_agent_hostName
                  fieldPath: spec.nodeName
This value is assigned to introscope_agent_hostName
Similarly on docker side, when we add introscope_agent_hostName=”{{.Node.Hostname}}”
docker assigns the Introscope_agent_hostName env variable to the HostName of the Node specified in the Pod and this should be one of the value that you get from docker node ls
In a normal setup both of them should be same ( I am assuming so ) but in case its different in broadridge env – I do not think we can do anything but to convince them to make sure both of them shows same hostname . FQDN will be a no-op in case we explicitly specify the HostName on Agent profile which we are doing in this case