Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Beginning Serverless Architectures with Microsoft Azure

You're reading from   Beginning Serverless Architectures with Microsoft Azure Design scalable applications and microservices that effortlessly adapt to the requirements of your customers

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789537048
Length 100 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Daniel Bass Daniel Bass
Author Profile Icon Daniel Bass
Daniel Bass
Arrow right icon
View More author details
Toc

Logging with Application Insights

One of the most important operational requirements for software is that your company understand what the application is doing and can triage responses to errors. This is generally achieved via some form of logging, and there is a service in Azure for this, called Application Insights. It's a very sophisticated application health monitoring tool that combines out-of-the-box monitoring, like processor loads, RAM usage, and errors, with specific logging that the developer has to implement. While Azure Functions don't really have concerns with processor loads or RAM usage, it useful to know the average length of calls, how many instances are being spun up, and hourly spend.

In the next example, you will add Azure Application Insights integration to your previous two functions, to enable effective support.

...
You have been reading a chapter from
Beginning Serverless Architectures with Microsoft Azure
Published in: Jul 2018
Publisher: Packt
ISBN-13: 9781789537048
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime