As an alternative to using system properties or controller-info.xml to configure the application name, tier name, and so on, you can configure the agent based on environment variables. Environment variables give you another mechanism for configuring the agent based on dynamically set values. They are particularly useful for instrumenting dynamics environments, such as EC2 or OpenShift environments.
About Environment Variables
When the agent subsequently starts up, it takes node23 as its node name.
Priority of Configuration Sources
Since an agent setting can be specified in several places, the agent applies the following order of priority in taking a value for the setting:
For each setting, the agent checks each of these sources. For the value, the agent uses the value from the first source that contains a non-empty value (based on the order shown).
Environment Variables Used by the Agent
|Environment Variable||Equivalent property|
|APPDYNAMICS_AGENT_UNIQUE_HOST_ID_ENV_VAR||Unique host name|