Monitoring of Azure Functions
Monitoring is essential for the quality of the Azure Functions over a specific period of time. Azure Function Apps provide a simple yet understandable monitoring in the Azure portal itself.
Go to Function Apps
, select a specific function, and click on the Monitor
link.
Here we can see the success count, error count, function invocation log, and other details:
![](https://static.packt-cdn.com/products/9781787122932/graphics/7efc3af6-6da7-4808-92ac-0ee4e3497036.png)
In Azure Portal, click on the function and select Expand
to get logs in a large window, as shown in the following figure.
Upload any new image in the Azure Storage container and wait for the function to be executed successfully:
![](https://static.packt-cdn.com/products/9781787122932/graphics/22196260-edbb-4af1-bb26-32e9139c11b9.png)
Once the function is executed successfully, go to the Monitor
section and find the updated success count:
![](https://static.packt-cdn.com/products/9781787122932/graphics/210de93b-28ba-46a2-b345-8faf6e66428a.png)
We can also set the Daily Usage Quota
in the Azure Portal for the Function App. We can set the quota as GB per second:
![](https://static.packt-cdn.com/products/9781787122932/graphics/15a6c366-f8c8-4942-b74c-c7920bd7aa9e.png)
Go to the Platform features
of the Function App and navigate to the Properties
link to find the available properties for that specific Function App:
![](https://static.packt-cdn.com/products/9781787122932/graphics/ecb73aba-a8bc-4098-bc81-c2216afadcac.png)
In the Monitoring...