Microsoft Application Insights for Visual Studio 2013 is a suite of tools designed to help teams derive key metrics from their applications. Users can see detailed information about usage, performance and availability of their websites, Windows Phone apps, Windows Store apps, Microsoft Azure services and more.
In this talk we will see how to add Application Insights to new or existing Visual Studio projects as well as Microsoft Azure services.
This talk was given at ConFoo 2015.
2. What is it?
Application Insights offers availability monitoring for your
deployed live applications
What it allows you to do:
Detect issues faster (dashboards, alerts)
Solve the right problems
Continuously improve your applications
Make telemetry data an integral part of your development cycle
Understand what your users are doing with them
3. Overview
Launched in November 2013 as part of Visual Studio Online
Derived from Microsoft's System Center Operations Manager
2012 (SCOM)
Managed from the cloud
No desktop client or local storage needed on your apps
4. Two Versions
Application Insights for Visual Studio Online (Old)
No new development for the older version
Uses the 1.x version of Application Insights SDK
Closed to new users mid-February; will be shuttered mid-2015
Application Insights in Microsoft Azure (New)
New features being added continuously
Need a subscription to Microsoft Azure
Use Visual Studio 2013 Update 3 or later with 2.x version of
Application Insights SDK
5. Application Insights in Azure
Launched in Fall 2014
Available through Microsoft Azure Preview Portal
Need an account
Works with the free trial
Costs
Plans and pricing?
6. 360° view of your apps
ASP.NET
SDK
web
<script/>
win apps
SDK
IIS
Status Monitor
ping
WebTest
Application Insights
7. Demo
Microsoft Azure Preview Portal overview
Create a new Application Insights resource
13. Web Applications
Add a resource
Get the code from the Quick Start blade
Insert the script just before the </head> tag of every
page you want to track
15. Status Monitor
Diagnose exceptions and performance issues quickly
without rebuilding or redeploying your web apps
Can be used either on its own or in conjunction with the
Application Insights SDK in your code
17. Availability Monitoring
with Web Tests
Works for any web application on any platform
Check the availability and performance of your app
from across the world
The Numbers:
Two web tests total
Up to 3 locations per test
16 locations now available
19. Telemetry Export
Use the Continuous Export button on your resource’s
Overview blade
Export your raw Application Insights telemetry data in
JSON format to an Azure storage account
From there you can download it or write code to process
it into a usable format
20. Resources
Get started with Application Insights for Azure Preview:
http://bit.ly/1D1eUet
http://bit.ly/1y4lZZH
Get a Free Microsoft Azure Trial Account:
http://azure.microsoft.com
21. Summary
Please fill out your surveys!
Building high performance software with Microsoft Application Insights
https://joind.in/talk/view/13288
Contact Details:
@KenCenerelli
Ken_Cenerelli@Outlook.com
kencenerelli.wordpress.com/contact
Editor's Notes
Notes:
How are we notified now?
Designed to help development teams get 360° views of their applications across Availability, Performance and Usage with fast & powerful troubleshooting, diagnostics and usage insights
Can generate metrics locally or when it is deployed
Currently Microsoft is using Application Insights in OneDrive, Xbox, Dynamics, Visual Studio Online and other services
Source:
http://msdn.microsoft.com/en-us/library/dn481095.aspx
http://azure.microsoft.com/en-gb/documentation/articles/app-insights-get-started/
The new portal radically simplifies building, deploying, and managing your applications
Pricing is not determined, but they’re aiming at no data transfer costs
In your firewall, you might have to open TCP ports 80 and 443 for outgoing traffic to dc.services.visualstudio.com and f5.services.visualstudio.com.
Java Web App: Tomcat (5.5, 6, 7) / JBoss Application Server 6
Angualr SPA apps
JavaScript apps
- Status monitor works on:
Server 2008 + OR Windows 7+
IIS7+
- You no longer need to install an agent on each server to monitor performance of web applications
- Pricing is not determined, but they’re aiming at no data transfer costs