insights and monitoring of sharepoint applications

31
INSIGHTS AND MONITORING OF SHAREPOINT APPLICATIONS By: Sharath Kumar Shivarama Technology Analyst

Upload: sharepoint-saturday-new-jersey

Post on 20-Dec-2014

239 views

Category:

Software


3 download

DESCRIPTION

Like taking responsibility of relationship after commitment is important, monitoring applications after they go live is important!!! Microsoft’s answer to this curious case is a cloud based service named Application Insights provided as part of Visual Studio Online. In this session, we will figure out how we can analyze whether our applications are living up to the expectations from Availability and Performance point of view, how we can drive our applications towards having long life and much more fun stuff!!

TRANSCRIPT

Page 1: Insights and Monitoring of SharePoint Applications

INSIGHTS AND MONITORING OF SHAREPOINT APPLICATIONS

By: Sharath Kumar Shivarama

Technology Analyst

Page 2: Insights and Monitoring of SharePoint Applications

ABOUT ME

Sharath Kumar ShivaramaTechnology Analyst – Infosys Ltd

fb.com/sharathshivarama

@shivaramasharat

http://tinyurl.com/o9p6ozg

http://sharathshivarama.net

[email protected]

Page 3: Insights and Monitoring of SharePoint Applications

CONTENTS

• Evolution

• Application Insights

• Setting up monitoring

• Monitoring Availability

• Monitoring Performance

• Monitoring Usage and using Diagnostics

• Managing Alerts

• Dashboards

Page 4: Insights and Monitoring of SharePoint Applications

EVOLUTION

• SCOM(System Center Operations Manager) - for monitoring applications.

• GSM(Global Service Monitor) and APM(Application Performance Monitoring) handled it all.

• APM and GSM facilitated extraction of complete information related to application’s health and performance.

• Enabled Outside-In monitoring of web applications.

Page 5: Insights and Monitoring of SharePoint Applications

EVOLUTION

• In SCOM 2012 R2, Operations Manager Agent(OMA) was replaced by Microsoft Monitoring Agent(MMA).

• A standalone component running separately and not under SCOM, enabled .NET APM by directly plugging into IIS and Visual Studio.

• Isolation of MMA from SCOM pushed AI-Application Insights into scene – A complete cloud based monitoring solution.

Page 6: Insights and Monitoring of SharePoint Applications

APPLICATION INSIGHTS

• Cloud based monitoring solution which can be used for monitoring,- Web Service or Web Application

- Web pages that use JavaScript

- Windows phone 8 App

- Windows Store App

• Capability to extract Availability, Performance, Usage and Diagnostic statistics of applications and services.

• AI provides these benefits with the combination of APM, GSM and MMA.

• Can be used for monitoring both On-Premise and Cloud Based Applications.

• Supports both .NET and JAVA based applications.

Page 7: Insights and Monitoring of SharePoint Applications

APPLICATION INSIGHTS

• With AI, Microsoft has completely reduced the differences between their on-premise and cloud based monitoring solutions.

• Reduced confusions between developers and operations team.

• To use AI, all you need to have is,

• An Active Microsoft Account

• Visual Studio Online Account linked to this Microsoft Account.

Page 8: Insights and Monitoring of SharePoint Applications

SETTING UP MONITORING

• Download and Install MMA(Microsoft Monitoring Agent).

• Download the ApplicationInsights.config file and save it in web application folder.

• Copy and Paste the Usage Insights code script into Master Page

Not applicable for Cloud Based Applications.

MMA provides a PowerShell based command prompt with different cmdlets for interaction with the installed Monitoring component.

The steps for setting up monitoring differs based on the type of application as well.

Page 9: Insights and Monitoring of SharePoint Applications

MONITORING AVAILABILITY

• Monitor just Availability using the Usage Insights code script.

Steps:

- Add an application in AI

- Name the application

- Create URL ping test

- Generate the Usage Insights Code Script

- Plug-in Usage Script into application’s Master page and re-deploy the application.

Page 10: Insights and Monitoring of SharePoint Applications

MONITORING AVAILABILITY

• Create application in AI

Page 11: Insights and Monitoring of SharePoint Applications

CONTINUED…

• Enter other necessary details and generate the Usage Insights Code Script

Page 12: Insights and Monitoring of SharePoint Applications

• Include the Usage Insights Code Script in Master page and use the application.

• Set up Single Url test or Multistep web test to extract Availability details in AI

CONTINUED…

Page 13: Insights and Monitoring of SharePoint Applications

CONTINUED…

Page 14: Insights and Monitoring of SharePoint Applications

MONITORING PERFORMANCE

• The most informative section in Application Insight

• Performance monitoring cannot be done for Cloud based Applications and Services.

• Installation of MMA on server and presence of ApplicationInsights.config in application folder root.

Page 15: Insights and Monitoring of SharePoint Applications

CONTINUED…

Performance monitoring provides details related to,

- Application scalability under different types of loads and dependencies.

- Exceptions Rate

- CPU, Network and Memory usage of the application.

- Top 10 slowest request by issue count

Page 16: Insights and Monitoring of SharePoint Applications

CONTINUED…

Response time and Load vs Dependencies

Page 17: Insights and Monitoring of SharePoint Applications

CONTINUED…

Exceptions Rate

- Graphical as well as in-depth details of exceptions raised in the application.

Page 18: Insights and Monitoring of SharePoint Applications

CONTINUED…

CPU, Network and Memory usage of the application

Page 19: Insights and Monitoring of SharePoint Applications

CONTINUED…

Top 10 slowest request by issue count

- The most informative section of AI.

- Completely helpful in improving the performance of the application.

Page 20: Insights and Monitoring of SharePoint Applications

MONITORING USAGE AND USING DIAGNOSTICS

• Interesting section of AI

• Provides Key Indicators and Insights driving Operation’s decisions.

• Different Key Indicators,

• Top Page views

• Avg Daily Users

• Activities per session

• OS, Devices, Browsers and Languages used and many more…

Page 21: Insights and Monitoring of SharePoint Applications

CONTINUED…

Page 22: Insights and Monitoring of SharePoint Applications

CONTINUED…

Usage section of AI provides ample amount of environment related details as well!!

Page 23: Insights and Monitoring of SharePoint Applications

MANAGING ALERTSTwo different types of Alerts can be configured,

- Availability Alerts

- Performance Alerts

Page 24: Insights and Monitoring of SharePoint Applications

ALERTS - AVAILABILITY

• These can be configured from the availability section

• Alerts will be triggered every time a test fails

Page 25: Insights and Monitoring of SharePoint Applications

ALERTS - PERFORMANCE

• These alerts can be configured for any of the Application Thresholds

• Alerts can be sent either to a set of audience or single user

Page 26: Insights and Monitoring of SharePoint Applications

DASHBOARDS

• Flexibility to create completely custom dashboards

• Multiple Insights from all over the AI can be pinned to Dashboard

• Dashboards can be either private or can be shared with an audience

• Ability to create slideshow out of Dashboard

Page 27: Insights and Monitoring of SharePoint Applications

GET – SET - GO

Page 28: Insights and Monitoring of SharePoint Applications
Page 29: Insights and Monitoring of SharePoint Applications

REFERENCES

• http://kevingreeneitblog.blogspot.ie/

• MSDN articles

Page 30: Insights and Monitoring of SharePoint Applications

NEW JERSEY SHAREPOINT USER GROUP

• Different SharePoint discussions each month on various topics. Announced on meetup.com

• Meets 4th Tuesday of every month

• 6pm – 8pm

• Microsoft Office (MetroPark)

• 101 Wood Ave, Iselin, NJ 08830

• http://www.njspug.com

Page 31: Insights and Monitoring of SharePoint Applications

THANK YOU EVENT

SPONSORS• Diamond & Platinum sponsors

have tables here in the Fireside Lounge

• Please visit them and inquire about their products & services

• Also to be eligible for prizes make sure to get your bingo card stamped