CommencerCommencer gratuitement

Connecting a function app to Application Insights

HealthPulse Medical is ready to deploy their patient notification service using Azure Functions. In the previous exercise, you created an Application Insights resource to collect telemetry. Now you need to create a function app and connect it to that Application Insights instance during setup. By enabling monitoring from the start, the team will have complete visibility into the service from its very first request.

Cet exercice fait partie du cours

Monitor and Troubleshoot Azure Solutions

Afficher le cours

Instructions

Create a new Function App using the pre-existing Resource group and East US as the region.

,

Select Node.js as the runtime stack and Consumption (Serverless) as the hosting plan.

,

In the Monitoring tab, enable Application Insights and select the resource you created in the previous exercise.

,

After deployment, verify the connection in the function app's Application Insights settings.

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice