Dynamic Distributed Tracing With Selective Synthetic Spans

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed tracing in microservice architectures generates large amounts of tracing data, consuming system bandwidth and increasing latency, leading to inefficient debugging of underperformance issues due to manual code instrumentation being labor-intensive and often too late to address the problem.

Innovation Solution

Implement dynamic distributed tracing instrumentation with span generation components that monitor method calls and internal processes, identifying underperformance by comparing execution times to thresholds, and inserting synthetic spans to pinpoint the cause of performance issues.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If distributed tracing instrumentation is implemented to monitor all method calls and internal processes, then measurement precision of performance data is improved, but system bandwidth consumption increases and latency increases

Engineering Contradiction:
Improveperformance data precisionVSAvoidbandwidth consumption
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The system performs preliminary actions by pre-defining performance thresholds and instrumentation policies before issues occur. When performance degradation is detected, the system has pre-configured synthetic span insertion mechanisms ready to execute immediately, enabling rapid response without full-blown tracing of all operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts only the necessary tracing information by inserting synthetic spans at specific critical points rather than instrumenting all method calls. This selective extraction approach obtains sufficient performance data to identify bottlenecks while minimizing the volume of data transmitted and processed.

Inventive Principle:
Principle #2Taking out (Extraction)

2Measurement precision

If distributed tracing instrumentation is implemented to monitor all method calls and internal processes, then measurement precision of performance data is improved, but system latency increases

Engineering Contradiction:
Improveperformance data precisionVSAvoidsystem latency
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The system performs preliminary actions by pre-defining performance thresholds and instrumentation policies before issues occur. When performance degradation is detected, the system has pre-configured synthetic span insertion mechanisms ready to execute immediately, enabling rapid response without full-blown tracing of all operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts only the necessary tracing information by inserting synthetic spans at specific critical points rather than instrumenting all method calls. This selective extraction approach obtains sufficient performance data to identify bottlenecks while minimizing the volume of data transmitted and processed.

Inventive Principle:
Principle #2Taking out (Extraction)

3Device complexity

If manual code instrumentation is used to identify underperformance causes, then device complexity is reduced, but productivity decreases due to labor-intensive and late debugging

Engineering Contradiction:
Improveinstrumentation complexityVSAvoiddebugging speed
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The system implements self-service by automatically detecting performance degradation through monitored metrics and autonomously inserting synthetic spans to identify root causes. This eliminates the need for manual instrumentation while maintaining high debugging productivity through automated analysis and root cause identification.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system continuously monitors performance metrics and provides feedback when thresholds are violated. This triggers automated synthetic span insertion and analysis, creating a closed-loop system that self-diagnoses performance issues without manual intervention and accelerates the debugging process.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12455802B2Dynamic distributed tracing instrumentation in a microservice architecture
Publication Date: 2025.10.28 RED HAT LLC
  • US12455802B2 patent drawing
  • US12455802B2 patent drawing
  • US12455802B2 patent drawing

AI summary

A method call of a service to be analyzed is identified. A synthetic span is inserted to acquire timing information associated with a first set of source code of the method call. The timing information associated with the first set of source code acquired by the synthetic span is received.