I have about 100 function apps in Azure and I want to get some data about the apps.
In specific what i want to be able to check is how much these apps are being used by customers.
I have tried using the following in Powershell
az monitor app-insights metrics show --resource $APP_SERVICE_NAME --metric "Requests" -- aggregation "Count"
I am not sure if this metric is correct.
Which metric do i need to check to see how often a function app is being used or accessed by clients ?
You are in right direction, you check it using that Azure cli command or directly you can open in Azure Portal In monitoring section of Function app to check the logs:
As you have said you have multiple function app to get details of each function app you can use Azure Cli command:
az monitor app-insights metrics show --resource-group "rithwik" --app "rithw12" --metric "Requests" --aggregation "Count"
13