Monitor Azure app services
You can track the performance of your .NET and .NET Core web app's key metrics like response time, throughput, and Apdex score via the APM Insight .NET agent hosted in Azure App Services.
Contents:
1. Install .NET agent via Azure portal
Installing APM Insight extension via Azure portal
- Log in to portal.azure.com and navigate to your web app listed in the App Services tab.
- Authenticate the APM Insight .NET agent by providing the licensing key. To obtain the license key, log in to your Site24x7 account and click APM on the left panel. Navigate to Add APM Insight > .NET Agent > License key. If you are a new user, sign up for Site24x7 to obtain your license key.
- Copy the license key from the Site24x7 portal and add an app setting key value for the license key in the App Settings tab as shown below:
S247_LICENSE_KEY= [Your license key]
- Now, navigate to the Extensions tab in Azure App Services and click Add
- Select the extension APM Insight .NET Agent or APM Insight .NET Core Agent based on your application platform.
- Accept the license agreement for installing the agent
- Once you've added the extension, restart your Azure App Service to start monitoring the application.
- That's it. You can view the metrics once your app is functional and some transactions take place.
To upgrade .NET agent to monitor your Azure web apps, follow the instructions given below:
- Login to the Azure Portal.
- Open the App service and navigate to the Extensions tab.
- Whenever an update is available, it is indicated on the extension APM Insight .NET Agent.
- Click on the extension and select Update button to upgrade the agent as below
- Once the agent update is finished, restart the app service and start using the web application to continue monitoring.
If the monitor is not getting created, please follow these steps.