I dont want to see a random hostname each time.
#caheadband
Hi Chris,
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.
AGENT_HOSTNAME
I'm not sure of anything more clever yet, like being able to actually derive the host it is really running on.
Thanks,
David
Thanks.
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?
Several Times.
Chris Milazzo
APM Technical Consultant
Architecture & Platform Strategy
2 Morrissey Boulevard, Boston, MA 02125
Office 617-474-5466
Hi,
We set the following attribute in our agent profile:-
introscope.agent.hostName=OSEV3-PROD
Andrew Marsden
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