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 |
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.
|