Automated Process Agent Injection System

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The manual injection of in-process agents into operating systems for monitoring is labor-intensive, error-prone, and requires specific adaptations for different process types, making it a monotonous and risky task, especially in environments with multiple identically configured systems.

Innovation Solution

An operating system agent that automatically detects process starts and adapts start conditions to inject a process-type independent core agent, which can then identify and inject specific agents, reducing the need for manual intervention and ensuring agents are initialized before application code execution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual injection of in-process agents is performed for each process type, then monitoring capability is achieved, but labor intensity and error risk increase significantly

Engineering Contradiction:
Improvemonitoring capabilityVSAvoidlabor intensity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system enables self-service automation where the operating system agent automatically detects process starts, identifies process types, and injects appropriate in-process agents without human intervention. This eliminates manual configuration while maintaining comprehensive monitoring capability across diverse process types.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

An operating system agent serves as an intermediary between the monitoring system and target processes. This intermediary automatically manages the complex task of detecting process starts, determining process types, and injecting appropriate agents, thereby reducing labor intensity while preserving monitoring reliability.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If process-specific adaptations are made for different process types, then monitoring precision is improved, but system complexity increases

Engineering Contradiction:
Improvemonitoring precisionVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The solution segments the monitoring system into a generic operating system agent and multiple specialized in-process agents tailored to different process types (Java, .NET, Python, PHP, web servers). This segmentation allows each agent to be optimized for its specific target while the OS agent provides unified management, maintaining precision without overwhelming complexity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically changes parameters such as environment variables, command line arguments, and registry entries based on the detected process type. This parameter adaptation enables precise monitoring for each process type while the underlying injection mechanism remains consistent, balancing precision with manageable complexity.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If manual configuration of start conditions is performed, then injection accuracy is achieved, but time consumption increases

Engineering Contradiction:
Improveinjection accuracyVSAvoidtime consumption
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The operating system agent performs preliminary actions by detecting process starts and automatically configuring the necessary start conditions (environment variables, command line parameters, registry entries) before the target process executes. This preliminary configuration ensures accurate agent injection without requiring manual intervention during the critical startup phase, reducing time consumption while maintaining injection accuracy.

Inventive Principle:
Principle #10Preliminary action

4Measurement precision

If in-process agents are injected manually, then monitoring data quality is improved, but risk of errors increases

Engineering Contradiction:
Improvemonitoring data qualityVSAvoiderror risk
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The automated operating system agent eliminates human error by self-service configuration of process start conditions. It systematically determines the correct environment variables, command line arguments, and registry entries for each process type, ensuring consistent and error-free agent injection that maintains high monitoring data quality across all deployed systems.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10579491B2Method and system for automated injection of process type specific in process agents on process startup
Publication Date: 2020.03.03 DYNATRACE LLC
  • US10579491B2 patent drawing
  • US10579491B2 patent drawing
  • US10579491B2 patent drawing

AI summary

A system and method is disclosed that installs an agent on a computer system that is configured to be automatically started at startup of the computer system and that is also configured to detect the startup of processes on the computer system. The agent determines the capabilities to monitor process starts that available on the computer systems and installs an appropriate process start monitoring procedure. The installed process start monitoring procedure detects the start of a process, installs a core agent into the execution context of the started process and manipulates the start sequence of the started process to initialize and start the core agent. On startup, the core agent analyzes the execution context of the started process to identify the type of application executed by the started process, and injects a special agent matching the identified type into the started process to perform application level monitoring.