发明授权
- 专利标题: In a microservices-based application, tracking errors by mapping traces to error stacks
-
申请号: US17681446申请日: 2022-02-25
-
公开(公告)号: US11928014B1公开(公告)日: 2024-03-12
- 发明人: Mayank Agarwal , Steven Flanders , Justin Smith , Gergely Danyi
- 申请人: SPLUNK INC.
- 申请人地址: US CA San Francisco
- 专利权人: SPLUNK Inc.
- 当前专利权人: SPLUNK Inc.
- 当前专利权人地址: US CA San Francisco
- 代理机构: Kilpatrick Townsend & Stockton LLP
- 主分类号: G06F11/00
- IPC分类号: G06F11/00 ; G06F11/07 ; G06F11/34 ; G06F11/36 ; G06F16/2455 ; G06F16/25
摘要:
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.
信息查询