On the Modify JavaMethod Monitoring Configuration page, set method interception parameters.
- Collection Interval: The default value is 60s and cannot be changed.
- Method Interception Configuration: is used to collect specified service methods. The method data is displayed on the JavaMethod metric page and in traces.
- Intercepted Class: name of the fully-qualified class to be collected. Both the package name and class name need to be specified.
- Intercepted Method: name of the method to be collected. If multiple methods exist, separate them by commas (,), for example, testMethod1,testMethod2.
Figure 1 Configuring the JavaMethod monitoring item