Runtime Agent Instrumentation for Multi-Loader Telemetry Interception

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current instrumentation techniques for OpenTelemetry have not kept up with the complexities of instrumenting applications, making it difficult to piece together monitoring and logging data across disparate systems, tools, and layers in a network architecture, and to directly connect the chain of events and cause and effect.

Innovation Solution

An advanced agent instrumentation method that intercepts runtime calls to discover loaders, allocates implementation tenants, and performs interception operations using direct telemetry class and method calls, while ensuring compatibility with Java 9+ and supporting multiple tenants through a core agent that provides isolation and automatic class loading.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If current instrumentation techniques are used for OpenTelemetry, then implementation is simpler, but the ability to piece together monitoring and logging data across disparate systems deteriorates

Engineering Contradiction:
Improveability to piece together monitoring and logging dataVSAvoidinstrumentation complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a class loader intermediary that acts as a mediator between the instrumentation agent and OpenTelemetry implementations. This class loader discovers and loads the correct implementation classes dynamically, enabling the agent to instrument multiple disparate OpenTelemetry implementations without hardcoding specific class names, thus resolving the contradiction between reliability and complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements dynamic class loading where the instrumentation agent discovers OpenTelemetry implementations at runtime rather than at compile time. The class loader dynamically determines which implementation classes to load based on the runtime environment, allowing the system to adapt to different OpenTelemetry versions and implementations, thereby improving reliability without increasing static complexity

Inventive Principle:
Principle #15Dynamics

2Reliability

If instrumentation is extended to support more complex scenarios, then monitoring capability improves, but difficulty of implementing correct class loading increases

Engineering Contradiction:
Improvemonitoring capabilityVSAvoidclass loading difficulty
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The class loader implements self-service by automatically discovering and loading the correct OpenTelemetry implementation classes without requiring manual configuration or intervention. The agent queries the runtime environment to find available implementations and loads them autonomously, improving monitoring capability while reducing the difficulty of class loading

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent incorporates feedback mechanisms where the class loader continuously queries the runtime environment to discover available OpenTelemetry implementations. This feedback loop allows the system to adapt to changes in the runtime environment and ensure the correct classes are loaded, enhancing monitoring capability without increasing implementation difficulty

Inventive Principle:
Principle #23Feedback

3Adaptability or versatility

If multiple OpenTelemetry implementations are supported, then versatility improves, but ensuring correct class loading becomes more difficult

Engineering Contradiction:
Improvesupport for multiple implementationsVSAvoidclass loading management
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent creates a universal class loading mechanism that can handle multiple different OpenTelemetry implementations through a single unified interface. The class loader is designed to work with any OpenTelemetry implementation that follows the standard interface, providing versatility while managing complexity through standardization

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent segments the class loading process into distinct phases: discovery, selection, and loading. The class loader first discovers available implementations, then selects the appropriate one based on runtime conditions, and finally loads the selected implementation. This segmentation makes the process of supporting multiple implementations more manageable and less complex

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20260079723A1Advanced agent instrumentation for implementation runtimes
Publication Date: 2026.03.19 CISCO TECHNOLOGY INC
  • US20260079723A1 patent drawing
  • US20260079723A1 patent drawing
  • US20260079723A1 patent drawing

AI summary

In one embodiment, a method herein comprises: intercepting runtime calls from an invocation for method entry to discover loaders; determining whether an implementation runtime is already allocated for a particular discovered loader; allocating, in response to no implementation runtime being already allocated for the particular discovered loader, a particular implementation runtime from a plurality of available implementation runtimes, wherein a corresponding loader for the particular implementation runtime is set to delegate from the particular discovered loader; and calling, in response to the particular implementation runtime being allocated for the particular discovered loader to a proxy class loader, a method entry for the particular implementation runtime to perform an associated interception operation while using direct class and/or method calls.