Pre-requisites for Monitoring a Microsoft Azure Function

As mentioned already, you need to fulfill the following key pre-requisites to enable the eG agent to monitor an Microsoft Azure Function:

  1. The eG agent should be configured to connect to the Microsoft Azure cloud and retrieve metrics for the monitored Azure Function App by making Azure ARM REST API calls. For this purpose, you need to do the following:

    • Register an Application with a Microsoft Entra Tenant;

    • Determine the Tenant ID, the Application (Client) ID and Secret Key value associated with the registered Application;

    • Assign the Reader role to the registered application for the Azure subscription containing the monitored Azure Function App.

    Refer to Configuring the eG Agent to Monitor a Microsoft Azure Subscription Using Azure ARM REST API topic to know how to perform each of the steps discussed above.

  2. The eG agent should be configured to retrieve logs from the Log Analytics workspace associated with the monitored Azure Function App. To achieve this, refer to Configuring the eG Agent to Read Logs Sent to Log Analytics Workspaces topic.