Help APM APM for Ruby Grouping Similar Transactions

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 resides in your application.
  • 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
  • Start or restart the rails server, all transactions performed from now, will use the above defined patterns to merge the transactions.

Example

ruby/shop/item/laptops/.*=shop/laptops
ruby/shop/item/.*/dell/.*=shop/item/dell
.*/cart/purchase=shop/purchase

Was this document helpful?
Thanks for taking the time to share your feedback. We’ll use your feedback to improve our online help resources.

Help APM APM for Ruby Grouping Similar Transactions