Hands-on Azure Functions with C# by Ashirwad Satapathi & Abhishek Mishra

Hands-on Azure Functions with C# by Ashirwad Satapathi & Abhishek Mishra

Author:Ashirwad Satapathi & Abhishek Mishra
Language: eng
Format: epub
ISBN: 9781484271223
Publisher: Apress


10. Enabling Application Insights and Azure Monitor

Ashirwad Satapathi1 and Abhishek Mishra2

(1)Gajapati, Odisha, India

(2)Mumbai, Maharashtra, India

sOnce you have developed your Azure function and have deployed it to the production environment, you must ensure that it is always ready to wake up if triggered and is doing its job as expected. In fact, you need to keep tabs on any failures and get alerts whenever the function goes down. You should have enough logs and metrics to debug issues and unexpected behavior for Azure functions in a production environment. Monitoring helps you to observe the execution behavior of an Azure function, and logs will provide you with the proper context in which you can debug Azure function failures and exceptions.

In the previous chapter, you learned how to perform CRUD operations on Azure Cosmos DB instances from Azure Functions. You explored the Azure Cosmos DB input and output bindings and the Azure Cosmos DB SDK in the context of Azure Functions. In this chapter, you’ll explore how to use Application Insights and Azure Monitor with Azure Functions to gather logs and metrics.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.