Using the WebLogic Diagnostic Framework Console Extension

     Previous  Next    Open TOC in new window  Open Index in new window  View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Working with Method Performance Charts and Graphs

Method performance charts and graphs plot method performance information that is based upon the real-time and historical views of method performance that can be captured through the WLDF instrumentation capabilities.

The following sections describe how to work with method performance charts and graphs:

For general information about working with metrics charts and graphs and with method performance charts and graphs, see Working with All Charts and Graphs.

 


Making Instrumentation Data Available for Method Performance Charts

You must configure WLDF instrumentation outside of the WLDF Console Extension to make instrumentation data available for creating method performance charts and graphs. The following criteria must be met:

See Configuring Instrumentation in Configuring and Using the WebLogic Diagnostic Framework for more information about how to accomplish these tasks outside of the WLDF Console Extension.

If instrumentation is not configured and enabled for the selected server, no data will appear in the WLDF Console Extension Requests tab.

 


Selecting a Server

The Requests tab displays instrumented methods available for a single server at a time. To select a different server, select the server from the Server dropdown list. The Server dropdown list displays all the servers in the domain.

 


Creating Method Performance Charts and Graphs

To create and modify charts and graphs based on instrumented methods, you drag methods from the Requests tab to the View panel to create or modify a method performance chart. Each graph shows the elapsed invocation times of the selected method over time.

Figure 8-1 Requests Tree and a Method Performance Chart

Requests Tree and a Method Performance Chart

 


Displaying Requests and Methods in the Requests Tab

The Requests tab shows information about requests that flow through instrumented code. When such requests execute instrumented methods, instrumentation events are generated at the start and end of the methods.

The Requests tab includes a tree of method calls for identified requests. At the top level, the tree shows all identified requests from the specified server within a specified interval, as shown in Figure 8-2.

Figure 8-2 Requests Listed in the Requests Tab

Requests Listed in the Requests Tab

Requests are identified by:

Expanding a request node shows its top level instrumented method, as shown in Figure 8-3. Within the call tree, if a method calls other instrumented methods, they are shown as its children. A method node in the call tree shows the instrumented class and method name.

Figure 8-3 Expanded Request Node in the Requests Tab

Expanded Request Node in the Requests Tab

 


Displaying Details About Requests

To display details about a request listed in the Requests tree, click the string that identifies the request (not the Expanded Request Node in the Requests Tab (Expand) or Expanded Request Node in the Requests Tab (Collapse) buttons). The information is displayed in the panel below the tree, as shown in Figure 8-4.

Figure 8-4 Details About a Request

Details About a Request

The attributes listed in this panel are described in Table 8-1.

Table 8-1 Request Values Displayed in Request Panel
Attribute
Description
Class Name
A Java class containing a method that handled this request.
Method
The method that handled this request.
Count
The number of times this method handled this request.
Total Time (ms)
The total time taken by this method to handle this request, in milliseconds.
Average Time (ms)
The average time taken by this method to handle this request, in milliseconds.
Scope
The scope of the class containing the instrumented code.
Module
The application module containing this class.
Signature
The signature of the method.

 


Displaying Details About Instrumentation Events

To display details about the instrumentation event associated with a method invocation, click the method invocation node. The information is displayed in the panel below the call tree, as shown in Table 8-2.

Figure 8-5 Details About an Event

Details About an Event

The attributes listed in this panel are described in Table 8-2.

Table 8-2 Event Values Displayed in Request Panel
Attribute
Description
Record ID
Unique identifier to identify this record in the log.
Timestamp
Date when this event was generated.
Context ID
Diagnostic context information to correlate messages coming from a specific request or application.
Transaction ID
The identifier for the transaction that initiated this diagnostic event. Present only for messages logged in the context of a transaction.
User
The user ID under which this diagnostic event was executed.
Type
Type of diagnostic action triggered by this diagnostic event.
Domain
Domain in which this event was generated.
Server
The name of the WebLogic Server instance on which this event was generated.
Scope
Server or application scope in which this diagnostic event was generated.
Module
Diagnostic module through which this diagnostic event was generated.
Monitor
Diagnostic monitor that triggered this diagnostic event.
File Name
Name of the Java file containing the instrumented method that generated this diagnostic event.
Line Number
Line in the source file where instrumented code exists.
Class Name
Name of the Java class containing the instrumented method.
Method Name
Name of the instrumented method that generated this diagnostic event.
Method signature
The signature of the method that generated this diagnostic event.
Payload
The payload.
Context Payload
The diagnostic context payload associated with diagnostic event.
Dyes
The diagnostic dyes associated with the method that initiated this event.

 


Displaying Details about Requests and Methods in the Requests Tab

You can display details about the requests and method calls by placing the mouse pointer over items in the tree of requests and methods displayed in the Requests tab:

For more information about displaying these kinds of details, see Displaying Tooltips for Controls, Views, Graphs, and Charts.

 


Selecting a Time Interval for Obtaining Request Data

You can create a graph based on events executed during a specified time interval, as described in the following table:

To specify a predefined interval that ends in the present
From the Interval drop down list, select one of the following:
  • Last 5 minutes to display events data for the previous five minutes
  • Last 15 minutes to display events data for the previous fifteen minutes
  • Last 30 minutes to display events data for the previous 30 minutes
  • Last 1 hour to display events data for the previous hour
To specify a custom interval that ends in the present
  1. From the Interval drop down list, select Last dd hh mm. The Duration (DD HH MM) text entry field appears.
  2. Enter a value for the interval, in the format DD HH MM, where
  3. - DD is the number of previous days

    - HH is the number of previous hours

    - MM is the number of previous hours

To specify a custom interval that may not end in the present:
  1. From the Interval drop down list, select Custom. A set of fields for entering the duration appears.
  2. Click the Start drop down control to display a calendar. Select a start date.
  3. Specify a starting hour and minute by replacing HH MM in the text entry box with the starting hour and minutes.
  4. Enter a duration by replacing DD HH MM in the Duration text entry box with the desired days, hours, and minutes.

 


Displaying Details About Method Performance Charts

You can display details about method performance charts and graphs displayed in the View panel:

For information about displaying these details, see Displaying Tooltips for Controls, Views, Graphs, and Charts.


  Back to Top       Previous  Next