Automatic Exporter Configuration Rule Generation for JVM Applications

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems monitoring and alerting applications require manual configuration of exporter settings, which is time-consuming and prone to errors, especially for JVM-based applications like Kafka and Cassandra, where users lack understanding of the application logic.

Innovation Solution

A build-time, automatic exporter configuration rule generator that analyzes the source code of JVM-based applications to identify MBean classes, using templates and heuristics to generate application-specific configuration rules, thereby eliminating the need for manual configuration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If manual configuration of exporter settings is performed, then flexibility and customization are improved, but time consumption and error probability increase

Engineering Contradiction:
Improveconfiguration flexibilityVSAvoidconfiguration time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system enables self-service by automatically generating exporter configuration rules through source code analysis. The build automation module scans application source code, identifies MBean classes, and generates configuration rules without requiring manual user input, thus eliminating time-consuming manual configuration while maintaining adaptability through application-specific rule generation

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The invention performs preliminary action by generating exporter configuration rules at build time rather than at runtime. The build automation module analyzes source code and generates configuration rules before the application is deployed, so that when the application runs, the exporter is already properly configured without requiring manual intervention

Inventive Principle:
Principle #10Preliminary action

2Ease of operation

If manual configuration of exporter settings is performed, then user control is improved, but accuracy and reliability deteriorate due to user lack of understanding

Engineering Contradiction:
Improveuser controlVSAvoidconfiguration accuracy
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system performs self-service by automatically analyzing application source code to generate accurate exporter configuration rules. The build automation module directly extracts MBean class information from the code, ensuring that the generated configurations accurately reflect the actual application structure without being subject to user misunderstanding or error

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The invention replaces the mechanical process of manual configuration with an automated computational process. Instead of users manually configuring exporters based on their understanding (which may be incorrect), the system uses the actual application source code as the authoritative source to generate configurations, substituting human judgment with code-based analysis

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Productivity

If automatic configuration rule generation is implemented, then productivity and efficiency are improved, but system complexity increases

Engineering Contradiction:
Improveconfiguration efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system applies segmentation by dividing the configuration generation process into distinct modular components: source code scanning, MBean class identification, template matching, and rule generation. This modular architecture manages complexity by organizing the automated process into separate, manageable stages that can be independently implemented and maintained

Inventive Principle:
Principle #1Segmentation

4Measurement precision

If application-specific configuration rules are generated through source code analysis, then measurement precision and metric accuracy are improved, but manufacturing complexity and processing time increase

Engineering Contradiction:
Improvemetric accuracyVSAvoidconfiguration generation complexity
Core Design Contradiction:
Measurement precisionVSEase of manufacture

Solution Approach 1:

The invention replaces manual configuration mechanics with automated code analysis. The build automation module uses computational methods to scan source code, identify MBean classes, and generate configuration rules, substituting the complex manual process of understanding application logic with systematic programmatic analysis that improves precision while managing complexity through automation

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20240086191A1Automatic generation of exporter configuration rules
Publication Date: 2024.03.14 RED HAT INC
  • US20240086191A1 patent drawing
  • US20240086191A1 patent drawing
  • US20240086191A1 patent drawing

AI summary

Systems and methods for detecting an interaction with an application displayed on a user interface to perform a metric exporting function of the application by using an exporter configuration that is inaccessible to a user. The system and method also includes exporting by a processing device executing an exporter, metrics generated by each of the one or more classes of the application to a monitoring program, wherein the exporter uses the exporter configuration to export the metrics generated by each of the one or more classes.