Within a PurePath call stack, I have a method being called multiple times. Within each PurePath, can I sum the execution time(s) of this method and chart it in a dashlet? If so, could you please provide the steps. -thanks
Answer by Rob V. ·
Hi Matt,
You can sum up the exec time of a particular method using either simple measures, or by creating a business transaction. And you can chart those results. What you won't be able to do (can't tell if this is what you want to do from your question) is chart those results for individual PurePaths. Measure (and BT) data is inherently aggregate in nature.
Another thought: in the PurePath dashlet, one of the tabs in the top half of the screen is the "Contributors" tab. This will give you a sortable list of the methods in that PurePath. You can sort by method and see all invocations of your method all sorted together. It's not a chart, but that gives you PurePath-granularity into the execution of that method.
Rob
Answer by Rick B. ·
Hi Matt,
This is a perfect example of a use case for Business Transactions. I'm not sure how familiar you are with them, so I'll be possibly a little over-specific here (please check out Dynatrace Community Webinars and APM University for more info on BTs).
The flow may not be exactly what's stated but if you need more direction I can record a video. When you chart this measure from the BT, you will have the sum of the method timings per-PurePath as the data.
HTH,
Rick B
JANUARY 15, 3:00 PM GMT / 10:00 AM ET