Create Container Transport Servlet Exclude Rules

CometD is implemented as a servlet. Since the servlet implements transport activity, you should create exclude rules for the servlets that perform the CometD transport function. This ensures that the results of business transaction discovery do not obscure the POJO-based BTs corresponding to CometD channels.

CometD is generally contained within a Jetty container, so the rules should exclude the Jetty container tracking in most cases. For Jetty, you should configure exclude rules for these Jetty servlets:

  • EQUALS, org.eclipse.jetty.server.handler.ContextHandler
  • EQUALS, org.eclipse.jetty.servlet.ServletContextHandler
  • ENDSWITH, jetty.plugin.JettyWebAppContext

If using another type of container, you should create similar exclude rules for the equivalent supporting classes.