DevPortal

How do I collect Timing Diagnostics Data?


Table of Contents


How do I collect Timing Diagnostics Data?

Timing diagnostic data is collected mainly during the deployment phase and occasionally during production environment phase. The data collected during Server runtime can be used to trace the cause of the problem. All diagnostic details collection are switched on and off simultaneously.

In the Explore panel, select Analyze > Server Diagnostics. The Server Diagnostic page is displayed. You can browse for a specific report and include it in the report list using the Load button.

What does the Diagnostics Toolbar look like?

The toolbar in Diagnostics home page displays the following options:

Click Start. A link to View current data is displayed. Click this link to view diagnostic details in Server.

The following timing diagnostics details are available on the home page:

How do I collect Timing Diagnostics for Transaction?

A J2EE-based application server supports infrastructural services such as transactions. This is used by deployed application components for activities detached from business logic. Transaction service on the Server is based on Java Transaction API (JTA) 1.0.1 specification.

To ensure optimal performance and availability of applications, it is necessary to obtain diagnostic data on transaction response times. To obtain timing diagnostics data for transactions occurring at Server run time:

  1. Select Transactions from the diagnostics home page or the Explore panel. It displays the following details for the selected MBean:

    Table 1: Transaction Diagnostics page

    NameDescription
    Total Transaction Commit (ms)Overall time taken to commit all the transactions.
    Total Transactions Rollback (ms)Overall time taken for transactions to rollback.
  2. Click the MBean to view the diagnostics summary by task. For each task, the data on total number of hits, average time taken, and the cumulative time taken to serve the requests is collected and displayed. This diagnostic data is used to construct a histogram to simplify interpretation.
  3. Click any task to view the method name, package, module type, number of hits, average time taken to finish a transaction, cumulative time taken to complete a particular transaction, and a histogram based on the data available for the selected task.

How do I collect Timing Diagnostics for Datasources?

Server diagnostics provide information on datasource availability, historic information on capacity of database resources, sends alerts, and enables you to drill down to the problem. This simplifies the process of resolving performance issues.
  1. Select Datasources from the home page or from the Explore panel to view the datasource diagnostics. It gives the following details:

    Table 2: Datasource Diagnostics

    FieldDescription
    DatasourcesList of the datasource names accessed to run a particular application.
    Total Wait Time to Obtain Conn (ms)The time required to connect to the datasource.
  2. Select the required datasource. The name and type of datasource and various datasource task details, such as the methods accessed, hits, average time taken to complete a particular task, and the cumulative time taken to serve the total number of requests is displayed.
    Note: In addition to these tasks, various prepared statements for the current data source are also listed.

  3. Click any task to view the method name, package, module type, number of hits, average time taken to finish a transaction, cumulative time taken to complete a particular transaction, and a histogram based on the data available for the selected task.

How do I collect Timing Diagnostics for Applications?

It is important to monitor applications to detect performance degradation issues and solve them. Server enables the administrator to monitor a complex and distributed application environment. This creates a highly efficient and well managed system.
  1. Select Applications from the home page or from the Explore panel. All applications that are deployed on the Server are listed.
  2. Select an application to view the application modules.
  3. Select a war or jar module:
  4. Select the required component to view details such as application name, module name, name of the component, and type of the component.
    Note: For a war module, the component is of servlet type. For a jar module the component is of bean type. In addition to the standard tasks, application specific business methods are also listed.
  5. Select a task to view the number of hits, the average and cumulative time taken to complete the task, along with a histogram based on the available data.

Related Topics:

© Pramati Technologies 2007 Runs on Pramati Server | Feedback | Legal