IBM Support

How does one filter out classes not needed for monitoring in ITCAM?

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":{"code":"SSDTFJ","label":"Tivoli Composite Application Manager for Application Diagnostics"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"ITCAM for APPLICATION DIAGNOSTICS Agent for WebSphere","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1;7.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

ITCAMfAD ITCAM4AD ITCAM for App Diagnostics

Document Information

Modified date:
17 June 2018

UID

swg21962583