? Is my application available? Is my application performing? Is my application succeeding?

42

Transcript of ? Is my application available? Is my application performing? Is my application succeeding?

Page 1: ? Is my application available? Is my application performing? Is my application succeeding?
Page 2: ? Is my application available? Is my application performing? Is my application succeeding?

Make Data-Driven, High Impact Improvements to an Application with Application InsightsBret Grinslade

DEV-B309

Page 3: ? Is my application available? Is my application performing? Is my application succeeding?

Today we will cover…Understanding Application InsightsAvailable, Performing, Succeeding

Instrumenting an applicationOne click setup with Visual Studio

Creating application dashboardsInstant access to key insights

Learning from your customersUsing real work data to help your application succeed

Page 4: ? Is my application available? Is my application performing? Is my application succeeding?

Bret GrinsladeProgram ManagerApplication Insights

Visual Studio

Before that…

Windows

Bing

Dynamics

Page 5: ? Is my application available? Is my application performing? Is my application succeeding?

“ For having lived long, I have experienced many instances of being obliged by better information, or fuller consideration, to change opinions even on important subjects, which I once thought right, but found to be otherwise..”

Benjamin Franklin

Page 6: ? Is my application available? Is my application performing? Is my application succeeding?

Understanding Application Insights

Is my application Available, Performing, Succeeding

Page 7: ? Is my application available? Is my application performing? Is my application succeeding?

Large code basesWe still find ourselves working in unfamiliar code

Agile development changed the way we workNow we work in a lean, continuous mode

Continuous delivery is becoming the normWe want to provide rapid turnaround on fixes and new featuresFixing issues with live production systems is common

Cloud, Mobile, On PremiseseYour applications are running every

Challenges in Modern App Development

Page 8: ? Is my application available? Is my application performing? Is my application succeeding?

9 out of 10 times, teams are flying blind

Page 9: ? Is my application available? Is my application performing? Is my application succeeding?
Page 10: ? Is my application available? Is my application performing? Is my application succeeding?

Getting visibility ?Is my application available?

Is my application performing?

Is my application succeeding?

Page 11: ? Is my application available? Is my application performing? Is my application succeeding?

Ap

plicati

on

In

sig

hts

Available

Performing

Succeeding

Page 12: ? Is my application available? Is my application performing? Is my application succeeding?

Ap

plicati

on

In

sig

hts Available

Performing

Succeeding

DEV-B222 Rapidly Detect Application Outages with Visual Studio Online Application Insights (Vlad Joanovic)

Wednesday, May 14 1:30 PM - 2:45 PM

Page 13: ? Is my application available? Is my application performing? Is my application succeeding?

Ap

plicati

on

In

sig

hts Available

Performing

Succeeding

DEV-B222 Rapidly Detect Application Outages with Visual Studio Online Application Insights (Vlad Joanovic)

Wednesday, May 14 1:30 PM - 2:45 PM

DEV-B391 See How Microsoft Game Studios Uses Application Insights (Kyle McClellan, Vlad Joanovic) Tues, May 13 3:15 PM - 4:30

DEV-B335 Using Cloud-Based Load Testing Service & Application Insights to Find Scale and Performance Bottlenecks (Vibhor Agarwal) Wed, May 14 10:15 AM - 11:30

Page 14: ? Is my application available? Is my application performing? Is my application succeeding?

Ap

plicati

on

In

sig

hts Available

Performing

Succeeding

DEV-B222 Rapidly Detect Application Outages with Visual Studio Online Application Insights (Vlad Joanovic)

Wednesday, May 14 1:30 PM - 2:45 PM

DEV-B391 See How Microsoft Game Studios Uses Application Insights (Kyle McClellan, Vlad Joanovic) Tues, May 13 3:15 PM - 4:30

DEV-B335 Using Cloud-Based Load Testing Service & Application Insights to Find Scale and Performance Bottlenecks (Vibhor Agarwal) Wed, May 14 10:15 AM - 11:30

Focus Today

Page 15: ? Is my application available? Is my application performing? Is my application succeeding?

Getting started with an application

One click setup with Visual Studio

Page 16: ? Is my application available? Is my application performing? Is my application succeeding?

You know you need telemetry

It is too hardI don’t have timeI don’t want to create reportsIt is hard to changeIt is just for the marketing team

But…

Page 17: ? Is my application available? Is my application performing? Is my application succeeding?

You need – Application Insights

• Easy to add• Easy to use• Part of the development

process

App Insights is designed with you, the developer, in mind!

Page 18: ? Is my application available? Is my application performing? Is my application succeeding?

Demo

Application Insightsportal tour

Page 19: ? Is my application available? Is my application performing? Is my application succeeding?

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Application Insights Tools for Visual Studio

http://aka.ms/aivsix

Page 20: ? Is my application available? Is my application performing? Is my application succeeding?

Software code slide//Do nothing for default instrumentation// or log custom events with propertiesvar properties = new Dictionary<string, object>() {{"price", 100}, {"MyProperty", "MyValue"}};

ServerAnalytics.CurrentRequest.LogEvent("My Path/My Event", properties);

Page 21: ? Is my application available? Is my application performing? Is my application succeeding?

Creating application dashboards

Instant access to key insights

Page 22: ? Is my application available? Is my application performing? Is my application succeeding?

Demo

Building an applicationspecific dashboard

Page 23: ? Is my application available? Is my application performing? Is my application succeeding?

Take-aways & Tips

Application Insights is an easy way to get information about your users, their environment, and your specific features.

• Start now – even the base telemetry will help you understand user loyalty and the runtime environment

• Debug telemetry quickly with the Developer Streaming dashboard

• Create your dashboards for quick glance ways to see what is happening today

• Use custom telemetry to get specifics of your features

• Use properties and metrics to get more detail• Use timed events for measuring durations for

events

• Learn about tracking crashes, performance, trace logging, and availability in our other sessions!

Page 24: ? Is my application available? Is my application performing? Is my application succeeding?

Office Lens and Application Insights

A real world example of Application Insights in action!Office Lens for Windows Phone http://aka.ms/officelens

Page 25: ? Is my application available? Is my application performing? Is my application succeeding?

Case Study: Office Lens

Office Lens is a new Windows Phone app that allows you to easily capture images to OneNote.

“A Scanner in your pocket”

Page 26: ? Is my application available? Is my application performing? Is my application succeeding?

Case Study – Office Lens

White Boards

Page 27: ? Is my application available? Is my application performing? Is my application succeeding?

Case Study – Office Lens

All saved to OneNote

Page 28: ? Is my application available? Is my application performing? Is my application succeeding?

Application Insights!

The Office Lens team had a bunch of questions after the big launch with OneNote.

Office Lens launched as a small part of the announcement for OneNote for Mac, OneNote API and (now free) OneNote for Windows. They had amazing initial download numbers but….

• Would users return after the announcements were no longer featured on new sites?

• The launch was promoted mostly in English and would they get customers using other languages?

• Which launch method will users use to run Office Lens?

Page 29: ? Is my application available? Is my application performing? Is my application succeeding?

Tracking the launch

Page 30: ? Is my application available? Is my application performing? Is my application succeeding?

Yes! Returning Users

Page 31: ? Is my application available? Is my application performing? Is my application succeeding?

The way to launch the app

Learning… launch from Lenses (in camera app) is rare

Page 32: ? Is my application available? Is my application performing? Is my application succeeding?

The way to launch the app

Majority of users launch Office Lens from Tile (Normal)

Page 33: ? Is my application available? Is my application performing? Is my application succeeding?

Online or Offline when using Office Lens?

Vast majority of devices are online when user tries to save

Page 34: ? Is my application available? Is my application performing? Is my application succeeding?

Did our non-English speakers install even with the English only launch?

Lots of non-English users

Page 35: ? Is my application available? Is my application performing? Is my application succeeding?

Application Insights!

App Insights data has been invaluable to the Office Lens development team.

• Understand which features are being used and how

• Seeing daily and hourly trends• Investigate feedback in reviews• Set priorities for how to improve the next version

of Office Lens

Office Lens for Windows Phone http://aka.ms/officelens

Page 36: ? Is my application available? Is my application performing? Is my application succeeding?

Breakout SessionsDEV-B391 See How Microsoft Game Studios Uses Application Insights (Kyle McClellan, Vlad Joanovic) Tues, May 13 3:15 PM - 4:30

DEV-B335 Using Cloud-Based Load Testing Service & Application Insights to Find Scale and Performance Bottlenecks (Vibhor Agarwal) Wed, May 14 10:15 AM - 11:30

Related content

Dev Tools: Application Lifecycle Management & DevOps, Microsoft Solution Experience – Server Cloud Tools Team blog http://aka.ms/aiblogVSIX Download http://aka.ms/aivsix My blog http://blogs.msdn.com/bretgrinslade

Page 37: ? Is my application available? Is my application performing? Is my application succeeding?

Visit the Developer Platform & Tools BoothHaving a friend buy your coffee?Yea, it’s kind of like that.

MSDN Subscribers get up to $150/mo in Azure credits.

Stop by the Developer Platform and Tools booth and visit the MSDN Subscriptions station to activate your benefits and receive a gift!

http://aka.ms/msdn_teched

3 Steps to New Gear! With Application Insights

1. Create a Visual Studio Online account http://visualstudio.com

2. Install Application Insights Tools for Visual Studio Online http://aka.ms/aivsix

3. Come to our booth for a t-shirt and a chance to win!

VSIP QR Tag Contests Visit our booth to join the hunt for cool prizes!

Page 38: ? Is my application available? Is my application performing? Is my application succeeding?

ResourcesMicrosoft Engineering Stories

How Microsoft Builds Softwarehttp://aka.ms/EngineeringStories

Visual Studio Industry Partner Program

Meet Our New Visual Studio Online Partners or Join Now.http://vsipprogram.com

Visual Studio | Integrate

Create Your Own Dev Environmenthttp://integrate.visualstudio.com

Development tools & services for teams of all sizeshttp://www.visualstudio.com

Page 39: ? Is my application available? Is my application performing? Is my application succeeding?

Resources

Learning

Microsoft Certification & Training Resources

www.microsoft.com/learning

msdn

Resources for Developers

http://microsoft.com/msdn

TechNet

Resources for IT Professionals

http://microsoft.com/technet

Sessions on Demand

http://channel9.msdn.com/Events/TechEd

Page 40: ? Is my application available? Is my application performing? Is my application succeeding?

Complete an evaluation and enter to win!

Page 41: ? Is my application available? Is my application performing? Is my application succeeding?

Evaluate this session

Scan this QR code to evaluate this session.

Page 42: ? Is my application available? Is my application performing? Is my application succeeding?

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.