Monitoring functions with Application Insights

To enable monitoring of your Azure Functions App with Application Insights, you need to provide the application with an instrumentation key of an Application Insights resource.

If you are creating a new Function App, you can simply enable the integration by turning Application Insights on during deployment. This will add the Application Insights instrumentation key to the Function app's App Settings:

If you want to enable the integration for an existing Function App, you can do so by creating a new Application Insights resource and adding its instrumentation key to your application.

To do so, ...

Get Serverless computing in Azure with .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.