Dynamic dotting method and apparatus
By acquiring and verifying the description information of the configuration class file, dynamically intercepting and calling the interface at the specified method location to report the data, and using bytecode enhancement technology to replace the class file, the problem of not being able to dynamically add data points in distributed tracing is solved, improving the efficiency and accuracy of data point addition and enhancing code stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING DAXING TECH CO LTD
- Filing Date
- 2020-08-02
- Publication Date
- 2026-07-24
AI Technical Summary
In existing technologies, distributed tracing cannot dynamically add tracking points, resulting in low tracking efficiency, excessive code redundancy, and poor code stability.
By obtaining the description information of the configuration class file, verifying the method parameters and names, intercepting the configuration method, and calling the interface to report the data at the beginning or end of the configuration method, the configuration class file is dynamically replaced using bytecode enhancement technology to achieve dynamic data logging in the program.
It enables dynamic addition of data points during program execution, improving data point efficiency and accuracy, reducing data point workload, and enhancing code stability.
Smart Images

Figure CN114064425B_ABST