In a microservices-based application, mapping distributed error stacks across multiple dimensions

    公开(公告)号:US11321160B2

    公开(公告)日:2022-05-03

    申请号:US16672210

    申请日:2019-11-01

    Applicant: SPLUNK INC.

    Abstract: A method of tracking errors in a system comprising microservices comprises ingesting a plurality of spans generated by the microservices during a given duration of time. The method further comprises consolidating the plurality of spans associated with the given duration of time into a plurality of traces, wherein each trace comprises a subset of the plurality of spans that comprise a common trace identifier. For each trace, the method comprises: a) mapping a respective trace to one or more error stacks computed for the respective trace and to one or more attributes determined for the respective trace; and b) emitting each error stack computed from the respective trace with an associated pair of attributes. The method then comprises reducing duplicate pairs of error stack and associated attributes and maintaining a count for each pair of error stack and associated attributes.

    Tracking error propagation across microservices based applications using distributed error stacks

    公开(公告)号:US11010235B1

    公开(公告)日:2021-05-18

    申请号:US16672174

    申请日:2019-11-01

    Applicant: SPLUNK INC.

    Abstract: A method of performing error analysis in a system comprising microservices comprises identifying a root cause error span from among a plurality of error spans for a trace associated with a user-request, wherein an error span is a span that returns an error to a microservice initiating a call resulting in the span, and wherein a root cause error span is an error span associated with an error originating microservice. The method further comprises determining a call path associated with the root cause error span, where the call path comprises a chain of spans starting at the root cause error span, and where each subsequent span in the chain is a parent span of a prior span. Subsequently the method comprises mapping each span in the chain to a span error frame to create an error stack and rendering an image of the error stack.

Patent Agency Ranking