Our application logs for each method: when it begins, when it ends, and the thread it is on. We are wanting to visualize how long each method takes. The logging structure is as follows:
[Thread #] Timestamp Begin/End MethodName Example: [Thread-13569 (ActiveMQ-client-global-threads)] Fri Oct 21 14:29:00 EDT 2022 Begin purgeHistory(Connection, String) [Thread-13569 (ActiveMQ-client-global-threads)] Fri Oct 21 14:29:00 EDT 2022 End purgeHistory(Connection, String) So we need a way to match every method "Begin" with every method "End" that's on the same thread, to be able to calculate and display how long each method took to execute. Is there any way we could get some help tackling this query?
... View more