Method Tracing
Method tracing is used to dynamically trace a method of a class. When the method of this class is called, Application Performance Management (APM) collects the call data of the method based on configured method tracing rules using probes, and displays the call data on the Call Chain page. Method tracing is used to help application developers locate method-level performance problems online.
APM traces the APIs of most third-party open-source components, but does not trace specific methods in your applications. To monitor important methods in applications or methods of some third-party open-source components that are not supported by APM, you need to customize method tracing. After the configuration is complete, you can view the call data of the method on the Call Chain page.
- Customize a method tracing rule and start method tracing.
On the Method Tracing page, click Add Method Tracing Rule, set the parameters as shown in the following figure, and click OK.
- If Method Parameter is not set, the methods of the same method name are used for collection by default.
- If Value is not set, the values of the method are not filtered during collection.
- If Collect Method Stack Info is enabled, the method stack information is collected.
- Preliminarily locate service performance problems based on the call duration and status.
- Click View Call Relationship in the Operation column to view the method-level call relationships.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot