Adding tracing requests across servers

You can create tracing across servers to ensure that your generated reports include the data that you require for analysis.

About this task

By tracing requests across servers, you can generate reports that contain inputs from multiple servers. To generate these reports, specify the log files for the client and server side of the operation to the report generator.

Procedure

  1. On the server side, create a servlet filter to read this HTTP header and set the parent operation ID by using the following statement:
    OperationMetric.setThreadParentOperationIdentifier(parentID);
  2. On the client side, use the servlet filter to append the current operation ID as an HTTP header to propagate the ID of the parent operations. You can execute the following code to read the current operation identifier:
    final Long parentID = OperationMetric
    .getThreadParentOperationIdentifier();
  3. Include the performance logs for both the client and server in the report generation to ensure that the report can correlate the performance of an operation across servers.