Help Center/ Application Performance Management/ FAQs(2.0)/ JavaAgent Connection FAQs/ Why Are My Services Affected After Connecting to the Agent During AOP Code Execution?
Updated on 2026-07-29 GMT+08:00

Why Are My Services Affected After Connecting to the Agent During AOP Code Execution?

Cause: APM intercepts the runnable implementation class and adds two methods. However, no method name is checked during aspect oriented programming (AOP) interception. As a result, the two methods added by APM are intercepted.

Solution: You need to determine the name of the method to be intercepted and intercept only the run method of the runnable implementation class.