Technical Blog Post
Abstract
How to exclude classes from being monitored using the excludes.xml file.
Body
There may be times when you will need to exclude certain classes for instrumentation from your Request. For example, you may need to be certain that your Request doesn't get re-formatted when sent to another server, say an authentication server for processing. Here's how you can go about doing this.
1) Your first step is to do preweaving and postweaving, and then look at the preweave and postweave directories, and output logs. This way, you can see the exact classes being used.
2) Next you will need to edit the configuration file {DC_home}/runtime/{app_server_
am.camtoolkit.gpe.customxml.ex
3) Create or modify the file excludes.xml in the same custom directory ({DC_home}/runtime/{a
<gpe>
<bci>
<classExcludes>
<exclude>psdi.*</exclude>
<exclude>org.slf4j.*</exclud
<exclude>net.oauth.*</exclud
<exclude>com.ibm.ws.bootstra
<exclude>com.ibm.ws.clas
<exclude>com.ibm.ws.nami
<exclude>com.ibm.ws.pers
<exclude>com.ibm.ws.rsad
<exclude>com.ibm.ws.sib.
<exclude>com.ibm.ws.tcp.
<exclude>com.ibm.ws.wim.*</
</classExcludes>
</bci>
</gpe>
4) .Restart your configured JVM/server. Then check the excluded classes results from the logs and verify they're being excluded.
Good luck.
Noel Lewis
ITCAM / APM / ICAM L2 Support team
Subscribe and follow us for all the latest information directly on your social feeds:
|
|
|
Check out all our other posts and updates: | |
Academy Blogs: | https://goo.gl/U7cYYY |
Academy Videos: | https://goo.gl/FE7F59 |
Academy Google+: | https://goo.gl/Kj2mvZ |
Academy Twitter : | https://goo.gl/GsVecH |
UID
ibm11082565