Question & Answer
Question
How does one filter out classes not needed for monitoring in ITCAM?
Answer
Let's say you want to filter out certain classes that you don't need to see in your Method Traces. For example, let's say you want to filter out the org.hibernate.* class and/or the org.jpbm.* class. This is how you do it:
1) Create a file named exclude.xml in the $DC_HOME/../runtime/<server>/custom directory. The contents of the file should be in the following format:
<gpe>
<bci>
<classExcludes>
<exclude>org.jpbm.*</exclude>
<exclude>org.hibernate.*</exclude>
</classExcludes>
</bci>
</gpe>
2) Edit the $DC_HOME/runtime/../<server>/custom/toolkit_custom.properties file.
Add the following at the end:
am.camtoolkit.gpe.customxml.exclude=exclude.xml
3) Stop and start the DC AppServer. Your org.hibernate.* and org.jpbm.* are now excluded from monitoring. (Note: The org.hibernate.* and org.jpbm.* shown here are just examples, you'll use your own instead.)
Product Synonym
ITCAMfAD ITCAM4AD ITCAM for App Diagnostics
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21962583