SharePoint Health Score

In my experience of SharePoint 2010 Custom Development, as well as SharePoint 2013 development, I have always been curious to see how my on premise SharePoint Servers' Web applications are performing from a performance perspective.

The very first step from a monitoring point is to refer to the SharePoint Health Score.

Health Score

SharePoint Health Score determines the health of SharePoint Servers from zero to 10, zero beingthe  most healthy state of servers. SharePoint calculates this health score for each and every request. While calculating this score, some of the key parameters considered are concurrent requests, memory usage etc.

But as a developer you will have questions such as: Is this made available to the developer? Do I need admin access or server access?

The answer to all your above questions is the HTTP Response Header X.

SharePointHealthScore. SharePoint calculates this score for each and every request and seds the same custom header X-SharePointHealthScore.

How to access SharePoint Health Score easily

 I am using Chrome browser. Followthe  below steps to access SharePoint Health Score,

  1. Open Chrome Browser
  2. Go to 'More tools', then 'Developer tools'

    Developer
                                                                Figure 1: Chrome Developer Tools

  3. Open Network tab and click check box 'Preserve log',

    Chrome
              Figure 2: Chrome Developer Tools > Network tab: Preserve Log

  4. Click on left side black icon i.e. to start recording network activity. This icon will turn red and then hit your SharePoint URL.

  5. Network tab will show all the requests and responses as in the following:

    Network
                               Figure 3: Network tab showing requests logged.

  6. Select Home.aspx from all the requests to open details about this activity,

    Health Score
                Figure 4: Health Score custom header value shown as 0 meaning healthy state.

As shown above, my server/Web application is ina  healthy state and I should not be worried about my development done so far. But when the value is approaching 10, what needs to be done will be discussed separately.

This way, developers can take a look at SharePoint Health Score just by using their browser based Developer Tools.

Pl. Note: Although I am capturing SharePoint 2013 URL, all the above steps can be followed to monitor the health score for SharePoint 2010 URLs as well.

In case of Internet Explorer 11, the path Tools> F12 Developer Tools >Network tab>Response Headers can be followed to observe health score custom header.