How to get startedResults-in Create availability tests from locations around the world Metrics and...

23

Transcript of How to get startedResults-in Create availability tests from locations around the world Metrics and...

Page 1: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.
Page 2: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Vlad Joanovic, Bret GrinsladePrincipal Program Managers3-597

Gain Early Warning of Performance Issues and Failures, and Pinpoint the Cause with Application Insights

3-597

Page 3: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

What is Application Insights?Your Service or Device app has a problem – now what?Services

Getting started project change or existing deployed app

Application Insights configuration Deep application insight and drill back to

code ASP.NET and Java

Windows Phone apps Crashes

Agenda slide

Page 4: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Vlad Joanovic

Program ManagerApplication Insights

Visual Studio

Before that…

Windows

Bing

Dynamics

Bret Grinslade

Windows

System Center

Operations Manager

Page 5: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Delivered as a Service – VS Online, Azure Portal Preview

VSIX integration with VS 2013 Reduce mean time to detect problems Reduce mean time to resolve problems Ensure your application is succeeding

Application Insights

For Services and Device apps: AvailablePerformingSucceeding

Page 6: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Data flow - Services

Browser

AI Telemetry:DefaultCustom

Service

Webtests

AI Telemetry:DefaultCustom

How to get started Results-in

Create availability tests from locations around the world

Metrics and alerting: Application availability/response time, per webtest, per location per webtest

Default: script in browser (code change)Custom: submitting custom events or timed events (code change)

Default: user and page sessions and activities, environment dataCustom: Specific actions tracked

Default: installing Microsoft monitoring agent (MMA) on server, using server side SDKCustom: ApplicationInsights.config tuning and windows perf counters, Collect logs (Log4Net, NLog, TraceListener)

Default: Starts byte code instrumentation. Enables perf/exception event and drill to code, app started eventsCustom:

• Metrics aggregated over instances, collected at 1 min, includes alerting

• Search over logs

YourService

App Insight

Page 7: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Data flow - Devices

Appon

Device

AI Telemetry:DefaultCustom

How to get started Results-in

Default: Adding AppInsight using VSIX (code change)Custom: submitting custom events or timed events (code change)

Default: Device level information include app start up time, screen size, battery, etcCustom: Specific actions tracked

YourApp

App Insight

Page 8: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Settings configure-able through ApplicationInsights.config PerformanceThreshold – default 5 seconds SensitivityThreshold – default 100 ms Namespaces – default All EnableAllExceptions – default all MemoryEventSettings – default true

Virtual or private memory used by a worker process

Log settings Log4Net, NLog, Trace Listener

BuildInfo integration For VS project information and deployment markers

Application Insights configuration

ApplicationInsights.configAPMLogs

Page 9: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Getting Started – Existing deployed service

Page 10: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Settings configure-able through ApplicationInsights.config PerformanceThreshold – default 5 seconds SensitivityThreshold – default 100 ms Namespaces – default All EnableAllExceptions – default all MemoryEventSettings – default true

Virtual or private memory used by a worker process

Log settings Log4Net, NLog, Trace Listener

Application Insights config

ApplicationInsights.configAPMLogs

Page 11: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Exploring the data set

Page 12: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Download StackTraceData excel file from Windows Phone app store

Run tool View and analyze results Fix crashes and improve your

app Tool available now

https://wpinsights.codeplex.com/releases/view/120079

Mike Smacinih

Your Windows Phone app crashes

Import, analyze and solve windows phone app crashes

Page 13: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Windows Phone crash insights

Page 14: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Alert over metrics. Email for alert activation and resolution

Dashboards to capture key metrics at a glance

Alerting and Dashboards

Alert over perf metrics, dashboards for surfacing key metrics at a glance

Page 15: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Alerts and dashboards

Page 17: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Usability feedback Quick pulse studies Low-fidelity prototypes

BuildConference2014

Visit the design team in the back of the room or http://aka.ms/VSUxResearch

Participate in

Visual Studio design research

Page 18: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Wed

3-592 2:30 Make Data-Driven, High-Impact Improvements to an Application with Application Insights

Peter Provost Andrew Bragdon

Thurs

3-584 2:30 Continuous Delivery and Continuous Integration with Visual Studio Online and Microsoft Azure

Chris Patterson

3-597 5:30 Gain Early Warning of Performance Issues and Failures, and Pinpoint the Cause with Application Insights

Bret GrinsladeVlad Joanovic

Friday

3-595 9:00 Using the Cloud-Based Load Testing Service and Application Insights to Find Scale and Performance Bottlenecks in Your Applications

Chuck Sterling

3-596 10:30 Rapidly Detect Application Outages with Application Insights

Vlad Joanovic

3-590 12:30 Deep Dive into Git with Team Foundation Server Martin WoodwardEd Thomson

Page 20: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Go to http://visualstudio.com or the Visual Studio booth to learn more!

Less hassle, more success with Visual Studio Online

Visual Studio Online (now generally available!)The easiest way to plan, build, and ship software, now with a 99.9% availability SLA, Git repositories, continuous integration and deployment to Microsoft Azure.

Application Insights (Preview)Get a 360° view of your application’s availability, performance, and usage when hosted on-premises, in Microsoft Azure, or with other cloud providers.

Page 21: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Your Feedback is Important

Fill out an evaluation of this session and help shape future events.

Scan the QR code to evaluate this session on your mobile device.

You’ll also be entered into a daily prize drawing!

Page 22: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

Common Scenario from booth

Your App

Customers using SaaS

Application Insights

Customer

You App

Customer

Your App

X

Prod,QA, etc

Stamp X

Use local collection mode

Page 23: How to get startedResults-in Create availability tests from locations around the world Metrics and alerting: Application availability/response.

© 2014 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.