Skip to end of banner
Go to start of banner

Apache Tomcat Http Tracing Instrumentation

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Instrumentation of Apachte Tomcat.

Based on various tests with InspectIT and Documantation the best instrumantation point for Apache Tomcat, or other products that use the Cayote Connector, was determined:

Its the function org.apache.coyote.http11.prepareRequest() which is responsible to convert a recived request to such a format, that it can be futher procesed by Tomcat's internal engine.

You need only to instrument this function so, that the following the header is access and removed at the end of the method:

        if (null != headers.getValue("InspectITID")) {
            headers.getValue("InspectITID"); // To access the ID
            headers.removeHeader("InspectITID"); // To remove the header
        }
 

 


 

 

  • No labels