This document provides an overview of Application Insights and how it can be used to monitor Azure services. It discusses key Application Insights features like performance tracing, alerts, and workbooks. It also covers how Application Insights integrates with tools like Visual Studio and VSTS. The document concludes with a brief discussion of pricing and some limitations.
2. APM Market
Introduction to Application Insights
Application Instrument
Performance tracing & other features
Agenda
Pricing
Demos
3. The world of Application Performance Monitoring (APM)
SecurityClass: Confidential
Azure AppInsights
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
4. APM in the DevOps workflow
SecurityClass: Confidential
Develop
Rapid reaction to
feedback Operate
Software to value
delivery
Development
& testing
Operations
PROBLEM
ASSIGNED TO
ENGINEERING
OPS
BACKLOG
MonitorFix
WORKINGSOFTWARE
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
5. Introduction to Application Insights
SecurityClass: 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 StudioTeam Services -VSTS)
Integrate with DevelopmentTools
7. Application Insights onVisual Studio
SecurityClass: 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?
12. Alerts
SecurityClass: 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.
13. Performance tracing
SecurityClass: 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
17. Debugging Snapshot
SecurityClass: Confidential
Capturing snapshot on the cloud & debugging inVisual Studio
Only support .NET Framework 4.5+ or dotnetcore 2.0+
Windows ONLY
Only enabled on Exceptions reported by Application Insights
18. Continuous Export
SecurityClass: 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 InsightsAPI
19. Usage
SecurityClass: 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 😁) !!!
22. Limitations
SecurityClass: 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 UserVoice…
8 – Percentage of failed requests