Request metrics performance data


 

+

Search Tips   |   Advanced Search

 

By default, the trace records for request metrics data are output to...

In the WAS log file the trace record format...

PMRM0003I:
parent:ver=n,ip=n.n.n.n,time=nnnnnnnnnn,pid=nnnn,reqid=nnnnnn,event=nnnn
current:ver=n,ip=n.n.n.n,time=nnnnnnnnnn,pid=nnnn,reqid=nnnnnn,event=nnnn type=TTT
detail=some_detail_information elapsed=nnnn

In the Web server plug-in log file the trace record format is:

PLUGIN:
parent:ver=n,ip=n.n.n.n,time=nnnnnnnnnn,pid=nnnn,reqid=nnnnnn,event=nnnn
current:ver=n,ip=n.n.n.n,time=nnnnnnnnnn,pid=nnnn,reqid=nnnnnn,event=nnnn type=TTT
detail=some_detail_information elapsed=nnnn bytesIn=nnnn bytesOut=nnnn

The trace record format is composed of two correlators:

parent correlator upstream request
current correlator current operation

If the parent and current correlators are the same, then the record represents an operation that occurs as it enters WAS.

To correlate trace records for a particular request, collect records with a message ID of PMRM0003I from the appropriate appserver log files and the PLUGIN trace record from the Web server plug-in log file. Records are correlated by matching current correlators to parent correlators. We can create the logical tree by connecting the current correlators of parent trace records to the parent correlators of child records. This tree shows the progression of the request across the server cluster.

The parent correlator is denoted by the comma separating fields following the keyword, parent:. Likewise, the current correlator is denoted by the comma separating fields following, current:.

The fields of both parent and current correlators are:

ver Version of the correlator. For convenience, it is duplicated in both the parent and current correlators.
ip IP address of the node of the appserver that generated the correlator. If the system has multiple IP addresses, request metrics uses one of the IP addresses to identify the system.
pid Process ID of the appserver that generated the correlator.
time Start time of the appserver process that generated the correlator.
reqid ID assigned to the request by request metrics, unique to the appserver process.
event Event ID assigned to differentiate the actual trace events.

Following the parent and current correlators, the metrics data for timed operation are:

type Code that is represents the type of operation being timed. Supported types include...

detail Name of the operation being timed
elapsed Measured elapsed time in <units> for this operation, which includes all sub-operations called by this operation. The unit of elapsed time is milliseconds.
bytesIn Number of bytes from the request that is received by the Web server plug-in.
bytesOut Number of bytes from the reply that is sent from the Web server plug-in to the client.

The type and detail fields that are described include:

HTTP Web server plug-in generates the trace record. The detail is the name of the URI used to invoke the request.
URI Trace record is generated by a Web component. The URI is the name of the URI used to invoke the request.
EJB Fully qualified package and the method name of the enterprise bean.
JDBC Interface name and method name for that JDBC call.
JMS JMS includes the particulars of various JMS parameters
Asynchronous beans The detail specifies the name of the asynchronous beans. Asynchronous beans include two types:

  • COMMONJ_WORK_POOLED
  • COMMONJ_TIMER
Web services Web services include the particulars of various Web services parameters. Web services include two types:

SIB Used for instrumentation in service integration bus including message send/receive and mediation.
JCA J2EE Connector Architecture. The detail specifies the class name in which the JCA call is made.
JNDI Used for JNDI naming look up. The detail specifies the JNDI name.
JMS send and receive Generates the trace record by JMS sending and receiving messages.
SIB send and receive Generates the trace record by SIB sending and receiving messages.





 

Related tasks

Enable and disable logging