Book Image

Azure Serverless Computing Cookbook

By : Praveen Kumar Sreeram
Book Image

Azure Serverless Computing Cookbook

By: Praveen Kumar Sreeram

Overview of this book

Microsoft provides a solution to easily run small segment of code in the Cloud with Azure Functions. Azure Functions provides solutions for processing data, integrating systems, and building simple APIs and microservices. The book starts with intermediate-level recipes on serverless computing along with some use cases on benefits and key features of Azure Functions. Then, we’ll deep dive into the core aspects of Azure Functions such as the services it provides, how you can develop and write Azure functions, and how to monitor and troubleshoot them. Moving on, you’ll get practical recipes on integrating DevOps with Azure functions, and providing continuous integration and continous deployment with Visual Studio Team Services. It also provides hands-on steps and tutorials based on real-world serverless use cases, to guide you through configuring and setting up your serverless environments with ease. Finally, you’ll see how to manage Azure functions, providing enterprise-level security and compliance to your serverless code architecture. By the end of this book, you will have all the skills required to work with serverless code architecture, providing continuous delivery to your users.
Table of Contents (11 chapters)

Pushing custom telemetry details to analytics of Application Insights

We have been asked by our customers to provide analytic reports of a derived metric with in AI. So, what is a derived metric? Well, by default, AI provides you with many insights about the metrics like requests, errors, exceptions, and so on. You can run queries on the information that AI provide using AI - Analytics query language, say, if you would like to understand the number of requests that are coming to a website for every hour a new metric derived from the out of the box metric.

In this context, requests per hour is a derived metric) and if you would like to build a new report within AI then you need to feed AI about the new derived metric on a regular basis. Once you feed the required data regularly, AI will take care of providing the reports for our analysis.

We will be using Azure Functions that feed...