HowTo: Monitor Azure functions

Official Content

After having published an Azure Function, you can monitor it in the following way. Consider that the host.json file can be modified in order to control the logging behavior.

See the Azure documentation to know how to set the host.json file.

First, access the Azure portal and select your function.

image_20201210161443_1_png

image_20201210162351_1_png

Click on the Monitor option on the left hand side:

image_20201210162450_1_png

There you can see all the invocations (successful or not) of the function.

image_20201210162552_1_png

And check the invocation details (if any error is thrown, it will be shown in this panel).

image_20201210162652_1_png

The logging information can be seen using the Logs tab in the Monitor panel.

image_20201210162817_1_png