20
@ ALM@Work 2014 @ ALM@Work 2014 Introduzione a Visual Studio Online Application Insights Matteo Emili http://mattvsts.blogspot.com [email protected] http://twitter.com/MattVSTS

Introduzione a Visual Studio Online Application Insight

Embed Size (px)

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

Page 1: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014@ALM@Work 2014

Introduzione a Visual Studio Online Application Insights

Matteo Emilihttp://mattvsts.blogspot.com

[email protected]://twitter.com/MattVSTS

Page 2: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014Grazie agli sponsor

Page 3: Introduzione a Visual Studio Online Application Insight

@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?

Page 4: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014

Source Repos

Test Case Management

Feedback Management

Build and Continuous Integration

Agile Planning

Team Rooms

Team Foundation Server Visual Studio Online

Page 5: Introduzione a Visual Studio Online Application Insight

@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?

Page 6: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014@ALM@Work 2014

DEMO

Application Insight walkthrough

Page 7: Introduzione a Visual Studio Online Application Insight

@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

Page 8: Introduzione a Visual Studio Online Application Insight

@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

Page 9: Introduzione a Visual Studio Online Application Insight

@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

Page 10: Introduzione a Visual Studio Online Application Insight

@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…

Page 11: Introduzione a Visual Studio Online Application Insight

@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

Page 12: Introduzione a Visual Studio Online Application Insight

@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

Page 13: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014@ALM@Work 2014

DEMO

Use Synthetic Monitors to test a specific site pattern

Page 14: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014Obtrusive techniques

• Modifying a website is an obtrusive operation…

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

Page 15: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014

Health

Availability

Diagnostics

Usage

Unobtrusive vs Obtrusive

Page 16: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014@ALM@Work 2014

DEMO

Obtrusive changes

Page 17: Introduzione a Visual Studio Online Application Insight

@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

Page 18: Introduzione a Visual Studio Online Application Insight

@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

Page 19: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014

VSInsights1505500141

Do you want to try it?

Page 20: Introduzione a Visual Studio Online Application Insight

@ALM@Work

2014

http://tinyurl.com/ALMAW14

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

crescere e migliorare!