Introduzione a Visual Studio Online Application Insight

Preview:

DESCRIPTION

Slide della sessione "Introduzione a Visual Studio Online Application Insight" tenuta da Matteo Emili durante l'evento ALM@Work 2014 di DomusDotNet il 17/01/2014

Citation preview

@ALM@Work

2014@ALM@Work 2014

Introduzione a Visual Studio Online Application Insights

Matteo Emilihttp://mattvsts.blogspot.com

matteo.emili@live.comhttp://twitter.com/MattVSTS

@ALM@Work

2014Grazie agli sponsor

@ALM@Work

2014

Visual Studio ALM MVPSince 2010

Microsoft Certified Technology Specialist

Team Foundation Server

Professional Scrum Master I Systems Engineering Advisor

Dell Software UK

Who am I?

@ALM@Work

2014

Source Repos

Test Case Management

Feedback Management

Build and Continuous Integration

Agile Planning

Team Rooms

Team Foundation Server Visual Studio Online

@ALM@Work

2014

• Lightweight monitoring technology• It can be used standalone or

combined with other techs (SCOM)• It provides several degrees of

information, depending on the context• Health• Availability• Usage

What is Application Insights?

@ALM@Work

2014@ALM@Work 2014

DEMO

Application Insight walkthrough

@ALM@Work

2014

• The new MMA combines the SCOM agent and the standalone IntelliTrace collector• Useable for web apps, services

• We can target the same application with both SCOM and AI

• Real-time collection, deferred composition• Usually 5-15m delay

Microsoft Monitoring Agent

@ALM@Work

2014The MMA’s role

• The MMA sends out informations on the application’s health

• It is the cornerstone of all the monitoring dashboard

• It provides loads of actionable information, like the IntelliTrace files

@ALM@Work

2014

• There are several choices of techniques, but the most prominent separation is between an obtrusive one and an unobtrusive one

• The obtrusive one implies you must inject some custom code into your application

• The unobtrusive one is a monitoring technique based on using existing tools to create a consistent data model from the monitored application

Techniques

@ALM@Work

2014

• The MMA provides unobtrusive monitoring for on-premise applications

• Javascript code can be integrated into applications running on Windows Azure

• SDKs available on NuGet for all the others applications• Services• Windows Phone

The right tool for the right job…

@ALM@Work

2014

• The MMA is not the only unobtrusive technology

• Synthetic Monitors are the unobtrusive way of getting information about the application’s availability

Unobtrusive technologies

@ALM@Work

2014

• The core solution for monitoring is based on SMs

• They are built on the same technology of the Visual Studio Web Tests, thus allowing you to simulate a real workflow

• I can use a OOB SM if it is simple enough, or build my own one via Visual Studio

Synthetic Monitors

@ALM@Work

2014@ALM@Work 2014

DEMO

Use Synthetic Monitors to test a specific site pattern

@ALM@Work

2014Obtrusive techniques

• Modifying a website is an obtrusive operation…

• Several helpers are available, depending on the platform• Code snippets• NuGet packages

@ALM@Work

2014

Health

Availability

Diagnostics

Usage

Unobtrusive vs Obtrusive

@ALM@Work

2014@ALM@Work 2014

DEMO

Obtrusive changes

@ALM@Work

2014

• Can I install MMA on servers running locales different than EN-US?• Yes, but there are some known issues to

be fixed

• Support for Azure Web Sites or Azure Worker Roles?• Not at the moment.

• Support for Java?• Yes - Tomcat 6, Tomcat 7, or JBoss 6

FAQs

@ALM@Work

2014

• Lightweight monitoring solution in VSO• Currently in preview

• Agent can be used on-premise• Different levels of monitoring• Integrated with the Application

Lifecycle• DevOps prone

Recap

@ALM@Work

2014

VSInsights1505500141

Do you want to try it?

@ALM@Work

2014

http://tinyurl.com/ALMAW14

Per voi sono solo 10 minuti persi, per noi è utilissimo per poter

crescere e migliorare!

Recommended