Con risposta Developer Dashboard in SharePoint 2010

  • jueves, 01 de diciembre de 2011 18:06
     
     

    Hi all,

    We are planning to activate Developer dashboard in our production servers.

    I heard that activating this feature in development environment will be helpful but in the case of production environment it will cause some performance issue like taking more time for tracing purpose etc.

    Please assist me whether activating the developer dashboard in the production environment is a good idea or not ?

    Regards

    KAV

Todas las respuestas

  • jueves, 01 de diciembre de 2011 18:46
     
     Respondida

    You should only active the Dev Dashboard when you need it.  It does have a hit on performance because of the additional rendering required on the pages. 

    You can leave it "On Demand".  Most users won't even notice the little green icon, but I would leave it off until needed.

     


    Shannon Bray - MCM, MCT, MCPD, MCTS, MCITP
    Planet Technologies
    Blog || Colorado SharePoint
  • domingo, 27 de mayo de 2012 9:31
     
     

    You can configure Developer Dashboard to load on demand. Check the section 5. Developer Dashboard   here for the different ways to do it : 

    http://extreme-sharepoint.com/2012/05/25/troubleshooting-sharepoint-2010-tools-techniques/

    It is important to note that when the display mode is set to OnDemand, anyone who has rights to view the page will also be able to see the Dashboard output.


    amitkumawat2025

  • domingo, 27 de mayo de 2012 16:57
     
     

    how can i configure the Dev Dashboard as "on demand"? How is it differnet from Dev Dashboard disabled?

  • lunes, 28 de mayo de 2012 1:52
     
      Tiene código

    Amit,

    Use the following command to enable the Developer Dashboard in On Demand mode.

    stsadm -o setproperty -pn developer-dashboard -pv ondemand

    When the dashboard is On Demand, it will show a little green icon in the upper right of the page (on the default v4.master).  When you click it, it will show the trace of the page load at the bottom of the page.  If the dashboard is disabled, the green icon will not display.


    Bob Guidinger
    Please remember to click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • lunes, 28 de mayo de 2012 2:25
     
      Tiene código

    You can do it by Powershell. Below is the script :

    $contentService =[Microsoft.SharePoint.Administration.SPWebService]::ContentService
    $dashboardSetting = $contentService.DeveloperDashboardSettings
    $dashboardSetting.DisplayLevel = [Microsoft.SharePoint.Administration.SPDeveloperDashboardLevel]::OnDemand
    $dashboardSetting.TraceEnabled = $true;
    $dashboardSetting.Update()

    In above, you can remove this line if you don't want tracing.

    $dashboardSetting.TraceEnabled = $true;

    amitkumawat2025

  • lunes, 28 de mayo de 2012 8:33
     
     

    One more question, does it generate the logs information when green icon is selected or just keep generating the logs and only display when green icon is selected. Logs means here is whatever information Dev DeshBoard display on screen.