Tracking error propagation across microservices-based applications

    公开(公告)号:US11347578B2

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

    申请号:US17218457

    申请日:2021-03-31

    申请人: SPLUNK INC.

    IPC分类号: G06F11/07 G06F11/32

    摘要: 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, wherein an error span is a span that returns an error to a microservice that generates 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.

    Multiple modes of storing and querying trace data in a microservices-based architecture

    公开(公告)号:US11762759B1

    公开(公告)日:2023-09-19

    申请号:US17538159

    申请日:2021-11-30

    申请人: SPLUNK INC.

    IPC分类号: G06F11/36 G06F16/953

    CPC分类号: G06F11/364 G06F16/953

    摘要: A method of analyzing a performance of a microservices-based application comprises generating a plurality of traces from a plurality of spans associated with the microservices-based application. The method also comprises generating a plurality of data sets each associated with a respective analysis mode of a plurality of analysis modes using the plurality of traces, wherein each analysis mode extracts a different level of detail for analyzing the performance of the services in the application from the plurality of spans. Further, the method comprises selecting, based on a first user query, a first analysis mode from the plurality of analysis modes for generating a response to the first user query. The method also comprises accessing a data set of the plurality of data sets that is associated with the first analysis mode and generating the response to the first user query using the data set associated with the first analysis mode.

    Analyzing tags associated with high-latency and error spans for instrumented software

    公开(公告)号:US11379475B2

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

    申请号:US16858477

    申请日:2020-04-24

    申请人: Splunk Inc.

    摘要: A computer-implemented method for analyzing spans and traces associated with a microservices-based application executing in a distributed computing environment comprises aggregating a plurality of ingested spans associated with one or more applications executing in the distributed computing environment into a plurality of traces, wherein each of the plurality of ingested spans is associated with a plurality of tags. The method further comprises comparing durations of a set of related traces of the plurality of traces to determine patterns for the plurality of tags and generating a histogram that represents a distribution of the durations of the set of related traces. The method also comprises providing alerts for one or more tags from the plurality of tags associated with traces having a duration above a threshold based on the distribution of the durations.

    Application topology graph for representing uninstrumented objects in a microservices-based architecture

    公开(公告)号:US11755446B1

    公开(公告)日:2023-09-12

    申请号:US18076206

    申请日:2022-12-06

    申请人: SPLUNK Inc.

    IPC分类号: G06F11/32 G06F11/30 G06F11/34

    摘要: A method of rendering a graphical user interface (GUI) comprising an application topology graph for a microservice architecture comprises generating a plurality of traces from a first plurality of spans generated by instrumented services in the architecture and generating generate a second plurality of spans for uninstrumented services using information extracted from the first plurality of spans. The method further comprises grouping the second plurality of spans with the plurality of traces. Subsequently, the method comprises traversing the traces and collecting a plurality of span pairs from the plurality of traces, wherein each pair of the span pairs is associated with a call between two services. The method also comprises aggregating information across the plurality of span pairs to reduce duplicative information associated with multiple occurrences of a same span pair from the plurality of span pairs. Finally, the method comprises rendering the application topology graph using the aggregated information.

    Application topology graph for representing instrumented and uninstrumented objects in a microservices-based architecture

    公开(公告)号:US11537492B1

    公开(公告)日:2022-12-27

    申请号:US17245871

    申请日:2021-04-30

    申请人: SPLUNK INC.

    IPC分类号: G06F11/32 G06F11/34 G06F11/30

    摘要: A method of rendering a graphical user interface (GUI) comprising an application topology graph for a microservice architecture comprises generating a plurality of traces from a first plurality of spans generated by instrumented services in the architecture and generating generate a second plurality of spans for uninstrumented services using information extracted from the first plurality of spans. The method further comprises grouping the second plurality of spans with the plurality of traces. Subsequently, the method comprises traversing the traces and collecting a plurality of span pairs from the plurality of traces, wherein each pair of the span pairs is associated with a call between two services. The method also comprises aggregating information across the plurality of span pairs to reduce duplicative information associated with multiple occurrences of a same span pair from the plurality of span pairs. Finally, the method comprises rendering the application topology graph using the aggregated information.

    Graphical user interface (GUI) for representing instrumented and uninstrumented objects in a microservices-based architecture

    公开(公告)号:US11030068B1

    公开(公告)日:2021-06-08

    申请号:US16752046

    申请日:2020-01-24

    申请人: SPLUNK INC.

    摘要: A method of rendering a graphical user interface (GUI) comprising an application topology graph for a microservice architecture comprises generating a plurality of traces from a first plurality of spans generated by instrumented services in the architecture and generating generate a second plurality of spans for uninstrumented services using information extracted from the first plurality of spans. The method further comprises grouping the second plurality of spans with the plurality of traces. Subsequently, the method comprises traversing the traces and collecting a plurality of span pairs from the plurality of traces, wherein each pair of the span pairs is associated with a call between two services. The method also comprises aggregating information across the plurality of span pairs to reduce duplicative information associated with multiple occurrences of a same span pair from the plurality of span pairs. Finally, the method comprises rendering the application topology graph using the aggregated information.

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

    公开(公告)号:US11321160B2

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

    申请号:US16672210

    申请日:2019-11-01

    申请人: SPLUNK INC.

    摘要: 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

    申请人: SPLUNK INC.

    IPC分类号: G06F11/07 G06F11/32

    摘要: 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.