Icon

Comments have been closed on this page. Please use AppMon & UEM Open Q & A forum for questions about this plugin.

 

Overview

The Dynatrace FastPack for Sitecore provides a preconfigured Dynatrace profile custom tailored to Sitecore environments. This FastPack contains sensors, a template system profile with measures and business transactions, dashboards for the Sitecore platform as well as a package for sitecore to expose the rendering object names to Dynatrace. If you are using UEM, you will also get visitor tagging, along with a customized dashboards for Sitecore User Experience.

Fast Pack Details

 

Name

Sitecore Fastpack

Version

1.0.0 & 2.0.0

dynaTrace Version

6.1++

Author

Brian Wilson

License

dynaTrace BSD

Support

Community Supported

FastPack Contents

Fastpack Download contains:

  • Dashboards (see below)
  • Template Profile
  • Sitecore Package to expose rendering details.

fastpack 1.0.0 (for Dynatrace 6.1 - 6.3)

fastpack 2.0.0 (for Dynatrace 6.5)

Sitecore Version

This fastpack was created on Sitecore.NET 8.0

It has not been tested on previous versions. Some features may not work

 

 

Dynatrace Free Trial

Download the free 30-day free Dynatrace & UEM trial to gain deep user insight, understand application performance across all tiers, identify performance and scalability bottlenecks and release new code faster.

 

 

Dashboards

 

User Experience KPIs Dashboard

Key Performance Indicators of the User Experience, including geographic performance, Visit Statistics, Slowest and Most Frequent User Actions.

 

 

SLA Compliance

This dashboard displays SLA compliance information based on Visits, User Actions and Server Side Transactions (PurePaths). Outside of Dynatrace's automatic baseline violation capabilities, a business may have it's own set of SLA's for performance. By setting thresholds in this dashboard, monitoring of SLA compliance can be achieved.

 

 

Sitecore Rendering Page Performance
This dashboard provides several insights on Renderings. It includes graphs plotting response times and counts for pages that utilize renderings, both total and split by URI. It also tracks the DoRender method time and count, both just the DoRender method as well as DoRender plus its child methods. Lastly, percentile performance of DoRender is displayed as 50th, 90th, & 99th percentiles.

 

 

Sitecore Login/Logout Performance
This dashboard tracks Login/Logout performance from both the User Experience and Server point of view. Sitecore provides 4 different Login methods within Sitecore.Security.Authentication.AuthenticationManager. The Login business transaction in this fastpack covers any of those 4 being leveraged.

 

 

Sitecore Process Monitoring
This dashboard provides a view of the performance of the Sitecore Process. Besides standard metrics like site load, process CPU, layer breakdown, heap, GC and thread utilizations, it also includes some perfmon metrics from ASP.NET and the Sitecore perfmon package included with sitecore, like cache misses, data items accessed, etc.

 

 

Sitecore System Monitoring
This dashboard provides an overall view of the sitecore system from the host, process, transaction and visit perspective. It's designed to give a high level overview of the health of the system as well as identify when trouble starts and which components are involved. If there's a slowdown in response time, for instance, you can plainly see if there's a major host or process (CPU, GC) event that may be causing the problem.

 

 

Database Performance
The Database Health dashboard provides a high level view of database activity.  Slow SQL statements provides the ability to identify and troubleshoot the slowest queries in the system.  Database Time vs. Count provides a view of query performance compared to load. Number of Pooled Connections are health indicators of the ado.net connection pool. Additionally, with a host agent on the database, database host info can be seen in context, including CPU, Memory, Disk I/O, Disk Utilization and Network I/O. This dashboard also includes metrics on .net MongoDB interactions

 

 

 

 

Sitecore Rendering Performance Analysis

Individual Page Requests are analyzed across several dimensions, including DoRender time a display of which main and sublayout renderings are on each page, Performance Hotspots, Exceptions and more. Select a page in the top right Page dashlet and the other dashlets will refresh to show data in context of that page.

 

 

 

 

Installation

Just download and import the FastPack on your Dynatrace Server (see Plugin Management).
Either configure your Sitecore agents' name to start with "SiteCoreAppPool", as listed in the SiteCoreAppPool agent group,  so they will be mapped to the system profile contained in the fastpack, or change the profile to match your application and modify the contained agent groups and mappings.
To use UEM you will need to match your webserver's agent name to start with "SiteCoreIIS", as listed in the SiteCoreIIS agent group, or adopt accordingly. 

This zip file contains two items.

  1. the dynatrace sitecore fastpack (sitecore-fastpack-1.0.dtp) which gets deployed to the dynatrace server
  2. the Dynatrace.PatchRenderings.zip which gets deployed to your sitecore instance using the Sitecore Installation Wizard.

 

The Dynatrace.PatchRenderings.zip contains 3 files:

  1. dynatrace.config
  2. dynatrace.patchRenderings.dll
  3. dynatrace.patchRenderings.pdb

The purpose of this package is to expose the following information to dynatrace utilizing 2 custom methods

  • CaptureInDTMain captures the following information for each page and can be found in the Dynatrace Business Transaction named Sitecore Main Layout as well as the Dynatrace dashboard SiteCore Rendering Performance:
    • URL
    • ID
    • Name
    • DisplayName

  • CaptureInDTSub captures the following information for each rendering on the main page and can be found in the Dynatrace Business Transaction named Sitecore Sublayouts as well as the Dynatrace dashboard SiteCore Rendering Performance:
    • Placeholder
    • ID
    • DisplayName
    • DataSource

If you choose not to deploy this package to sitecore, the above mentioned business transactions will not work and some content will be missing from the Dynatrace dashboard SiteCore Rendering Performance

 

Contribution

Feel free to contribute any changes on Github

 

  1. Anonymous (login to see details)

    Hello Brian,

     

    We're having issues seeing measures that the Sitecore fastpack exposes. I've created a support ticket SUPDT-25460 for Dynatrace Support to assist.

    They have requested us to reach out to the developer to assist with the issue.

    Would you have access to the support ticket listed above or shall I explain the problem that we have?

     

    Thank you for your assistance.

    Warm regards,

    Ashok.

      
  2. Anonymous (login to see details)

    Hello,please,  did anybody try on sitecore 7.2?

  3. Anonymous (login to see details)

    Jonathan,
    we have not tried it on 7.2.  However, the fastpack should not impact a 7.2 environment.  we instrument for a render method, login/logout and collect data from the sitecore perfmon counters.  If these do not exist in 7.2, then they will not do anything. Other dashboards in the fastpack are created based off out-of the-box capabilities of dynatrace. 
    As for the Dynatrace.PatchRenderings.zip part of the fastpack, that was created from the v8 code, so I'm not sure that would work.

    1. Anonymous (login to see details)

      Thanks for your reply.

    2. Anonymous (login to see details)

      Hi Brian,

      the performance counters seem not to work for our Sitecore v8. Do I have to create a "Monitor" for these (but there is no Monitor in the delivered SiteCore System Profile), or how is this one getting the measures? Or do we have to activate perfmon counters somehow on the Sitecore side so that these measures will have values?

      Best regards
      Dennis

  4. Anonymous (login to see details)

    Hi Dennis,

    The measures are already created in the fastpack - you can see them by name under Measures in the system profile. However, there are a few dependencies

    1. The sitecore perfmon counters have to be enabled in your sitecore instance. This article lists how to do that, once you scroll past all the counter names.  You additionally confirm running by running Perfmon on the local sitecore server and browsing for the sitecore metrics. 
    2. Perfmon has to be available to the agent user: The agent runs as the .net instance user, so that user has to have permissions to view perfmon counters. If you see that the other asp.net counters are showing up in the dashboard, even if they're reading 0 (as is hopefully the case for requests in .net queue), then you know that there are no permissions issues. If however, the asp.net counters are not showing up in the dynatrace dashboard, 
      then you likely have a permissions issue. 

    Let me know if these solve the issue for you, and as you use the fastpack, please provide any feedback on features you'd like to see in it that would be helpful for a sitecore deployment.

    To answer the question about using a Monitor (plugin), for this fastpack, since we're only pulling a small number of perfmon counters from the system, we are using the agent to gather the data. If, in the future, you find yourself wanting to expand the number of perfmon metrics by a larger amount, it might be better to modify the Windows Performance Monitor plugin to pull the data from a process on the collector instead of using the Agent. This would have to be edited as a plugin to add more counter

     

    1. Anonymous (login to see details)

      Hi Brian,

       

      thanks for your comprehensive and fast response.

      Got it, I will check on that with my customer and I think this will solve the issue with our performance counter measure values.

      Thank you!

      Dennis