Configure the Agent Using Environment Variables

Note: If you want to configure the .NET1 Agent using environment variables, add the environment variables before you install the Splunk AppDynamics Azure Site Extension.
Configuring the .NET Agent using environment variables allows for unattended configuration. To configure agents in this manner, add the environment variables before you install the Splunk AppDynamics Azure Site Extension, as follows:
  1. In the Azure Portal, open your Azure Function.
  2. Navigate to Function app settings > Manage application settings.
  3. Click +New Application Setting and enter your environment variables as name/value pairs.

    The table below lists the available environment variables:

    Environment Variable (Application Setting) Description (Value) Required
    appdynamics.controller.hostName

    Host associated with the Controller used by your Azure Function. Do not include http:// or https://

    Example: mycompany.saas.appdynamics.com

    Yes
    appdynamics.controller.port

    Port associated with your Controller. If the port is left blank or is invalid, defaults to 443.

    Example: 8080

    No
    appdynamics.agent.accountName

    Account name associated with the Controller used by your Azure Function.

    Example: MyAccount

    Yes
    appdynamics.agent.accountAccessKey Access key for your Controller. See Agent-to-Controller Connections. Yes
    appdynamics.agent.applicationName

    Name of the Azure Function App.

    Example: ECommerceApp

    Yes
    appdynamics.controller.ssl.enabled

    Sets SSL connection to the Controller.

    Valid values:

    • "True" enables SSL
    • "False" disables SSL
    No
1 Microsoft Azure, the Azure logo, Azure, and any other Microsoft Marks used in these materials are trademarks of Microsoft.com, Inc. or its affiliates in the United States and/or other countries.