I dont want to see a random hostname each time.
This is Guenter's example of how to configure it
GitHub - CA-APM/ca-apm-example-docker-tomcat: This example shows how to install a CA APM Java agent in a Tomcat Docker c…
It mentions being able to control the agent hostname through an environment variable
Optional: set the environment variable AGENT_HOSTNAME to a persistent hostname (e.g. the container name) that will be used instead of the container id for identifying the CA APM agent.
I'm not sure of anything more clever yet, like being able to actually derive the host it is really running on.
i think I did set ENV HOSTNAME which is docker variable.. Ill try AGENT_HOSTNAME next thanks.
used these both and it didnt work
ENV AGENT_HOSTNAME="flintstone."ENV HOSTNAME="flinststone"
Did you consult with your Docker captain?
APM Technical Consultant
Architecture & Platform Strategy
2 Morrissey Boulevard, Boston, MA 02125
We set the following attribute in our agent profile:-
thank you Andrew
added the following to init_agent.sh which was from Guenters example
sed -i -e "\$aintroscope.agent.hostName=caheadband" $WILY_HOME/core/config/IntroscopeAgent.profile
Retrieving data ...