I am trying to create a business transaction to show the execution time of a specific method every time it runs. I cannot figure out how I would setup the splitting for this business transaction so that it shows each individual method execution instead of an aggregation. Does anyone know how to do this?
Answer by Rob V. ·
I do this sort of thing all the time for my customers - tracking the performance of "interface" methods. As Andi mentions, it's not possible to track every single execution using a BT or a plain measure, but in practice that doesn't turn out to be a problem. In the "past hour" you can chart these things to 10-second granularity, and from the PW you can store at a 1-minute granularity.
If you are truly very concerned at knowing immediately if the interface method is performing badly, you can set an alert an alert with a "max" aggregate and an evaluation timeframe of 10 seconds that would basically tell you whenever you have a spike in performance. You could then drill down and see the PurePaths that created that spike, which would show you the individual method invocations.
With that said, I find that people are genarally OK with the over-time chart showing trends. Unless you are in a testing mode, individual method invocations (in practice) are not usually all that important.
Answer by Andreas G. ·
Can you explain why you want to use a BT for that? If you create a Method Execution Time measure you can chart things like min/max/avg/count for this method execution. A Business Transaction would also not give you more details than that