# US 2025/0165376 A1 · Generating span related metric data streams by an analytic engine

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0165376 A1
- Document ID: US20250165376A1
- Status: Published application
- Kind: A1
- Application number: 19/034,316
- Filed: 2025-01-22
- Published: 2025-05-22
- Earliest claimed: 2020-03-30
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc..
- Inventors: Steven Karis; Maxime Petazzoni; Matthew William Pound; Joseph Ari Ross; Charles Smith; Scott Stewart
- Web page: https://patentgrep.com/patent/US20250165376A1

## CPC

- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/3636: {by tracing the execution of the program}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 11/302: {where the computing system component is a software system}
- G06F 11/3409: {for performance assessment}
- G06F 11/3452: {Performance evaluation by statistical analysis}
- G06F 11/3612: {by runtime analysis (performance monitoring G06F11/3466)}
- G06F 11/3644: {by instrumenting at runtime}
- G06F 16/24568: {Data stream processing; Continuous queries}
- G06F 2201/865: Monitoring of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of generating metrics data associated with a microservices-based application comprises ingesting a plurality of spans and mapping an ingested span of the plurality of spans to a span identity, wherein the span identity comprises a tuple of information identifying a type of span associated with the span identity, wherein the tuple of information comprises user-configured dimensions. The method further comprises grouping the ingested span by the span identity, wherein the ingested span is grouped with other spans from the plurality of spans comprising a same span identity. The method also comprises computing metrics associated with the span identity and using the metrics to generate a stream of metric data associated with the span identity.

## Claims

### Claim 1

A method of identifying an anomalous pattern from metrics data associated with a microservices-based application that is executing in a distributed computing environment, the method comprising:
aggregating a plurality of ingested spans into a plurality of streams of metric data, wherein the plurality of ingested spans is stored as part of different data sets;
executing, on a stream of metric data, computations to identify the anomalous pattern, the stream of metric data being obtained from a first data set; and
responsive to successfully identifying the anomalous pattern, generating a query directed to a second data set to obtain additional information associated with the anomalous pattern, wherein the second data set is different than the first data set.

### Claim 2 (depends on 1)

The method of claim 1, wherein each analysis modality from a plurality of analysis modalities extracts a different level of detail from the plurality of ingested spans.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first data set is associated with a first analysis modality and the second data set is associated with a second analysis modality that is different than the first analysis modality.

### Claim 4 (depends on 1)

The method of claim 1, wherein each data set corresponds to one of a plurality of analysis modalities.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
generating an alert in response to the identifying the anomalous pattern; and
annotating information associated with the alert on a display screen.

### Claim 6 (depends on 1)

The method of claim 1, wherein the executing comprises:
determining whether a metric associated with the stream of metric data exceeds a thresholdvalue, wherein the metric is one of a request, a latency, or an error count.

### Claim 7 (depends on 1)

The method of claim 1, wherein the executing comprises:
determining whether values associated with the stream of metric data exceeds a dynamic threshold, wherein the dynamic threshold is determined based on a prior behavior of the stream of metric data.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
rendering a graphical user interface (GUI) for a user to configure parameters associatedwith the identified anomalous pattern for generating the alert.

### Claim 9 (depends on 4)

The method of claim 4, wherein the plurality of analysis modalities includes a first analysis modality and a second analysis modality, the first analysis modality being associated with computing metrics associated with services in the microservices-based application for pre-determined time durations using information extracted from indexed tags associated with a plurality of traces, and wherein the second analysis modality is associated with analyzing raw trace data associated with the plurality of traces.

### Claim 10 (depends on 1)

The method of claim 1, wherein executing computations on the stream of metric data comprises determining whether a latency value associated with the stream of metric data exceeds a threshold value, wherein the latency value is compared against a recent baseline set.

### Claim 11 (depends on 1)

The method of claim 1, wherein executing computations on the stream of metric data comprises:
computing an amount of traffic received by an endpoint associated with the stream of metric data; and
responsive to a determination that the amount of traffic is less than a given threshold, suppressing an alert associated with the identified anomalous pattern.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
rendering a dependency graph for display in a GUI with services associated with the anomalous pattern highlighted in the GUI.

### Claim 13

A non-transitory computer-readable medium having computer-readable program code embodied therein for causing a computer system to perform a method of identifying an anomalous pattern from metrics data associated with a microservices-based application that is executing in a distributed computing environment, the method comprising:
aggregating a plurality of ingested spans into a plurality of streams of metric data, wherein the plurality of ingested spans is stored as part of different data sets;
executing, on a stream of metric data, computations to identify the anomalous pattern, the stream of metric data being obtained from a first data set; and
responsive to successfully identifying the anomalous pattern, generating a query directed to a second data set to obtain additional information associated with the anomalous pattern, wherein the second data set is different than the first data set.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein each analysis modality from a plurality of analysis modalities extracts a different level of detail from the plurality of ingested spans.

### Claim 15 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein the first data set is associated with a first analysis modality and the second data set is associated with a second analysis modality that is different than the first analysis modality.

### Claim 16 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein each data set corresponds to one of a plurality of analysis modalities.

### Claim 17 (depends on 13)

The non-transitory computer-readable medium of claim 13, further comprising:
generating an alert in response to the identifying the anomalous pattern; and
annotating information associated with the alert on a display screen.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, further comprising:
rendering a graphical user interface (GUI) for a user to configure parameters associated with the identified anomalous pattern for generating the alert.

### Claim 19

A system for performing a method for identifying anomalous patterns from metrics data associated with a microservices-based application executing in a distributed computing environment, the system comprising:
a processing device communicatively coupled with a memory and configured to:
aggregate a plurality of ingested spans into a plurality of streams of metric data, wherein the plurality of ingested spans is stored as part of different data sets;
execute, on a stream of metric data, computations to identify the anomalous pattern, the stream of metric data being obtained from a first data set; and
responsive to successfully identifying the anomalous pattern, generate a query directed to a second data set to obtain additional information associated with the anomalous pattern, wherein the second data set is different than the first data set.

### Claim 20 (depends on 19)

The system of claim 19, wherein each analysis modality from a plurality of analysis modalities extracts a different level of detail from the plurality of ingested spans, and wherein the first data set is associated with a first analysis modality and the second data set is associated with a second analysis modality that is different than the first analysis modality.
