Patent ID: 8688729

Claim:
A computer-implemented method, the method comprising: accessing a tree data structure for an application, wherein: the tree data structure comprises respective branches including a first branch and a second branch, the first branch represents a first transaction of the application, and comprises a plurality of nodes which represent a start and end of invocation of a plurality of components of the first transaction, including a first component, the plurality of nodes of the first branch comprises a first node which represents a start or end of invocation of the first component in the first transaction, the first node is linked to a first gatherer, the second branch represents a second transaction of the application, and comprises a plurality of nodes which represent a start and end of invocation of a plurality of components of the second transaction, including the first component, and the plurality of nodes of the second branch comprises a second node which represents a start or end of invocation of the first component in the second transaction, the second node is linked to a second gatherer, tracing the application to detect a sequence of invoked instrumented components of the application, the tracing comprising detecting a start and an end of an invocation of the first component in the first transaction; gathering a first metric of the first component in the first transaction based on the detecting the start and the end of the invocation of the first component in the first transaction; determining that the sequence of invoked instrumented components of the application matches the plurality of nodes of the first branch; and responsive to the determining that the sequence of invoked instrumented components of the application matches the plurality of nodes of the first branch: reporting, to a manager, the metric for the first component in the first transaction with an identification of the first gatherer.