Install the CA APM .NET Agent for Microsoft Azure App Services

The .NET Agent for Microsoft Azure App Services allows enterprises running .NET applications in Microsoft Azure to identify and resolve performance issues. The .NET Agent for Microsoft Azure App Services integrates performance metrics into CA APM for Intelligent analytics, alerting, and visibility on a single dashboard. 
apmdevops106
The .NET Agent for Microsoft Azure App Services allows enterprises running .NET applications in Microsoft Azure to identify and resolve performance issues. The .NET Agent for Microsoft Azure App Services integrates performance metrics into CA APM for Intelligent analytics, alerting, and visibility on a single dashboard. 
Here are the steps to install and configure the CA APM .NET Agent for Microsoft Azure App Services:
2
2
Install the .NET Agent Site Extension
You install the CA APM .NET Site Extension from the Microsoft Azure Extension Gallery.
Follow these steps:
  1. Log in to Microsoft Azure, navigate to 
    App Services
    , and select your App Service.
  2. Select the Extensions blade for the selected App Service.
  3. Click 
    + Add
    .
  4. Select 
    APM .NET Agent for Azure App Services
     from the list of available extensions.
  5. Click 
    OK
     to accept the license terms.
  6. Click 
    OK
     to install the extension. 
Configure the .NET Agent
You can configure the .NET agent in the Microsoft Azure Application settings blade. 
Property settings in in the Microsoft Azure Application settings blade override property settings that are specified in the IntroscopeAgent.profile.
Follow these steps:
  1. Select the 
    Application Settings
     blade to configure your app service properties.
  2. Configure the agent connection details.
    You get the 
    agentManager.url.1
     and 
    agentManager.credential
     values from the Enterprise Manager setting. 
    1. Navigate to the <Agent_Home> directory and open the IntroscopeAgent.profile in a text editor.
    2. Locate the 
      agentManager.url.1
       property, and copy the value.
    3. In Azure, add the agentManager.url.1 value into the 
      agentManager.url.1
       key. 
  3. Configure browser agent automatic snippet injection.
    1. Create an application on the App Experience Analytics instance. Associate the application with the Application Performance Management instance you are using. To complete this step and the next step, use the information here
    2. Copy the snippet from the App Experience Analytics instance that is associated with the Application Performance Management instance you are using.
    3. In Azure, add the snippet content into the 
      introscope.agent.browseragent.snippetString
       key.
    4. Add the key 
      introscope.agent.browseragent.autoInjectionEnabled
       with a value of 
      true
      .
    5. Add the key 
      introscope.agent.browseragent.responseCookieEnabled
       with a value of 
      true
  4. Select the 
    Overview
     blade and click 
    Restart
    .
Configure .NET Agent Log Files
The .NET agent log files are located in the D:/home/LogFiles/SiteExtensions/APM/<Agent_Home> directory. Typically the <Agent_Home> directory is named 
wily
.
You can configure the logging-related properties. 
Follow these steps: 
  1. Navigate to the <Agent_Home> directory and open the IntroscopeAgent.profile in a text editor.
  2. Configure the following logging-related properties as required.
    After you after install the .NET agent for Azure App Service, add the following properties to the agent profile and and uncomment as required.
    • introscope.agent.log.level
      Sets the log level of the agent log.
      Default:
       INFO
      Values:
      INFO, DEBUG
      Monitored application restart required
      : Yes
    • introscope.agent.log.max.file.size
      The maximum size of the log file before output gets rolled into a backup file.
      Default:
       200 MB
      Monitored application restart required
      : Yes
    • introscope.agent.log.max.roll.backups
      The maximum number of backup log files to keep before the oldest file is deleted.
      Default:
       4 
      Monitored application restart required
      : Yes
  3. Restart the monitored .NET application.
  4. Save the file.