Application Performance Monitoring with Application Insights
Application Insights provides services for in-depth insight into your application, including global availability, performance, customer usage, and diagnostic information. Learn how to set it up in connected scenarios for issue detection, root cause analysis, and integration with DevOps processes.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Application Performance Monitoring and Diagnostics with Application Insights Ervin Loh Microsoft MVP
Synopsis Regardless if you are in development or production, Application Insights delivers a set of services to provide in depth and actionable insight into your application. The services includes global availability and performance, customer usage and deep internal diagnostic information. In this session, you will see how to set up Application Insights in connected scenarios where it will proactively detect issues through email and webhook alerts, perform root cause analysis with ad-hoc queries and full-text search, and integrate with DevOps processes using Visual Studio Team Services.
Presenter Ervin Loh (Visual Studio ALM MVP) https://mvp.microsoft.com/en-us/PublicProfile/4025202 Profile Ervin Loh is currently the Application Lifecycle Management Program Manager at K365Labs Sdn Bhd. He is the user group lead of Application Lifecycle Management User Community, a charter of TechNation. He has also been presented with the Microsoft MVP award in the Visual Studio ALM competency for 8 consecutive years from 2009 through 2016. He owns more than 10 years experience in the IT industry where he obtained professional certifications from IREB, ISTQB, and Microsoft. He works on a variety of Application Lifecycle Management products. He is also active in the IT community space by contributing contents to Microsoft Malaysia's START.NET and Ultimate program workshops and talks in conferences, events and user groups such as TechEd, Softec, Tech Insights, MITPM, ALMUC, and MIND.
Agenda Overview Building successful apps & services Understanding Application Insights Ensure your apps are available, performing & succeeding Getting started with Application Insights Easy onboarding with Visual Studio & Status Monitor Solving problems with Application Insights Identify, triage & diagnose service failures & performance issues; Learn continuously Real World Scenarios Learn from some real world customer cases & scenarios
By 2017, 94.5% of downloads will be for free apps Less than 0.01% of consumer mobile apps will be considered a financial success. - Gartner
Building successful apps is hard Competition is fierce User retention requires constant improvements to your apps and services Constant evolution Web services & mobile apps need to evolve rapidly to survive & grow Continuous delivery is here Most major services like Microsoft, Facebook, and others push update as often as every day Success requires data-drive decision making Making effective choices about your backlog requires deep understanding of your users behaviors and habits
Modern Application Lifecycle Monitor + Learn REQUIREMENTS Plan BACKLOG BACKLOG Development Production Collaboration Release Develop + Test
Modern Application Lifecycle REQUIREMENTS BACKLOG BACKLOG Monitor + Learn Plan Prioritize and validate investments based on real data Continuous learning Development Production Collaboration Actionable and contextual info to resolve incidents MTTR Tools and processes Collaboration Quickly detect and triage application issues MTTD Develop + Test Release
Application Insights Application Insights 1. Telemetry is collected at each tier: Mobile applications, server applications and browser 3. Get 360 view of the application covering availability, performance & usage 2. Telemetry arrives to Application Insights service where it is processed & stored
Understanding Application Insights Is my application Available, Performing, Succeeding
The price of light is less than the cost of darkness - Arthur Nielsen
What is Application Insights all about? Enabling you to efficiently build better applications Making analytics ambient with zero effort integration from dev to prod Providing dev team with 360 view of their app Find-Fix-Release and Build-Measure-Learn all in one place Making it easy to explore multi-dimensional data to form & validate hypotheses
Telemetry for 360 view 1 Outside-in monitoring URL pings and web tests from 8 global points of presence 2 Observed user behavior How is the application being used? 3 app Whatever the developer would like to send to Application Insights 4 Observed application behavior No coding required service dependencies, queries, response time, exceptions, logs, etc. platform infrastructure Infrastructure performance
Identify & Triage Application Insights Application Insights Diagnose & Solve Learn & Improve
Demo Application Insights portal tour
Getting Started with Application Insights Easy onboarding with Visual Studio & Status Monitor
You need telemetry, but It is too hard You don t have time You don t want to create reports It is hard to change It is just for the marketing team
Application Insights is Easy to add Easy to use Part of the development process App Insights is designed with the developer in mind!
Getting started for ASP .NET apps From Visual Studio 2015 Update 1 Add during project creation or later from the Solution Explorer context menu Add JS snippet to monitor web pages (only required for existing app) Deploy app or run locally Install Status Monitor for dependencies & perf counters Add Web Tests if needed for Availability Monitoring An application that is already deployed Install Status Monitor on the server Add Web Tests if needed for Availability Monitoring
Demo Get started with Application Insights
Solving problems with Application Insights Identify, triage & diagnose failures; Learn continuously
The alchemists in their search for gold discovered many other things of greater value - Arthur Schopenhauer
Solve problems & learn continuously Identify & Triage Diagnose & Solve Learn & Improve Reduce Mean Time to Resolve Understand key adoption trends Reduce Mean Time to Detect Ensure service availability with 8 global points of presence Identify issues with request rate & dependency response times Prioritise investments & support specific client environments URL ping tests and rich multi- step web tests Multi-dimensional analyses over custom & default metrics Custom event instrumentation & client page views Threshold based alerts on metrics and perf. counters Drill through exceptions & failed requests with traces & runtime telemetry Correlate usage with perf. telemetry for 360 view Real time alerts via email & SMS
Reduce Mean Time to Detect (MTTD) Problems Visibility to application health Solutions Automatic alerts whenever your application is not responding according to your thresholds Value Learn about issues before your customers complain Minimize outages and customer impact Visibility to application outages to minimize customer impact Actionable information to triage issues Hard to get information to determine impact of issue 360 view to your application health
Reduce Mean Time to Resolve (MTTR) Problems Uncover root cause of production issues Solutions Detect if the problem is your code or your dependencies. Value Low Mean Time to Repair (MTTR) Improved communication between dev and ops teams Increased user satisfaction Quickly resolve code problems detected in production Incident management workflows to integrate developers and operations. Actionable production diagnostics
Improve with continuous learning Problems Lack of information to prioritize future investments Solutions Access to customer usage data to help you make informed decisions Value Continuous learning
Demo Solve Problems & Learn Continuously
Real World Scenarios Learn from some real world customer cases & scenarios
Microsoft uses Application Insights! Microsoft uses Application Insights for tracking adoption, prioritizing investments and maintaining live site & data platform Microsoft instruments pipeline to track overall business metrics and feature usage workflows Microsoft uses Application Insights for Live Site to continuously track availability & performance
Microsoft Game Studios Game Studio: CMS & Commerce Service Game Service Scenarios Predict scale Investigate real data Respond to service incidents Use App Insights for Availability, Perf. & Usage Improving Service Engineering Invest in operational intelligence early Treat it as a corollary to unit testing Use throughout your application lifecycle
The importance of telemetry Plant vs Zombies 2 mobile game was initially released in Australia & New Zealand PopCap soft launched in those markets because those regions are much smaller compared to the US and Europe They aimed to test the backend in those markets to prevent unlikely crashing when the game is launched in the major markets It was deemed necessary as it could help make sure server capacity, in- game shop quality, and cloud saving capabilities are in best conditions before the release
Data Privacy & Security Privacy Privacy Your data is for your eyes only; Application Insights will never make your data available to advertisers, partners or 3rdparties Security Security With Application Insights you can be confident that your data is secure in Microsoft s Azure data centres Learn More at http://azure.microsoft.com/en-us/support/trust-center/
In conclusion Availability Performance Usage
DevOps Resources Resources for IT Ops http://aka.ms/devopstl Join the DevOps Insiders Group msdevops@microsoft.com
Resources www.microsoft.com/learning http://microsoft.com/technet http://microsoft.com/msdn