Once the AI account is created, navigate to the Overview tab and grabInstrumentation Key, as shown in the following screenshot:
Navigate to Function Apps for which you would like to enable monitoring and go to Application settings , as shown in the following screenshot:
Add a new key with the name APPINSIGHTS_INSTRUMENTATIONKEY and provide the instrumentation key that you have copied from the AI account, shown as follows, and click on Save to save the changes:
If everything goes fine, you will see the Application Insights ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.