US 11,797,418 B1
Automatic creation of trace spans from log data
Nizar Tyrewalla, Seattle, WA (US); Jaana Dalgaard, Seattle, WA (US); Michael Gerhard Hausenblas, Seattle, WA (US); and Niketan Kapila, Seattle, WA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Dec. 7, 2021, as Appl. No. 17/643,154.
Int. Cl. G06F 11/00 (2006.01); G06F 11/34 (2006.01); G06F 11/07 (2006.01); G06F 11/30 (2006.01)
CPC G06F 11/3476 (2013.01) [G06F 11/0772 (2013.01); G06F 11/3006 (2013.01); G06F 11/3075 (2013.01)] 23 Claims
OG exemplary drawing
 
1. A system for managing trace data associated with network-based services, the system comprising:
one or more computing devices having a processor and a memory, the one or more computing devices associated with execution of one or more network-based services, wherein the trace data comprises a plurality of trace span data, the plurality of trace span data generated from log data generated by individual network-based services; wherein the individual network-based services can generate the log data including unique trace identifiers identifying individual trace span data corresponding to the trace data;
one or more computing devices associated with a processor and a memory for executing computer-executable instructions to implement a trace generation service, wherein the trace generation service is configured to:
obtain first log data corresponding to execution of a first network-based service, wherein at least one log event in the first log data includes a generated unique trace identifier, wherein the unique trace identifier associates data generated by one or more network services corresponding to trace span data;
process the first log data to identify the generated unique trace identifier included in the first log data to generate a first trace span associated with the generated unique trace identifier;
obtain second log data corresponding to execution of a second network-based service, wherein at least one log event in the second log data includes the generated unique trace identifier;
process the second log data to identify the generated unique trace identifier included in the second log data to generate a second trace span associated with the generated unique trace identifier;
construct trace data associated with the generated unique trace identifier, the constructed trace data including at least the first trace span data generated from the first log data and the second trace span data generated from the second log data; and
distribute the constructed trace data.