Monitor Azure Function Apps
You can track the performance of your Azure Functions app's key metrics like response time, throughput, Apdex score, errors, and exceptions via the APM Insight .NET Core agent.
Contents:
1. Install APM Insight .NET Core agent extension
2. Upgrade your APM Insight .NET Core agent
To obtain your license key: Log in to your Site24x7 account > APM Insight > Add APM Insight Agent > .NET Agent > License Key. If you are a new user, sign up for a Site24x7 account and obtain your license key.
1.Installing the APM Insight .NET Core extension in the Azure Functions app
1.Log in to portal.azure.com, and navigate to your Functions app listed under Functions Apps on the left-hand side.
2.Select the extension APM Insight .NET Core Agent.
3.Accept the license agreement for installing the agent.
4.Navigate to your Azure Functions app settings, and add the license key in the given format:
Name: S247_LICENSE_KEY
Value: Your Site24x7 license key
5.Once you've added the extension, restart your Azure Functions app to start monitoring the function.
6.You can view the metrics once some transactions take place.
To upgrade APM Insight agent to monitor your Azure functions, follow the instructions given below:
1.Log in to the Azure Portal.
2.Open the Azure Function app and navigate to Platform Features > Site Extensions link.
3.Choose APM Insight .NET Core Agent. Whenever an update is available, it is indicated on the extension APM Insight .NET Core Agent.
4.Click on the extension, and select Update to upgrade the agent.
5.Once the agent update is finished, restart the Azure Function app and use it to continue monitoring.