Monitoring functions with Application Insights

After the initial setup of Application Insights for the function app, we can the monitoring logs for individual Functions using the Monitor option:

To verify the logs of a particular Function run, you can click on any specific run row and that will bring up logs for the individual run:

You can also get function app monitoring logs through an Application Insights analytics query. Application Insights is the source of function app health and run logs:

Within your function app, you can directly navigate to the associated Application Insights resource from the Overview section of the function app. You can find the associated performance matrix of each function within the function app:

Using Application Insights, you can also easily capture any exception raised during Function execution. This will also enable setting up alerts based on Function failure and server exceptions. Such exceptions could either be due to high resource utilization or broken code within the function app:

Here we have covered the basic monitoring of a function app using Application Insights. To learn more about how you can query telemetry data from Application Insights, go to the Functions Monitoring section of the Microsoft documentation: https://docs.microsoft.com/en-us/azure/azure-functions/functions-monitoring.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.98.166