.Net Agent Grouping Similar Transactions


Dynamic Transaction names are becoming more familiar with lots of applications, making it difficult to actually track the performance of the application. Dynamic transactions are web transactions within an application having single URL but get appended with unique alpha numeric identifiers every time they are invoked, making the web transaction name itself look different. Tracking such individual URLs is a herculean task. Here, this feature of grouping similar transactions, will help to group these dynamic transactions into the actual URL that needs to be monitored.

Configuration Steps

To do it manually, do the following steps:

  1. Go to the APM Insight .NET Agent installation folder after installing the agent.
  2. Open DotNetAgent folder.
  3. Open transaction_merge_patterns.conf and add the patterns as mentioned in the below sample,
    • The below pattern will match with all transactions which start with aspsite/account/ and it will be renamed as account.

      aspsite/account/~=account

    • The below pattern will match with all transactions which start with aspsite/ and end with /basicdetails. They will be renamed as basicdetails.

      aspsite/~/basicdetails=basicdetails

    • The below pattern will match with all transactions which end with /educationdetails and it will be renamed as educationdetails.

      ~/educationdetails=educationdetails

  4. Copy this transaction_merge_patterns.conf file and paste it in the following location.
    • Agent data path

      %SystemDrive%\ProgramData\DotnetAgent

    • In case of multi-monitors, all sub folders for every application in the above locations.
  5. We can add, remove or comment the patterns at any point of time in the configuration file.
Note: Service restart is not required to take effect of this configuration change. The changes will be affected in the next minute onwards.