Grouping Similar Transactions
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
- Create a new file named "transaction_merge_patterns.conf" in the directory where the apminsight.conf exists.
- Open the file in a text editor and add the key value pairs as per the syntax provided below
Regular expression of URLs/web transaction=new name to be assigned
- Application server restart is required for the changes to be effective.
Example
You have Web transaction URLs:
ebay/shop/item/chocolate/nestle
ebay/shop/item/chocolate/snickers
ebay/shop/item/chocolate/orion
ebay/shop/item/stationary/pencil
ebay/shop/item/stationary/pen
How to specify in transaction_merge_patterns.conf
ebay/shop/item/chocolate/.*=ebay/shop/chocolate
ebay/shop/item/stationary/.*=ebay/shop/stationary
ebay/shop/item/.*=ebay/shop/others