SlideShare a Scribd company logo
Consulting/Training
DevOps > CI + CD
A Web Developer’s Introduction to Application Insights
Platinum
Sponsors
After Party – Dave & Busters
2215 D&B Drive Southeast
Marietta, GA
Sponsored By:
Gold Sponsors
Silver Sponsors
Consulting/Training
The DevOps Lifecycle
1. Plan &
Track
2. Develop &
Test
3. Release
4. Monitor &
Learn
?
CD CI
Consulting/Training
 Application Insights Background
 Telemetry Ingest
 Telemetry Exploration
 Telemetry Display
 Resources
Agenda
Consulting/Training
What Is Application Insights
Ingest
• Runtime instrumentation
of deployed applications
• Build-time application
extension libraries
• SDKs for custom
telemetry gathering
Explore
• Interactive Application
Map
• Live Telemetry viewer
• Performance & Metrics
explorer
• Deep data search tooling
• Visual Studio integration
• Analytics studio
Display
• Azure Portal dashboards
• Export data
• Integration with OMS,
Power BI
• Configure alerts (manual
or smart)
Application Insights is an Application Performance Management service, featuring:
Consulting/Training
Introducing Application Insights
Consulting/Training
Run-Time Build-Time
What you do Instrument an Azure Web App on
the server
(Adds the App Insights Extension)
Add the SDK to your app (Requires
rebuilding & redeploying your
code)
Requests & Exceptions YES YES (with Stack Trace)
Dependencies YES – Result Codes, SQL Command
Text, HTTP Verbs
.NET 4.6+ Only
(ASP.NET Core is WIP)
System Perf Counters YES YES
Live Metrics YES YES
API for Custom Telemetry NO YES
Trace Log Integration NO YES
Page Views & User Data NO YES
Ingest – Integrating Your Application
It isn’t either/or. Both modes can be enabled to get the combined behaviors.
Consulting/Training
Ingest – Configuring Data Collection
1) Select “Configure Application
Insights” for the application project
2) Configure or Select an Application
Insights resource in an Azure
Subscription
Consulting/Training
var client = new TelemetryClient();
client.Track(new PageViewTelemetry { …properties… } );
client.Track(new RequestTelemetry { …properties… } );
client.Track(new EventTelemetry { …properties… } );
client.Track(new MetricTelemetry { …properties… } );
client.Track(new ExceptionTelemetry { …properties… } );
client.Track(new TraceTelemetry { …properties… } );
client.Track(new DependencyTelemetry { …properties… } );
Ingest – Tracking Custom Telemetry Requests
 Obtain an instance of TelemetryClient
 Create an instance of the telemetry class to be tracked and set the
properties
 Call Track with the telemetry
Consulting/Training
Platform Comment
ASP.NET Core • Telemetry collection is much improved in 2.0
• Still a work-in-progress; Live Metrics support efforts are appearing in GitHub repo
Java • Include the Application Insights SDK for Java
• Java Apps can also be configured for monitoring at runtime
Node.js &
Client JavaScript
• Import the applicationinsights npm package to monitor Node.js server.
• Import the client JavaScript package to make custom API calls
• Can also include JavaScript snippet to capture page information with in .NET Web
Apps.
Windows Services &
Desktop Apps
• Use the .NET SDK
• Recommendation for Desktop and Mobile apps is to use HockeyApp (now) and
Visual Studio Mobile Center (soon)
Android, iOS, UWP, WPF,
OSX
• Create an Application Insights resource with a HockeyApp application type
• Bridges data between Application Insights & HockeyApp
• Use the HockeyApp SDK from the client
Ingest – Not Just ASP.NET Web Apps
Consulting/Training
Connecting an App to Application Insights at Build Time
https://appinsightsdemo.shinysideup.org/
Consulting/Training
 Application Map
 Live Metrics Stream
 Metrics Explorer
 Telemetry Search
 Application Availability
 User Activity, Retention, and
Sessions
Explore – Azure Portal
Consulting/Training
 Telemetry Search
 CodeLens Integration
 Telemetry Trends
 VSTS Integration
 Console Output
Explore – Visual Studio Integration
Consulting/Training
 Takes a snapshot of in-
production apps when a
desired line of
code/condition is reached.
 Minimal impact to running
code – does not stop
execution (10-20ms)
 Can also use “log-points”
to emit log messages.
Explore – Snapshot Debugging (PREVIEW)
Consulting/Training
Explore – Application Insights Analytics Portal
 Build and
evaluate
interactive queries
over your
telemetry data
 Leverage inbuilt
ML to identify
and investigate
anomalies
Consulting/Training
Exploring Application Insights Telemetry
Consulting/Training
 Build custom query tables
or visualizations in App
Insights Analytics
 Pin the visualizations to
Azure Dashboards
Reporting – Custom Query as Portal Dashboards
Consulting/Training
 Export data or
Analytics queries to
Power BI
 Export data or
Analytics queries to
Excel
 Export to Azure OMS
 Continuous Export to
Azure Storage ($)
Reporting – Export Data
Consulting/Training
 Conditions
 When a metric crosses a threshold for a
period of time
 Availability tests
 Proactive diagnostics (predefined)
 Actions
 Send Email to admins or specific users
 Metric and Availability Tests can notify a
webhook
 Metric Alerts can trigger a Logic App
Reporting - Alerts
Consulting/Training
Reporting Application Insights Telemetry
https://appinsightsdemo.shinysideup.org/
Consulting/Training
Free Enterprise
Base price Free $15 per node
Included Data* 1GB per month 200 MB / node / day
Additional Data* $2.30 per GB $2.30 per GB
Data Retention 90 days
APM & Analytics
Features
Included
Continuous Export $0.50 per GB Unlimited
Connector for OPM Log
Analytics
Not included Included
Multi-step Web Tests $10 per test per month
Pricing
* Server-side controls for data volume management include charts for daily use,
sampling settings, and daily data cap settings.
Consulting/Training
Overview
• Documentation: http://bit.ly/AppInsightsDocs
• Build Sessions: http://bit.ly/AppInsightsBuildSessions
Analytics:
• Query Language Docs: http://bit.ly/AppInsightsAnalyticsQuery
• SQL User’s Cheat Sheet: http://bit.ly/AppInsightsAnalyticsCheatSheet
Snapshot
Debugger
• Overview: http://bit.ly/AppInsightsSnapshotOverview
• Channel 9 Video: http://bit.ly/AppInsightsSnapshotVideo
• MSDN Magazine Article: http://bit.ly/AppInsightsMSDNArticle
• Build Session: http://bit.ly/AppInsightsSnapshotBuildSession
Other • REST API (preview) developer portal: http://bit.ly/AppInsightsREST
Resources
Consulting/Training
Thank You
Platinum Gold
Silver
Sponsors
After party!
Dave & Buster’s
2215 D&B Drive Southeast
Marietta, GA
Consulting/Training
- Please fill out your evaluation forms!
- Don’t forget the “booth game” – please visit our sponsors!
- At the end of the day, go to Building Q for final announcements
and giveaways
- Echo Dots
- Chromebook
- ACER VR Headset
- Braves Tickets
- and more…
A Few Reminders

More Related Content

What's hot (20)

PPTX
Managing and supporting PowerApps & Flow at scale by Daniel Laskewitz
Daniel Laskewitz
 
PDF
Create and manage a web application on Azure (step to step tutorial)
Lee Stott
 
PPTX
Introduction to the Microsoft identity platform for developers
Christos Matskas
 
PPTX
Democratize development with Microsoft Power Apps and AI builder
Venkatarangan Thirumalai
 
PDF
Harnessing Configuration for Web GIS Application Development
GeCo in the Rockies
 
PPTX
Configuring and deploying a private cloud with system center 2012
Microsoft TechNet - Belgium and Luxembourg
 
PPTX
NashTech - Azure Application Insights
Phi Huynh
 
PPTX
Gcp cloud certification training course
srip30
 
PPTX
Doctor Flow: Enterprise Flows best practices - patterns (SharePoint Saturday...
serge luca
 
PDF
Cloud-based Performance & Web Load Testing
InCycleSoftware
 
PPTX
Power Platform Governance
Daniel Laskewitz
 
PDF
Optimizing TAS Usage at Ford Motor Company
VMware Tanzu
 
PDF
The New & Improved Confluence Server and Data Center
Atlassian
 
PPTX
Microsoft flow best practices SharePoint Saturday Bremen 2019 (Germany)
serge luca
 
PPTX
Rencore Power Automate Mini Summit : Power Automate Business Process Manageme...
serge luca
 
PPTX
Connected field service WhatsApp integration with Microsoft 365 Platform
Mohamed Ashiq Faleel
 
PDF
Innovation morning data analytics + ai
Claudia Angelelli
 
PDF
Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Karl Ots
 
PPTX
Microsoft flow best practices with Doctor Flow. PowerSaturday 2019, Paris
serge luca
 
PDF
PowerApps & Flow @ Power BI World Tour Copenhagen
Daniel Laskewitz
 
Managing and supporting PowerApps & Flow at scale by Daniel Laskewitz
Daniel Laskewitz
 
Create and manage a web application on Azure (step to step tutorial)
Lee Stott
 
Introduction to the Microsoft identity platform for developers
Christos Matskas
 
Democratize development with Microsoft Power Apps and AI builder
Venkatarangan Thirumalai
 
Harnessing Configuration for Web GIS Application Development
GeCo in the Rockies
 
Configuring and deploying a private cloud with system center 2012
Microsoft TechNet - Belgium and Luxembourg
 
NashTech - Azure Application Insights
Phi Huynh
 
Gcp cloud certification training course
srip30
 
Doctor Flow: Enterprise Flows best practices - patterns (SharePoint Saturday...
serge luca
 
Cloud-based Performance & Web Load Testing
InCycleSoftware
 
Power Platform Governance
Daniel Laskewitz
 
Optimizing TAS Usage at Ford Motor Company
VMware Tanzu
 
The New & Improved Confluence Server and Data Center
Atlassian
 
Microsoft flow best practices SharePoint Saturday Bremen 2019 (Germany)
serge luca
 
Rencore Power Automate Mini Summit : Power Automate Business Process Manageme...
serge luca
 
Connected field service WhatsApp integration with Microsoft 365 Platform
Mohamed Ashiq Faleel
 
Innovation morning data analytics + ai
Claudia Angelelli
 
Monitoring advanced Azure PaaS workloads in the enterprise - Level: 200
Karl Ots
 
Microsoft flow best practices with Doctor Flow. PowerSaturday 2019, Paris
serge luca
 
PowerApps & Flow @ Power BI World Tour Copenhagen
Daniel Laskewitz
 

Similar to DevOps > CI + CD. A web developer's introduction to Application Insights (20)

PPTX
Don't Fly Blind - Implementing Effective Application Instrumentation with Azu...
John Garland
 
PPTX
Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...
Igor Abade
 
PDF
Azure Application insights - An Introduction
Matthias Güntert
 
PPTX
Deep-Dive to Application Insights
Gunnar Peipman
 
PPTX
DevOps: Monitorando aplicação com App Insights
Gustavo Zimmermann (MVP)
 
PPTX
Application telemetry public
Lars Yde
 
PPTX
Performance monitoring in a DevOps World
Solidify
 
PPTX
What is going on - Application diagnostics on Azure - TechDays Finland
Maarten Balliauw
 
PPTX
Debugging and interacting with production applications
Michel HUBERT
 
PDF
Azure Monitoring Overview
gjuljo
 
PPTX
Building high performance software with Microsoft Application Insights
Ken Cenerelli
 
PDF
Application Insights and Jupyter Notebook(Opensource) combo to analyze large ...
Sajeetharan
 
PDF
Chicago ALM User Group - Nov 2014 - Application Insights 101
Angela Dugan
 
PDF
AZ - 400 olih orcle Implementing Microsoft DevOps (1).pdf
NithinRoy12
 
PPTX
Debugging and Interacting with Production Applications - MS Online Tech Forum
Davide Benvegnù
 
PPTX
Build 2016 - T666 - Interactive Analytics with Application Insights
Windows Developer
 
PPTX
Insights and Monitoring of SharePoint Applications
SharePoint Saturday New Jersey
 
PPTX
Monitor Cloud Resources using Alerts & Insights
Synergetics Learning and Cloud Consulting
 
PDF
Dot netsaterday henry been - logging instrumentation dashboards alerts
Henry Been
 
PDF
Serverless computing henry been - logging instrumentation dashboards alerts
Henry Been
 
Don't Fly Blind - Implementing Effective Application Instrumentation with Azu...
John Garland
 
Aprenda mais sobre sua aplicação e seus usuários com Application Insights (DN...
Igor Abade
 
Azure Application insights - An Introduction
Matthias Güntert
 
Deep-Dive to Application Insights
Gunnar Peipman
 
DevOps: Monitorando aplicação com App Insights
Gustavo Zimmermann (MVP)
 
Application telemetry public
Lars Yde
 
Performance monitoring in a DevOps World
Solidify
 
What is going on - Application diagnostics on Azure - TechDays Finland
Maarten Balliauw
 
Debugging and interacting with production applications
Michel HUBERT
 
Azure Monitoring Overview
gjuljo
 
Building high performance software with Microsoft Application Insights
Ken Cenerelli
 
Application Insights and Jupyter Notebook(Opensource) combo to analyze large ...
Sajeetharan
 
Chicago ALM User Group - Nov 2014 - Application Insights 101
Angela Dugan
 
AZ - 400 olih orcle Implementing Microsoft DevOps (1).pdf
NithinRoy12
 
Debugging and Interacting with Production Applications - MS Online Tech Forum
Davide Benvegnù
 
Build 2016 - T666 - Interactive Analytics with Application Insights
Windows Developer
 
Insights and Monitoring of SharePoint Applications
SharePoint Saturday New Jersey
 
Monitor Cloud Resources using Alerts & Insights
Synergetics Learning and Cloud Consulting
 
Dot netsaterday henry been - logging instrumentation dashboards alerts
Henry Been
 
Serverless computing henry been - logging instrumentation dashboards alerts
Henry Been
 
Ad

More from John Garland (10)

PPTX
A Developer's Introduction to Azure Active Directory B2C
John Garland
 
PPTX
Easy Copy with AZ Copy
John Garland
 
PPTX
Azure Active Directory - An Introduction for Developers
John Garland
 
PPTX
Putting the Cloud in Your Pocket with Azure Mobile Services (.NET)
John Garland
 
PPTX
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
John Garland
 
PPTX
NE Code Camp 14 - Introduction to Windows Phone 7 development with Silverlight
John Garland
 
PPTX
VT Code Camp 2010 - Introduction to windows phone 7 development with silverlight
John Garland
 
PPTX
NH .Net Code Camp 2010 - An Introduction to Windows Phone 7 Development with ...
John Garland
 
PPTX
NH .Net Code Camp 2010 - Silverlight business applications
John Garland
 
PPTX
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
John Garland
 
A Developer's Introduction to Azure Active Directory B2C
John Garland
 
Easy Copy with AZ Copy
John Garland
 
Azure Active Directory - An Introduction for Developers
John Garland
 
Putting the Cloud in Your Pocket with Azure Mobile Services (.NET)
John Garland
 
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
John Garland
 
NE Code Camp 14 - Introduction to Windows Phone 7 development with Silverlight
John Garland
 
VT Code Camp 2010 - Introduction to windows phone 7 development with silverlight
John Garland
 
NH .Net Code Camp 2010 - An Introduction to Windows Phone 7 Development with ...
John Garland
 
NH .Net Code Camp 2010 - Silverlight business applications
John Garland
 
NH .Net Code Camp 2010 - An Introduction to Silverlight Development
John Garland
 
Ad

Recently uploaded (20)

DOCX
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
 
PDF
TEASMA: A Practical Methodology for Test Adequacy Assessment of Deep Neural N...
Lionel Briand
 
PDF
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
PDF
From Data Preparation to Inference: How Alluxio Speeds Up AI
Alluxio, Inc.
 
PDF
Mastering VPC Architecture Build for Scale from Day 1.pdf
Devseccops.ai
 
PDF
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
PDF
Telemedicine App Development_ Key Factors to Consider for Your Healthcare Ven...
Mobilityinfotech
 
PDF
What Is an Internal Quality Audit and Why It Matters for Your QMS
BizPortals365
 
PDF
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
 
PPTX
ERP Systems in the UAE: Driving Business Transformation with Smart Solutions
dheeodoo
 
PDF
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
 
PPTX
Avast Premium Security crack 25.5.6162 + License Key 2025
HyperPc soft
 
PDF
Which Hiring Management Tools Offer the Best ROI?
HireME
 
PDF
Rewards and Recognition (2).pdf
ethan Talor
 
PDF
Code Once; Run Everywhere - A Beginner’s Journey with React Native
Hasitha Walpola
 
PDF
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
 
PPTX
arctitecture application system design os dsa
za241967
 
PPTX
IObit Driver Booster Pro 12.4-12.5 license keys 2025-2026
chaudhryakashoo065
 
PPTX
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
 
PDF
Automated Testing and Safety Analysis of Deep Neural Networks
Lionel Briand
 
Zoho Creator Solution for EI by Elsner Technologies.docx
Elsner Technologies Pvt. Ltd.
 
TEASMA: A Practical Methodology for Test Adequacy Assessment of Deep Neural N...
Lionel Briand
 
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
From Data Preparation to Inference: How Alluxio Speeds Up AI
Alluxio, Inc.
 
Mastering VPC Architecture Build for Scale from Day 1.pdf
Devseccops.ai
 
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
arabelatso
 
Telemedicine App Development_ Key Factors to Consider for Your Healthcare Ven...
Mobilityinfotech
 
What Is an Internal Quality Audit and Why It Matters for Your QMS
BizPortals365
 
Best Practice for LLM Serving in the Cloud
Alluxio, Inc.
 
ERP Systems in the UAE: Driving Business Transformation with Smart Solutions
dheeodoo
 
Humans vs AI Call Agents - Qcall.ai's Special Report
Udit Goenka
 
Avast Premium Security crack 25.5.6162 + License Key 2025
HyperPc soft
 
Which Hiring Management Tools Offer the Best ROI?
HireME
 
Rewards and Recognition (2).pdf
ethan Talor
 
Code Once; Run Everywhere - A Beginner’s Journey with React Native
Hasitha Walpola
 
Designing Accessible Content Blocks (1).pdf
jaclynmennie1
 
arctitecture application system design os dsa
za241967
 
IObit Driver Booster Pro 12.4-12.5 license keys 2025-2026
chaudhryakashoo065
 
Android Notifications-A Guide to User-Facing Alerts in Android .pptx
Nabin Dhakal
 
Automated Testing and Safety Analysis of Deep Neural Networks
Lionel Briand
 

DevOps > CI + CD. A web developer's introduction to Application Insights

  • 1. Consulting/Training DevOps > CI + CD A Web Developer’s Introduction to Application Insights
  • 3. After Party – Dave & Busters 2215 D&B Drive Southeast Marietta, GA Sponsored By:
  • 6. Consulting/Training The DevOps Lifecycle 1. Plan & Track 2. Develop & Test 3. Release 4. Monitor & Learn ? CD CI
  • 7. Consulting/Training  Application Insights Background  Telemetry Ingest  Telemetry Exploration  Telemetry Display  Resources Agenda
  • 8. Consulting/Training What Is Application Insights Ingest • Runtime instrumentation of deployed applications • Build-time application extension libraries • SDKs for custom telemetry gathering Explore • Interactive Application Map • Live Telemetry viewer • Performance & Metrics explorer • Deep data search tooling • Visual Studio integration • Analytics studio Display • Azure Portal dashboards • Export data • Integration with OMS, Power BI • Configure alerts (manual or smart) Application Insights is an Application Performance Management service, featuring:
  • 10. Consulting/Training Run-Time Build-Time What you do Instrument an Azure Web App on the server (Adds the App Insights Extension) Add the SDK to your app (Requires rebuilding & redeploying your code) Requests & Exceptions YES YES (with Stack Trace) Dependencies YES – Result Codes, SQL Command Text, HTTP Verbs .NET 4.6+ Only (ASP.NET Core is WIP) System Perf Counters YES YES Live Metrics YES YES API for Custom Telemetry NO YES Trace Log Integration NO YES Page Views & User Data NO YES Ingest – Integrating Your Application It isn’t either/or. Both modes can be enabled to get the combined behaviors.
  • 11. Consulting/Training Ingest – Configuring Data Collection 1) Select “Configure Application Insights” for the application project 2) Configure or Select an Application Insights resource in an Azure Subscription
  • 12. Consulting/Training var client = new TelemetryClient(); client.Track(new PageViewTelemetry { …properties… } ); client.Track(new RequestTelemetry { …properties… } ); client.Track(new EventTelemetry { …properties… } ); client.Track(new MetricTelemetry { …properties… } ); client.Track(new ExceptionTelemetry { …properties… } ); client.Track(new TraceTelemetry { …properties… } ); client.Track(new DependencyTelemetry { …properties… } ); Ingest – Tracking Custom Telemetry Requests  Obtain an instance of TelemetryClient  Create an instance of the telemetry class to be tracked and set the properties  Call Track with the telemetry
  • 13. Consulting/Training Platform Comment ASP.NET Core • Telemetry collection is much improved in 2.0 • Still a work-in-progress; Live Metrics support efforts are appearing in GitHub repo Java • Include the Application Insights SDK for Java • Java Apps can also be configured for monitoring at runtime Node.js & Client JavaScript • Import the applicationinsights npm package to monitor Node.js server. • Import the client JavaScript package to make custom API calls • Can also include JavaScript snippet to capture page information with in .NET Web Apps. Windows Services & Desktop Apps • Use the .NET SDK • Recommendation for Desktop and Mobile apps is to use HockeyApp (now) and Visual Studio Mobile Center (soon) Android, iOS, UWP, WPF, OSX • Create an Application Insights resource with a HockeyApp application type • Bridges data between Application Insights & HockeyApp • Use the HockeyApp SDK from the client Ingest – Not Just ASP.NET Web Apps
  • 14. Consulting/Training Connecting an App to Application Insights at Build Time https://appinsightsdemo.shinysideup.org/
  • 15. Consulting/Training  Application Map  Live Metrics Stream  Metrics Explorer  Telemetry Search  Application Availability  User Activity, Retention, and Sessions Explore – Azure Portal
  • 16. Consulting/Training  Telemetry Search  CodeLens Integration  Telemetry Trends  VSTS Integration  Console Output Explore – Visual Studio Integration
  • 17. Consulting/Training  Takes a snapshot of in- production apps when a desired line of code/condition is reached.  Minimal impact to running code – does not stop execution (10-20ms)  Can also use “log-points” to emit log messages. Explore – Snapshot Debugging (PREVIEW)
  • 18. Consulting/Training Explore – Application Insights Analytics Portal  Build and evaluate interactive queries over your telemetry data  Leverage inbuilt ML to identify and investigate anomalies
  • 20. Consulting/Training  Build custom query tables or visualizations in App Insights Analytics  Pin the visualizations to Azure Dashboards Reporting – Custom Query as Portal Dashboards
  • 21. Consulting/Training  Export data or Analytics queries to Power BI  Export data or Analytics queries to Excel  Export to Azure OMS  Continuous Export to Azure Storage ($) Reporting – Export Data
  • 22. Consulting/Training  Conditions  When a metric crosses a threshold for a period of time  Availability tests  Proactive diagnostics (predefined)  Actions  Send Email to admins or specific users  Metric and Availability Tests can notify a webhook  Metric Alerts can trigger a Logic App Reporting - Alerts
  • 23. Consulting/Training Reporting Application Insights Telemetry https://appinsightsdemo.shinysideup.org/
  • 24. Consulting/Training Free Enterprise Base price Free $15 per node Included Data* 1GB per month 200 MB / node / day Additional Data* $2.30 per GB $2.30 per GB Data Retention 90 days APM & Analytics Features Included Continuous Export $0.50 per GB Unlimited Connector for OPM Log Analytics Not included Included Multi-step Web Tests $10 per test per month Pricing * Server-side controls for data volume management include charts for daily use, sampling settings, and daily data cap settings.
  • 25. Consulting/Training Overview • Documentation: http://bit.ly/AppInsightsDocs • Build Sessions: http://bit.ly/AppInsightsBuildSessions Analytics: • Query Language Docs: http://bit.ly/AppInsightsAnalyticsQuery • SQL User’s Cheat Sheet: http://bit.ly/AppInsightsAnalyticsCheatSheet Snapshot Debugger • Overview: http://bit.ly/AppInsightsSnapshotOverview • Channel 9 Video: http://bit.ly/AppInsightsSnapshotVideo • MSDN Magazine Article: http://bit.ly/AppInsightsMSDNArticle • Build Session: http://bit.ly/AppInsightsSnapshotBuildSession Other • REST API (preview) developer portal: http://bit.ly/AppInsightsREST Resources
  • 26. Consulting/Training Thank You Platinum Gold Silver Sponsors After party! Dave & Buster’s 2215 D&B Drive Southeast Marietta, GA
  • 27. Consulting/Training - Please fill out your evaluation forms! - Don’t forget the “booth game” – please visit our sponsors! - At the end of the day, go to Building Q for final announcements and giveaways - Echo Dots - Chromebook - ACER VR Headset - Braves Tickets - and more… A Few Reminders

Editor's Notes

  • #7: Objective: To show that the DevOps cycle is incomplete with just CI&CD and that Monitoring/Telemetry is an integral part of the cycle. Notes: In a typical DevOps cycle, you come up with business objectives, goals, and a backlog for your solution. From there, you enter a development/test phase, which is facilitated by the use of Continuous Integration (CI) tools & techniques. From there, you release the product for use, relying on Continuous Delivery (CD) tools. But then what? How do you objectively connect your product releases to making choices about goals & objectives in the business? That’s where the Monitoring & Learning phase comes in. In this case, telemetry-gathering tools can provide objective information about your application usage and both possible successes and potential issues. Within a telemetry pipeline, there are typically 3 phases – Ingest where the data is gathered; Explore, where the data is analyzed and interpreted; and Report, where the data is shared with project participants and stakeholders.
  • #9: Objective: To show the high-level features that make up Application Insights Notes: The Application Insights service is made up of several different pieces which can be brought together to address the 3 key phases of a Telemetry Pipeline.
  • #10: Objective: Provide a quick overview/tour of Application Insights Notes: Show Application Insights applied at runtime over a running application. See telemetry; focus on Search, Metrics blades.
  • #11: Objective: Show the different capabilities that you can leverage depending on whether the app is instrumented at runtime, buildtime, or both. Notes: Applying App Insights at runtime is quick and easy, but can be limited in terms of what telemetry is displayed. Likewise, if you only leverage the build-time approach, information is only collected in-proc. Leveraging both solutions together provides the most robust feature combination. Note that for Run-Time support outside of app services, the IIS Status Monitor can also be installed. Link: Instrumenting Web Apps at runtime: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-monitor-performance-live-website-now
  • #12: Objective: Illustrate how Visual Studio tooling can make it simple to configure Application Insights at built-time. Notes: With Visual Studio, adding Application Insights to your application is straightforward. First, select the “Configure Application Insights” from the project file’s context menu. Then specify the Application Insights resource in Azure to use. Press the “Register” button to create the Azure resource if necessary and then to add the necessary configuration to the Visual Studio project.
  • #13: Objective: Discuss the different kinds of custom telemetry that can be reported with the App Insights SDK Notes: In addition to the telemetry that is captured by default with the App Insights Modules, you can also use the App Insights SDK to log telemetry entries. There are several different kinds of telemetry you can track: PageView is used to track custom page views (sometimes things like tab pages or other SPA activities should be considered “Page Views”) Requests are similar to Page Views, but are more aimed at Web API requests Events mark the occurrence of something notable, often used to count feature usage or user activity Metrics light up in the Metrics Explorer, and can be used to track aggregated events (count and sum, min and max, etc.) Exceptions track exception details and are especially useful in Global Exception Handlers if the app pre-processes exception details before returning them to end-users. Traces track general messages. These items are emitted by System.Diagnostics Trace calls when the Application Insights TraceListener is used Dependencies are used to track response times and success rates for calls to external items. They can be used if you do not want to install the collection agent, or to catch calls the agent does not catch.
  • #14: Objective: To show that data can be collected into Application Insights from a variety of application types Notes: Application Insights is not just a technology for ASP.NET applications. There are both officially supported and community created SDKs and Frameworks for all kinds of apps and runtimes. If you’re using ASP.NET Core, the support is limited, but there’s ongoing work on the SDK to move closer to parity with “classic” ASP.NET (see the issues in the repo: https://github.com/Microsoft/ApplicationInsights-aspnetcore) Java server apps are also supported, both with runtime instrumentation and with a build-time SDK Node.js servers are also supported with an npm package; there are also client-side SDKs and frameworks that can be used for SPA apps. You can also set a variable in .NET app settings and it will automatically include a JavaScript snippet to do page performance reporting Windows Services & Desktop apps are supported with the .NET SDKs; though it is recommended that desktop and mobile client apps use HockeyApp and its successor Visual Studio Mobile Center Finally, Android, iOS, UWP, WPF and OSX apps can use HockeyApp as their monitoring tool, and you can set up an App Insights resource that is configured as a bridge between the two systems, allowing you to report data to App Insights from these apps.
  • #15: Objective: Show how the Visual Studio tooling configures the app to use Application Insights. Also show how the various custom trace messages can contribute to telemetry collection Notes: Go through the configuration process. It can be much faster to connect to a pre-existing App Insights resource. Once complete, show the various changes, including: Nuget packages, ApplicationInisghts.config file, web.config changes (including Module AND TraceListener) Publish and run the app and generate new data. Show additional parts of the telemetry lit up (Application Map with dependencies, Live Metrics, detailed exception information.) Show the code for generating events.
  • #16: Objective: Discuss ways that Application Insights data can be explored in the Azure Portal Notes: The Azure Portal offers a long and growing list of different ways to explore Application Insights data. Some highlights include: An interactive Application Map that shows the relationship between different parts of your application as they communicate between each other. A Live Metrics Stream viewer that allows you to view real-time telemetry flowing from your applications Metrics Explorer where you can chart select application metrics and aggregations, select time ranges, and drill into the data that generated the displayed measurements. Interactive Telemetry Search which you can use to explore the gathered telemetry, filter and search, and explore across items related through common operations and sessions. Set up application availability probes and visualize, analyze, and drill into the results of these probes Several User displays where you can explore user activity, site retention, and user session information. Several other different ways of exploring your application data.
  • #17: Objective: To discuss the ways in which Application Insights integrates with the Visual Studio IDE Notes: Visual Studio also includes integration with Application Insights so you can get rich insights into your application’s behavior and performance without leaving the Visual Studio IDE. This also includes analyzing telemetry during development where the data has not yet been sent to the Azure Portal. Places where Application Insights is integrated with Visual Studio include: A Telemetry Search window which provides functionality similar to that which is available in the Telemetry Search blade in the Azure Portal, but also includes clicking through to the underlying code. A Telemetry Trends window that provides a graphical display of how an application’s telemetry events change over time, which can help pinpoint large or emerging anomalies. Integration of the Application Insights telemetry reporting into the Visual Studio console window, so you can examine telemetry information similar to trace messages while an application is attached to the Visual Studio debugger.
  • #18: Objective: Present the new Snapshot Debugging feature Notes: TODO
  • #19: Objective: Present the Application Insights Analytics Portal Notes: The Application Insights Analytics Portal provides more direct ad-hoc interaction with the application telemetry tables. It includes a query editor with Intellisense, and a data display region query results can be displayed in either tabular or graphical form, and machine learning operators and user interface elements to help identify anomalies or trends in the data.
  • #20: Objective: Show how the various exploration tools can be used with the Application Insights telemetry Notes: Show the telemetry starting in Visual Studio, go to the Portal, then over to Analytics
  • #21: Objective: To discuss how Application Insights telemetry can be reported to users by displaying Analytics query results as components of Azure Portal dashboards. Notes: One way you can share the insights you gain while exploring your Application Insights Telemetry data, is by exporting Application Insights Analytics query results as elements within an Azure Portal dashboard. This way, you can create complex charts that highlight key application information in the same place as you display the other system health information that the Azure Portal makes available.
  • #22: Objective: To discuss several different ways that Application Insights telemetry can be exported in order to be displayed and consumed by other tools. Notes: There are several options available for exporting data from Application Insights so it can be consumed by other applications.: There are several different ways that data can be exported for use in PowerBI. Power BI now includes a Power BI Adapter for Application Insights that can be used to setup a complete dashboard of telemetry within Power BI. You can also export Analytics Queries as M text (M is the Power BI formula language) and import it into Power BI as a dataset, which can be used to create individual visualizations within Power BI. Finally, you can consume data published with the Continuous Export feature which will be discussed shortly as a dynamic input to Power BI. More information: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-export-power-bi Telemetry data can also be exported as Excel data, either as the complete table or as the tabular result of a given query. Export to Azure Operations Management Suite via the Application Insights Connector in OMS Log Analytics Finally, Application Insights includes a Continuous Export feature which allows you to create a job that will continuously output a copy of your Power BI data into an Azure Storage account of your choosing. This data can be consumed by several Azure or on-premises services to perform further analysis and processing of the application telemetry
  • #23: Objective: To discuss the Alert options provided by Application Insights as another reporting mechanism Notes: In addition to exporting the Application Insights data, it is also possible to generate alerts based on your telemetry and trends that may emerge from the data. Metric Alerts can be created based on Metric Telemetry conditions, such as a threshold of a number of occurrences or a value range. These alerts can either send emails to system administrators or custom addresses, as well as trigger a configured webhook, or trigger the execution of an Azure App Service Logic App. Availability tests that are configured in the Azure Portal can also be tailored to generate emails or trigger webhooks based on how responsive an application is to these probes. Application Insights also includes several “Smart Alerts” – alerts created by default that look for certain trends in your application’s behavior and optionally provide email notifications when those trends emerge.
  • #24: Objective: Show how the various reporting tools over the Application Insights data can be used to show application health Notes:
  • #25: Objective: To review the pricing and performance characteristics of Application Insights Notes: The Application Insights Data Retention Policy is 90 days. Basic – pay based on amount of telemetry data with a 1GB base allowance, and then $2.30 per GB after that. Enterprise – pay based on the number of servers/PaaS instances that run the App generating telemetry A “Node” is a server generating telemetry (what about JS clients?) Continuous export – There are “free” manual exports available (export for Excel in UI, export in Analytics, ingest in Power BI, use REST API) Push to a Blob Storage Account Choose the data types to be exported Includes raw telemetry, plus location (calculated from incoming IP address)
  • #26: Objective: To suggest some additional sources for obtaining Application Insights information Notes: