NashTech - Azure Application Insights

trumhemcut 1,644 views 23 slides Oct 02, 2017
Slide 1
Slide 1 of 23
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23

About This Presentation

Introduction to Azure Application Insights


Slide Content

Monitoring Azure Services with Application Insights Phi Huynh R&D Manager NashTech Vietnam

APM Market Introduction to Application Insights Application Instrument Performance tracing & other features Agenda Pricing Demos

The world of Application Performance Monitoring (APM) Security Class: Confidential Performance & application management Transaction monitoring Tracing from database to network, front-end to back-end Event correlating, time series data collection Workflow & alarm management Visualize application performance in real-time

APM in the DevOps workflow Security Class: Confidential Develop Rapid reaction to feedback Operate Software to value delivery Development & testing Operations PROBLEM ASSIGNED TO ENGINEERING OPS BACKLOG Monitor Fix WORKING SOFTWARE No actionable feedback resulting in high MTTR Isolated operations tools and workflows Long deployment cycle times Users detect defects in production Production incidents are hard to debug Unable to reproduce error in development environment

Introduction to Application Insights Security Class: Confidential Monitoring live web applications, background services, … Detect performance anomolies Support .NET , dotnet core , Java , NodeJS , Python , PHP , … Run on-premise or on Microsoft Azure Integrate with DevOps workflow ( eg . Visual Studio Team Services - VSTS) Integrate with Development Tools

Introduction to Application Insights Security Class: Confidential

Application Insights on Visual Studio Security Class: Confidential Visual Studio 2015 or later – telemetry data from Azure Application Insights Visual Studio 2017 or later – Application Insights SDK built-in, no need instrumentation key What you need to enable? Application Insights Search View exceptions & failed requests Explore telemetry trends View request summaries in Code Lens What you will get returns?

App Insights on Visual Studio no needs to connect to Azure Application Insights Security Class: Confidential

Ways to plug Application Insights to your apps Security Class: Confidential Build time Run time

Instrumentation details Security Class: Confidential Request rates, response times, and failure rates Exceptions Page views & load performance AJAX calls User and session counts Performance counters Host diagnostics Diagnostic trace logs, custom events & metrics

Application Map Security Class: Confidential

Alerts Security Class: Confidential Availability test to continuously with alerts Send mail to administrators when a problem occurs Create alerts based on performance metrics Use Azure Logic App to send summarized telemetry on a schedule.

Performance tracing Security Class: Confidential Identify the performance of server-side operations Analyze server operations to determine the root cause of slow performance Identify slowest client-side operations Analyze details of page views using query language

Performance tracing Security Class: Confidential

Workbooks Security Class: Confidential Analytics Queries Save as Workbooks Sharing Edit, clone, delete, … Markdown supports

Analytics Security Class: Confidential

Debugging Snapshot Security Class: Confidential Capturing snapshot on the cloud & debugging in Visual Studio Only support .NET Framework 4.5+ or dotnetcore 2.0+ Windows ONLY Only enabled on Exceptions reported by Application Insights

Continuous Export Security Class: Confidential Keep data longer than the standard retention period Process data in your specific ways $0.50/Gb for Basic plan , Unlimited for Enterprise plan Connect directly to Azure Storage Account Export in JSON format Not available in Free trial / Fixed budget subscription  Export to PowerBI Analytics Query Application Insights API

Usage Security Class: Confidential Users – number of users access your pages Sessions – number of user sessions access your site Retention – how many users come back? Funnels – discover how users are using your application User Flows – Analyze user navigation pattern Events – how often pages & features of your app are used (I love it 😁 ) !!!

VSTS Integration Security Class: Confidential Request rates, response times, and failure rates Exceptions Page views & load performance AJAX calls User and session counts Performance counters Host diagnostics Diagnostic trace logs, custom events & metrics

Pricing Security Class: Confidential

Limitations Security Class: Confidential 1 - Warning ! Sensitive data is not scrubbed 2 - Key limitation: Finding slow SQL queries 3 - Asynchronous HttpClient calls are not supported 4 – No custom profiling 5 – No support for the concept of multiple “environments” (QA, Prod, etc ) 7 – No support Azure Service Bus , Redis yet!!! And much more from User Voice … 8 – Percentage of failed requests