US 11,940,895 B2
Methods and systems for intelligent sampling of application traces
Arnak Poghosyan, Yerevan (AM); Ashot Nshan Harutyunyan, Yerevan (AM); Naira Movses Grigoryan, Yerevan (AM); Clement Pang, Palo Alto, CA (US); George Oganesyan, Yerevan (AM); and Karen Avagyan, Yerevan (AM)
Assigned to VMware LLC, Palo Alto, CA (US)
Filed by VMware LLC, Palo Alto, CA (US)
Filed on Jul. 5, 2021, as Appl. No. 17/367,490.
Claims priority of provisional application 63/155,349, filed on Mar. 2, 2021.
Prior Publication US 2022/0283924 A1, Sep. 8, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 11/00 (2006.01); G06F 11/07 (2006.01); G06F 11/34 (2006.01)
CPC G06F 11/3466 (2013.01) [G06F 11/0709 (2013.01); G06F 11/076 (2013.01); G06F 11/0781 (2013.01); G06F 11/079 (2013.01); G06F 11/0793 (2013.01)] 24 Claims
OG exemplary drawing
 
1. A method stored in one or more data storage devices and executed using one or more processors of a computer system for sampling traces of an application executed in a distributed computing system, the method comprising:
determining different sampling rates for the traces based on frequency of occurrence of trace types that correspond to root spans of the traces and/or durations of the traces, wherein the different sampling rates are inversely proportional to the frequency of occurrence of the trace types and/or the durations;
using the different sampling rates to sample traces stored in a data storage device or in a buffer such that less frequently occurring trace types are sampled with larger trace-type sample rates than more frequently occurring trace types and/or less frequently occurring durations are sampled with larger duration-sampling rates than more frequently occurring durations;
deleting unsampled traces from the data storage device or from the buffer; and
storing the sampled traces in the data storage device.