In our application we need to monitor methods having the same name, same package name but different class names . For example the following two class/ method names -
I know in introscope you can monitor with com.pack.abc(.*) . Is there any way I can monitor such cases with the same information point in AppDynamics. Is there some wildcard I could use for monitoring these methods or is there any other option for the same?
Thanks.
To configure same method from multiple classes, you can try following option.
----------------------------------------------------------------------------------------
Match Classes* --> with class name that
Select next option as
is in the list ---> com.pack.abc.Class1,com.pack.abc.Class2
Next option
Method Name* --> Equals
values Search
------------------------------------------------
I was trying to configure the classes with information points. In Information points, if I choose
Match Classes --> with a class name that, I only see the equals option there is no option in the list.
Are you suggesting to configure with something else other than information points?
Thanks.
I provided information for POJO or .net class instrumentation.
But you can use the same approach for information point, in class name give all the classes with comma separated.
Thank you for the input. But in this approach I need to know the complete package/class name. However I know only the package name and not the class name. I need to monitor every class in any particular package. Is there anyway I could replace the class name with a wildcard rather than a comma seperated list?
Thanks.