US 11,940,898 B2
Dynamic tracing of runtime data in a distributed system
Jin Liu, Beijing (CN); Caixia Jiang, Beijing (CN); Qiong Wang, Beijing (CN); and Donghai Han, Beijing (CN)
Assigned to VMware, Inc., Palo Alto, CA (US)
Filed by VMware, Inc., Palo Alto, CA (US)
Filed on Nov. 16, 2021, as Appl. No. 17/527,188.
Prior Publication US 2023/0153224 A1, May 18, 2023
Int. Cl. G06F 11/00 (2006.01); G06F 11/07 (2006.01); G06F 11/34 (2006.01)
CPC G06F 11/3495 (2013.01) [G06F 11/0709 (2013.01); G06F 11/0751 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method for dynamic tracing of runtime data in a distributed system, the method comprising:
associating a trace profile to at least one node of a plurality of nodes in the distributed system, wherein each of the nodes includes a local worker agent, and wherein an administrator agent coordinates trace profiles for the plurality of nodes;
detecting, by the local worker agent of the at least one node, an error that pertains to runtime data monitored by the local worker agent;
in response to the detected error, updating, by the local worker agent of the at least one node, the trace profile;
sending, by the local worker agent of the at least one node, the updated trace profile to the administrator agent; and
after receiving the updated trace profile at the administrator agent, applying, by the administrator agent, the updated trace profile to at least some of the plurality of nodes so as to increase or decrease trace output data for traces that are performed by the at least some of the nodes.