US 12,072,786 B2
Dynamic debug tracing with machine learning
Harish Bharti, Pune (IN); Ingo Averdunk, Markt Schwaben (DE); Shankar Sundaram Kalyana, Austin, TX (US); Rajesh Kumar Saxena, Maharashtra (IN); and Rajib Das, Kolkata (IN)
Filed by International Business Machines Corporation, Armonk, NY (US)
Filed on Jan. 5, 2022, as Appl. No. 17/647,088.
Prior Publication US 2023/0214311 A1, Jul. 6, 2023
Int. Cl. G06F 9/44 (2018.01); G06F 11/07 (2006.01); G06F 11/34 (2006.01); G06F 11/36 (2006.01)
CPC G06F 11/3664 (2013.01) [G06F 11/0772 (2013.01); G06F 11/3409 (2013.01); G06F 11/3636 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A computer-implemented method, comprising:
obtaining, by one or more processors, via a gateway, a request for a transaction to be processed in a production environment of a computing system by an application executing on one or more computing resources of the computing system, wherein a debug trace for transactions processed in the production environment by the computing system is turned off by default;
applying, by the one or more processors, to the request for the transaction, an outlier detection model, to determine whether the transaction comprises attributes matching transaction tuples of one or more historical transactions identified as triggering issues in the computing system when the application processed the historical transactions;
classifying, by the one or more processors, the transaction as being an outlier transaction or as being a standard transaction, based on applying the outlier detection model;
based on the classifying, publishing, by the one or more processors, a debug flag associated with the transaction to a distributed cache; and
based on determining that the transaction is an outlier transaction, concurrently with the application processing the transaction when executed in the production environment of the computing system, turning on, by the one or more processors, the debug trace to debug trace the application processing of the transaction, wherein turning on the debug trace to debug trace the application processing of the transaction is based on the application obtaining the debug flag from the distributed cache.