Category Archives: How to use Application Insights

Application Insights User Guide

First step is Log-in to https://portal.azure.com/

In the left pane Click on Browse option, then select Application Insights then Application Insights sources will display and choose your Application Insights source

clip_image002

This is how your Application Insights Dashboard will look like

clip_image004

The Dashboard includes the following Items

1. Essentials

2. Application Overview

3. Metrics Explorer

4. Sessions

5. Crashes

6. Custom Events( If you create any)

7. Top Sessions by Country

8. Top Devices

9. Session Duration

10. Top Crashes

11. Diagnostic Search

12. Alert Rules( If you create any)

13. Events

Essentials

It contains the information about the Application Insights resource which includes Resource group, Application Type, Location, Subscription name, Instrumentation Key (Which is the Key for Telemetry data) and Subscription id.

clip_image005

Application Overview

It contains the Graphical Representation of USERS, SESSIONS, PAGE VIEWS, and CRASHES data

clip_image007

Users

Click on Users to view USERS data

clip_image009

It displays the Total no of Users and New Users and it also displays the users by Geographic location which is unique count of users by country or region.

If you click on USERS chart, you can customize the chart as per your needs. You can show it like Line, Area, Bar and Grid. You can add Chart Height, Add Grouping and do many more.

clip_image011

If you want to look at what are all the activities performed by United States region app users, then click on United States, it will display all the actions performed by the users which contains number of PAGE VIEW, CUSTOM EVENT, EXCEPTION, REQUEST AND DEPENDENCY.

clip_image013

If you click on any activity it gives more information regarding the user and much more information. Below picture includes all the information.

clip_image015

If you want to know more information just click on ‘…’ button it will give you more information.

clip_image017

clip_image019

You can add filters in the Chart to get the specific results as per your required criteria.

clip_image021

You can specify a Time range to see the results data in a particular time period.

clip_image023

Add Save Favorite

You can add favorites to your dashboard so that you can quickly view the favorite items.

clip_image025

You can view the favorite’s items in your dashboard.

clip_image027

Page Views

This segment contains the total number of page views of your app. If you want to see more about Page Views just click on PAGE VIEWS in the Application Overview.

clip_image029

In PAGE VIEWS section it also contains the information about all the pages in the app and the number of page views, number of users and the number of sessions for each page.

clip_image031

If you click on any Page name it will gives you more information about the specific page you selected.

clip_image033

If you click on any particular page view it will give you more information about the page from where it has been accessed and the client IP address.

test

If you click on ‘…’ then you will get more information

clip_image037

Here also you can Add chart, Time range, Filters, Alert Rules, Save favorites.

clip_image039

Sessions

A session is nothing but the amount of time used an app by the user.

It contains all the session information about the app that has been using by the users. Session includes the time

clip_image041

Custom Events

Custom events are created by developer. By inserting code to send custom events from your app, you can track your users’ behavior and the usage of specific features and scenarios.

clip_image043

If you select any Custom event it will give you more information about the specific Custom event metrics.

clip_image045

If you click on any custom event it will navigates to Custom Event properties windows and if you click on All telemetry for this user session under Related Items it will give you more results.

clip_image047

clip_image049

There is 1 Exception in the results, if you click on the it will give you the exception properties which contains more info about the exception which includes the information in the given picture.

clip_image051

Top Sessions by Count.

It will give the overall view of your app users in the different country across the world.

clip_image053

Top Devices

It will give you the top devices of customers which are using your app.

clip_image055

If you click on any device it gives more information about the operations performed by the device, which includes the number of users, number of sessions, session duration and the crashes count if there are any. It will locate the country or region of the device.

clip_image057

Diagnostic Search

It includes all the information of application at one place.

clip_image059

Alert Rules

Using Alert Rule you can track whenever there is any huge traffic or if any exception occurs in the app. There are certain types of metrics that you can create alerts for them. If there is smoothing happens as specified in the metrics for that alert it will notify to the email id which was given during the creation of alert.

clip_image061