Environment Variables
If you have not provided the required settings in the require statement, the agent
uses the values of the following environment variables if those variables are set.
If both are set, the require
statement value takes precedence over
the environment variable.
Environment Variable | Maps to |
---|---|
APPDYNAMICS_CONTROLLER_HOST_NAME
|
controllerHostName
|
APPDYNAMICS_CONTROLLER_PORT
|
controllerPort
|
APPDYNAMICS_CONTROLLER_SSL_ENABLED
|
controllerSslEnabled
|
APPDYNAMICS_AGENT_ACCOUNT_NAME
|
accountName
|
APPDYNAMICS_LOGGER_OUTPUT_TYPE
|
You can stream logs to stdout by setting its value to
console . |
|
You can set the logging level of the agent. Possible values include: |
APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY
|
accountAccessKey
|
APPDYNAMICS_AGENT_APPLICATION_NAME
|
applicationName
|
APPDYNAMICS_AGENT_TIER_NAME
|
tierName
|
APPDYNAMICS_AGENT_NODE_NAME
|
nodeName
|
APPDYNAMICS_AGENT_UNIQUE_HOST_ID
|
- |
APPDYNAMICS_ANALYTICS_HOST_NAME
|
host —in Analytics settings |
APPDYNAMICS_ANALYTICS_PORT
|
port —in Analytics settings |
APPDYNAMICS_ANALYTICS_SSL_ENABLED
|
ssl —in Analytics settings |
UNIQUE_HOST_ID
|
uniqueHostId
The unique host ID can be set to any value that will identify the host. If a value is not specified, the agent will generate the host ID. Note: This environment variable is available by default (not for
Java proxy mode).
|