Skip navigation.
Downloads | Product Documentation | Support

Using the WebLogic Diagnostic Framework Console Extension

# Creating and Modifying Charts and Graphs

The WLDF Console Extension supports two types of charts and graphs:

- Metrics charts contain one or more graphs that display real-time and harvested MBean metric information.
- Method Performance charts contain one or more graphs displaying elapsed time information for a given instrumented method.

Many of the tasks you perform when working with charts are the same for both types. Some tasks are different for the different types. The following sections describe how to work with charts:

- Working with Both Types of Charts and Graphs
- Working with Metrics Charts and Graphs
- Working with Method Performance Charts and Graphs
- Setting Global Polling and View Scrolling Properties

# Working with Both Types of Charts and Graphs

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

- The Parts of a Chart
- Adding Charts to Views
- Adding Graphs to Existing Charts
- Repositioning a Chart
- Merging Charts
- Moving a Graph to a Different Chart or to a New Chart
- Starting and Stopping Data Collection for Charts in a View
- Scrolling and Zooming the Data Displayed in a Chart
- Deleting a Graph from a Chart
- Deleting a Chart
- Setting Chart Properties
- Changing a Chart's Name
- Changing a Graph's Scaling Factor
- Changing a Graph's Colors

## The Parts of a Chart

A chart consists of the following:

- One or more graphs that show data points over a specified time span
- X- and Y-axes for plotting diagnostic data

- Plots against a time-based X-axis.
- Provides a scaled Y-axis, (adjusted based upon the plotted data series.)

- A legend that identifies the scope of each of the graphs in the chart:

- The legend for a Metrics chart uses the scope of the form `attributeName@serverName`
- The legend for a Method Performance chart uses the scope of the form `methodName@serverName`

The legend can be hidden or displayed.

- A scrollbar with zoom controls for changing the time span displayed on the chart's X-axis. The scrollbar can be hidden or displayed.
- Optional Y-axis label

These parts are shown in Figure 6-1.

Figure 6-1 Parts of a Chart

Several graph styles are available for presenting data: area, area radar, bar, plot, scatter plot, stacking area, and stacking bar. For instructions on how to set those styles, see Setting a Chart's Graphing Style.

## Adding Charts to Views

You create and add charts to views by dragging items from the Metrics tab or the Requests tab, as described in the following steps.

1. Click the Views tab and select the view to which you want to add a chart (or create a new view). Figure 6-2 shows an empty view.

Figure 6-2 Empty View

1. Click the Metrics tab to create a chart based on metrics, or click the Requests tab to create a chart based on events generated by instrumented methods.
2. Drag a valid item from the tree to the view. The cursor changes shape, and the background darkens when you drag it into an area where you can insert a chart, as shown in Figure 6-3. For information about what items can be dragged from the Metrics tab, see Working with Metrics Charts and Graphs. For information about what items can be dragged from the Requests tab, see Working with Metrics Charts and Graphs.

Figure 6-3 Dragging a Metric to Create a New Chart in an Empty View

When you release the mouse button, a chart is created, containing a graph based on the item you dragged from the tree in the left panel, as shown in Figure 6-4.

Figure 6-4 A Chart in a View

Note: An alternative to dragging an item into a chart is as follows:

- Right-click the item in left panel (the Metrics tab or the Request tab). The Add to Chart menu is displayed.
- Select Create New Chart to create a new chart containing a graph based on the selected item, or select the name of an existing chart to add a graph to that chart.

You can also create an empty chart, as follows:

- Right-click anywhere in a view.
- Select New Chart. Then add one or more graphs to the chart, as explained in Adding Graphs to Existing Charts.

1. To add an additional chart to the view, drag another item from the tree to a position above, below, or to the side of an existing chart. Figure 6-5 shows an item dragged to the right of a chart.

Figure 6-5 Dragging a Metric Into an Existing View to Create a Second Chart

The new chart appears where it was dropped, as shown in Figure 6-6. All charts in the view are resized to fit together.

Figure 6-6 Two Charts in a View

## Adding Graphs to Existing Charts

To graph data from more than one data source on the same chart (that is to add a graph to an existing chart), drag the appropriate item from the Metrics tab or the Requests tab to the existing graph in the View panel, as described in the following steps:

1. Click the Views tab to display the list of views.
2. Click the view containing the chart to which you want to add another graph (data source). Figure 6-7 shows a chart with one graph.

Figure 6-7 Chart with One Graph

3. Click the Metrics tab to add a graph based on metrics, or click the Requests tab to add a graph based on instrumentation events.

Note: All graphs in a chart must be based on the same type of diagnostic data. That is, you cannot add metrics data to a Method Performance chart or instrumentation data to a Metrics chart.

4. Drag a valid item from the tree to the view, as shown in Figure 6-3. For information about what items can be dragged from the Metrics tab, see Working with Metrics Charts and Graphs. For information about what items can be dragged from the Requests tab, see Working with Method Performance Charts and Graphs.

Figure 6-8 Dragging a New Diagnostic Data Source to an Existing Chart

The new graph is added to the chart, as shown in Figure 6-9.

Figure 6-9 Resulting Graph with Two Charts

Note: An alternative to dragging an item into a chart is as follows:

- Right-click the item in left panel (the Metrics tab or the Request tab). The Add to Chart menu is displayed.
- Select Create New Chart to create a new chart containing a graph based on the selected item, or select the name of an existing chart to add a graph based on the item to that chart.

## Repositioning a Chart

To reposition a chart in a view:

1. Click the Views tab and select the view containing the chart you want to reposition.
2. Drag the chart to the new position in the view. That is, click the chart and hold the moue button down while you drag. You position the chart above, below, to the left, or to the right of an existing chart. When the chart is in an acceptable position, a band of the background is darkened. This behavior is the same as when creating a new chart, as illustrated in Figure 6-5.
3. Release the mouse button.

Alternatively, right-click the chart, select Move Chart, and then select a new position from the menu.

## Merging Charts

To merge one chart with another:

1. Click the Views tab and select the view containing the charts you want to merge. All charts to be merged must be in the same view.
2. Drag the source chart onto the target chart. That is, click the chart and hold the mouse button down while you drag. When the source chart is positioned correctly over the target chart, the background of the target chart is darkened.
3. Release the mouse button.

All the graphs and associated legend entries of the source chart are added to the graphs and the legend of the target chart. Properties of the target chart--such as the title, colors, and the Y-axis label--are maintained, and any conflicting properties from the source chart are lost. Once successfully merged, the source chart is deleted.

Alternatively, right-click the chart, select Merge Chart, and then select the name of a chart with which to merge the current chart.

## Moving a Graph to a Different Chart or to a New Chart

You can move a graph to a different chart only if the target chart does not already contain a graph based on the same data source.

To move a graph from one chart to another:

1. Click the Views tab and select the view containing the graph you want to move. The source chart and the target chart must be in the same view.
2. Shift-click the graph (or its legend entry) to select it. Release the Shift key and the mouse button, and do not click or select anything else until you perform the instructions in the following step.
3. Drag the graph from the source chart to the target chart or to an empty area in the view. That is, click the already selected graph and hold the mouse button down while you drag. When the graph is positioned correctly over the target chart (or over the empty area), the background of the target chart (or the empty area) is darkened.
4. Release the mouse button. The graph and its legend are added to the target chart and removed from the source chart. If you dragged to an empty area, a new chart containing the graph is created.

Alternatively, click the chart to select it, and right-click to display the menu. Select Move Graph, which displays a list of all the graphs in the chart. Select the name of the graph you want to move. A list of all the charts in the view is displayed. Select the chart to which you want to move the graph, or select Create New Chart to create a new chart containing the selected graph.

## Starting and Stopping Data Collection for Charts in a View

To start data collection for the charts in a view:

1. Click the Views tab to select it.
2. Click the name of the view you want to start. Alternatively, right-click the name of the view and select Start. The view is displayed in the View panel, and data collection begins.

To stop data collection for the charts in a view:

1. Click the Views tab to select it.
2. Right-click the name of the view you want to stop and select Stop.

To stop all data collection for all views, click the (Stop All Active Views) button in the toolbar. (It isn't necessary to first select the Views tab.)

## Scrolling and Zooming the Data Displayed in a Chart

You can display or hide the scrollbar for a chart, as explained in Turning a Chart's Scrollbar On and Off. The scrollbar includes controls for scrolling through data in the chart and for zooming in and out of the data in a chart.

The scrollbar and zoom controls are displayed below the chart, as shown in Figure 6-10.

Figure 6-10 Scrollbar for a Chart

The scrollbar contains controls for scrolling through historical data and for zooming in and out of a set of data to change the time span displayed in the chart. The controls are shown in Table 6-1.

Table 6-1 Controls in the Scrollbar

Control | Name | Use
--- | --- | ---
| Thumb | Drag to scroll through historical data
| Left scroll arrow | Click to scroll backwards through historical data
| Right scroll arrow | Click to scroll forwards through historical data
| Zoom in | Click to zoom into a data series, that is, to show an expanded view of the details in a shorter time span; Zooming in is useful when there are many data points crowded together in a short time span
| Zoom out | Click to zoom out of a series of data, that is, to show data for a longer time span

To hide the scrollbar for a chart:

1. Right-click anywhere in the chart.
2. Select Hide Scroll/Zoom Panel from the menu.

### Scrolling Through Historical Data in a Chart

Under certain circumstances, described below, you can scroll back and forth through a chart's history, to see both historical and current data for the chart. Historical data is always retrieved from an archive, which means that historical data is only available if you have configured WLDF to gather metrics data (for Metrics charts) and/or if you have configured WLDF to gather instrumentation data (for Method Performance charts). For more information about how this is handled, see Understanding How Data Is Collected and Presented.

To scroll through historical data:

1. Make sure that WLDF was configured to collect the metrics or instrumentation data you want to monitor.
2. Select the chart containing the data you want to monitor.
3. Drag the scrollbar's thumb control to the interval you want to monitor. As you drag the thumb control, a message is displayed that shows the beginning and end times of the intervals you are scrolling through.

Alternatively, click (left scroll arrow) to scroll backwards or click (right scroll arrow) to scroll forward. Using these buttons advances or rewinds the displayed time interval by one minute.

To display current data after scrolling:

1. Select the chart.
2. Do one of the following:

- Move the thumb control all the way to the right on the scroll bar, or
- Right click the chart, then select View Current Data from the menu.

Notes:

- If no archived data is available for a Metrics graph, only the data available in the cache of actively polled metrics can be displayed. If you scroll to a point earlier than the data available in the cache, no data is displayed for that graph.
- While scrolling, a message is displayed showing the time intervals that you are scrolling through. When you stop scrolling, the data is retrieved for the selected interval. To display the dates and times for the visible interval, point the mouse pointer anywhere over the scrollbar.

### Zooming In and Out of Data in a Chart

You can zoom into the data shown in a chart to expand the view of data points for a shorter time span, and you can zoom out to show details about a longer time span.

Zoom in and out as follows:

- To zoom in on the X-axis by intervals of 10% of the displayed time interval, click the (Zoom in) button. You can zoom in to a minimum interval of 30 seconds.
- To zoom out of the X-axis by intervals of 10% of the displayed time interval, click the (Zoom out) button. You can zoom out to an interval of five minutes, which is the default interval.
- To zoom in on the X-axis by a custom interval, Shift-drag over an area of the chart. That is, press and hold the Shift key, then drag the mouse pointer over the area of the chart you want to display. (You must release the mouse button before you release the Shift key.)
- To reset the interval to its state before it was zoomed, do one of the following:

- Press the (Zoom out) button until the zoom mode is exited
- Select the chart and press the r key on the keyboard
- Right-click the chart and select Zoom Reset (R) from the menu

Resetting the zoom state resets the interval back to the default interval of five minutes, starting at the start time which was in effect before zooming (if in "current" mode, the chart will remain in that mode).

## Deleting a Graph from a Chart

To delete a graph from a chart:

1. Click the Views tab and select the view containing the chart containing the graph you want to delete.
2. Select the graph in either of the following ways:

- Shift-click anywhere on the graph.
- Shift-click on the legend entry for the graph.

3. Click the (Delete) button in the toolbar, or press the Delete key. The graph is permanently deleted and cannot be recovered.

## Deleting a Chart

To delete a chart:

1. Click the Views tab and select the view containing the chart you want to delete.
2. Click the chart. A border appears around the chart to show it has been selected.
3. Click the (Delete) button in the toolbar, or press the Delete key.

The chart is permanently deleted and cannot be recovered.

## Setting Chart Properties

When you create a chart, it is created with default visual and control properties. To change those properties:

1. Click the Views tab and select the view containing the chart whose properties you want to change.
2. In the View panel, click anywhere in the chart to select it.
3. Click the Properties > Selected Item Properties tab to display controls for changing properties.
4. Make changes by setting the properties in the Properties > Selected Item tab, as described in the following sections:

- Changing a Chart's Name
- Creating a Y-Axis Label for a Chart
- Setting a Chart's Graphing Style
- Turning a Chart's Legend On and Off
- Turning a Chart's Scrollbar On and Off
- Changing a Chart's Foreground and Background Colors

5. Click the Apply Changes button to apply your changes to the selected chart.

Note: There are some properties you can change directly in the View panel. For example, you can right-click a chart name or view name and type in a new name directly. In those cases, you do not have to click Apply Changes. Just click outside the text box to see your changes.

Alternatively, click Discard Changes to restore the settings that were in effect when you started changing them, or click Restore Defaults to restore the WLDF Console Extension default settings for charts.

Note: Applying a change to a property doesn't save it for future use. See step 6.

6. If this is a chart in a custom view, you can save the changes so they will be restored the next time you open the WLDF Console Extension. (You cannot save changes to a chart in a built-in view.) To save a custom chart, you must save the view, as follows:

1. Click the Views tab.
2. Click the Save button.

Alternatively, on the toolbar, click the (Save All Modified Views) button to save all custom views.

Note: You cannot save changes to the properties of a chart in a built-in view.

## Changing a Chart's Name

You can change the name of charts in built-in and custom views. But you can save the name only for charts in custom views. To change the name of a chart:

1. Select the chart and select the Properties > Selected Item Properties tab, as explained in steps 1-3 in Setting Chart Properties.
2. Select the General subtab.
3. Enter a new name in the Name field.
4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Chart Properties.

Alternatively,

1. Display the view containing the chart.
2. Right click the name at the top of the chart.
3. Type a new name in the field.
4. Click anywhere outside the field to apply the change.
5. Save the changes, as explained in step 6 of Setting Chart Properties.

## Creating a Y-Axis Label for a Chart

No Y-Axis label is assigned by default for a chart, but you can create one, as follows:

1. Select the chart and select the Properties > Selected Item Properties tab, as explained in steps 1-3 in Setting Chart Properties.
2. Select the General subtab.
3. In the Y-Axis field, enter text to be used as the Y-Axis label.
4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Chart Properties.

## Setting a Chart's Graphing Style

By default, graphs are created using the "plot" style (dots connected by lines). However, you can change the style, as follows:

1. Select the chart and select the Properties > Selected Item Properties tab, as explained in steps 1-3 in Setting Chart Properties.
2. Select the General subtab.
3. Select a style from the Style drop down list to change the visual style of each graph on the selected chart. Styles include:

   Style | Example | Description
   Area |  | Solid area under a line {{AREA AND STACKING AREA SEEM THE SAME?}}
   Area radar |  | Circular area, with new data sweeping clockwise, as with a radar
   Bar |  | Bars alternating for each graph
   Plot |  | Sequential dots connected by lines
   Scatter plot |  | Dots only
   Stacking area |  | Areas for each graph, stacked on top of each other
   Stacking bar |  | Bars for each graph, one stacked on top of the other

4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Chart Properties.

## Turning a Chart's Legend On and Off

A chart's legend identifies each graph on the chart. Each line in the legend shows the color and graphic used to plot the data points and identifies the data source for the graph.

1. Select the chart and select the Properties > Selected Item Properties tab, as explained in steps 1-3 in Setting Chart Properties.
2. Select the General subtab.
3. Check the Legends checkbox to display the legend, or uncheck it to hide the legend.
4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Chart Properties.

Alternatively,

1. Display the view containing the chart.
2. Right-click anywhere in the chart.
3. Choose Show Legend from the menu to display the legend, or choose Hide Legend to hide the legend.
4. Save the changes, as explained in step 6 of Setting Chart Properties.

## Turning a Chart's Scrollbar On and Off

You can use the scrollbar to scroll back through historical data and the attached zoom controls to zoom in and out of data, as explained in Scrolling and Zooming the Data Displayed in a Chart. The scrollbar is hidden by default, however, you can display it and hide it again, as follows:

1. Select the chart and select the Properties > Selected Item Properties tab, as explained in step 1-3 in Setting Chart Properties.
2. Select the General subtab.
3. Check the Scrollbar checkbox to display the scrollbar, or uncheck it to hide the scrollbar.
4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Chart Properties.

Alternatively,

1. Display the view containing the chart.
2. Right-click anywhere in the chart.
3. From the menu, select Hide Legend to turn the legend off, or select Display Legend to turn the legend back on.
4. Save the changes, as explained in step 6 of Setting Chart Properties.

## Changing a Chart's Foreground and Background Colors

The foreground color for a chart includes the color of the text used for the legend and the color of the X- and Y-axis lines and values. The background color is the color used for the background of the entire chart.

1. Select the chart and select the Properties > Selected Item Properties tab, as explained in steps 1-3 in Setting Chart Properties.
2. Click the Colors > Foreground subtab to change the foreground colors, or click the Colors > Background subtab to change the background colors.
3. Select your preferred color chooser, by clicking one of the subtabs: Swatches, HSB, or RGB.
4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Chart Properties.

## Setting Graph Properties

When you create a graph in a chart, it is created with default visual and control properties. To change those properties:

1. Click the Views tab and select the view containing the chart with the graph whose properties you want to change.
2. In the View panel, select the graph in either of the following ways:

- Shift-click anywhere on the graph.
- Shift-click on the legend entry for the graph.

3. Click the Properties > Selected Item Properties tab to display controls for changing graph properties.
4. Make changes by setting the properties in the Properties > Selected Item tab, as described in the following sections:

- Changing a Graph's Name
- Changing a Graph's Colors

5. Click the Apply Changes button to apply your changes to the selected chart.

Alternatively, click Discard Changes to restore the settings that were in effect when you started changing them, or click Restore Defaults to restore the WLDF Console Extension default settings for charts.

Note: Applying a change to a property doesn't save it for future use. See step 6.

6. If this graph is in a chart in a custom view, you can save the changes so they will be restored the next time you open the WLDF Console Extension. (You cannot save changes to a chart in a built-in view.) To save a custom chart, you must save the view, as follows:

1. Click the Views tab.
2. Click the Save button.

Alternatively, on the toolbar, click the (Save All Modified Views) button to save all custom views.

Note: You cannot save changes to the properties of a chart in a built-in view.

## Changing a Graph's Name

When you drag an item onto a chart to create a graph of the item's data points, a name is assigned by default. This name appears in the legend for the chart containing the graph. You can change the name, as follows:

1. Select the graph and select the Properties > Selected Item Properties tab, as explained in steps 1-3 in Setting Graph Properties.
2. Click the General subtab.
3. Enter a new name in the Name field.
4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Graph Properties.

## Changing a Graph's Scaling Factor

Adjusting a graph's scaling factor adjusts the units used for graph's Y-Axis. For example, if a Y-Axis unit of 60,000 is scaled to 1, and you change the scaling factor to 10, the units are changed to 600,000. Changing the scaling factor of a graph is useful when a chart contains more than one graph, and you want to adjust the different graphs to see them more clearly in relation to each other.

1. Select the graph and select the Properties > Selected Item Properties tab, as explained in steps 1-3 in Setting Graph Properties.
2. Click the General subtab.
3. Select a scaling factor from the Scale dropdown list.
4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Graph Properties.

## Changing a Graph's Colors

The foreground color for a graph includes the color of the line and symbols used to plot data in the graph, where appropriate. The background color is the fill color for the graph, where appropriate for the selected graph style. These colors are assigned by default, but you can change them, as follows:

1. Select the graph and select the Properties > Selected Item Properties tab, as explained in steps 1-3 in Setting Graph Properties.
2. Click the Colors > Foreground subtab to change the foreground colors, or click the Colors > Background subtab to change the background colors.
3. Select your preferred color chooser, by clicking one of the subtabs: Swatches, HSB, or RGB.
4. Apply, revert, or save the changes, as explained in steps 5 and 6 of Setting Graph Properties.

# Working with Metrics Charts and Graphs

Metrics charts and graphs plot the values of MBean instances and attributes. The values can be real-time polled metric values obtained from a running WebLogic Server, or they can provide a historical view of that metric value for all metrics maintained by the WLDF Harvester.

To create charts and graphs based on metrics data, you drag metrics attributes from the Metrics tab to the View panel. Each new graph shows the value of the selected attribute over time.

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

- Contents of the MBean Tree in the Metrics Tab
- Displaying Items in the Metrics tab
- Displaying Details About MBean Instances and Attributes in the Metrics Tab
- Displaying Details About Metrics Charts and Graphs
- Selecting a Server

## Contents of the MBean Tree in the Metrics Tab

The Metrics tab displays a tree containing the following:

- WebLogic MBean types
- Currently registered instances of the WebLogic MBean types
- Currently registered instances of custom MBean types
- Attributes of the listed registered instances

The following visual cues help to identify items in the tree:

Visual Cue | Description | Represents...
--- | --- | ---
| Blue "W" icon | WebLogic MBean type
| Green "J" icon | JMX MBean type
| Pink "C" icon | Custom MBean type
| Grey dot | Attribute of an MBean instance
| MBean type icon with the type name in normal font | An MBean type with at least one registered instance
| MBean type icon with the type name in grey, italic font | An MBean type with no registered instances
| MBean instance name beneath MBean type name | A registered instance of the MBean type
| Grey dot next to attribute name, beneath MBean instance name | An attribute of a registered MBean instance

## Displaying Items in the Metrics tab

The tree shows the MBean types, instances, and attributes for a server. Do the following to display items in the Metrics tab:

- To view the MBeans from a different server, select the server from the Select server dropdown list.
- To refresh the tree for the selected server, click the Reload button.
- To show all currently registered instances of a listed MBean type, click the (Expand) button to the left of the type name.
- To show all attributes of a listed MBean instance, click the (Expand) button to the left of the left of the MBean name.

## Displaying Details About MBean Instances and Attributes in the Metrics Tab

You can display details about MBean instances and attributes by placing the mouse pointer over items in the tree of MBeans displayed in the Metrics tab:

- Point to an MBean instance name to display the full object name of the MBean instance.
- Point to an MBean attribute name to display the type and description of the attribute.

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

## Displaying Details About Metrics Charts and Graphs

You can display details about Metrics charts and graphs displayed in the View panel by pointing the mouse pointer at objects in the panel:

- Point to a data point in a graph to display the time the data point was plotted and the sampled metric value at that time.
- Point to a chart's legend to display the object instance name for each attribute listed in the legend.
- Point to a chart's scrollbar to display the beginning data and time and the ending date and time for the visible interval. This tooltip also tells if this interval is the current interval.

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

# 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 via the WLDF instrumentation capabilities.

- Displaying Requests and Methods in the Requests Tab
- Displaying Details About Requests
- Displaying Details About Instrumentation Events
- Displaying Details about Requests and Methods in the Requests Tab
- Selecting a Time Interval for a Method Performance Graph
- Displaying Details About Method Performance Charts

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 6-11 Requests Tree and a Method Performance Chart

## 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 Select server dropdown list. The Select server dropdown list displays all the servers in the domain.

## 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 6-12.

Figure 6-12 Requests Listed in the Requests Tab

Requests are identified by:

- A unique request ID
- The name of the application
- Information about the top level method executed by the request
- The execution time of the request is shown by a horizontal bar, whose length is proportional to its execution time

Expanding a request node shows its top level instrumented method, as shown in Figure 6-13. 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 6-13 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 . (Expand) or . (Collapse) buttons). The information is displayed in the panel below the tree, as shown in Figure 6-14.

Figure 6-14 Details About a Request

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

Table 6-2 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 this class.
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, click the method node. The information is displayed in the panel below the call tree, as shown in Table 6-3.

Figure 6-15 Details about an Event

The attributes listed in this panel are described in Table 6-3.

Table 6-3 Event Values Displayed in Request Panel

Attribute | Description
--- | ---
RECORDID | Unique identifier to identify this record in the log.
TIMESTAMP | Date when this event was generated.
CONTEXTID | Diagnostic context information to correlate messages coming from a specific request or application.
TXID | The identifier for the transaction that initiated this diagnostic event. Present only for messages logged in the context of a transaction.
USERID | 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.
FILENAME | Name of the Java file containing the instrumented method that generated this diagnostic event.
LINENUM | Line in the source file where instrumented code exists.
CLASSNAME | Name of the Java class containing the instrumented method.
METHODNAME | Name of the instrumented method that generated this diagnostic event.
METHODDSC | The descriptor of the method that generated this diagnostic event.
PAYLOAD | {{?}}
CTXPAYLOAD | 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:

- Point to a request node to display the request ID, request start time, and request elapsed time.
- Point to a method invocation node to display the method elapsed time, percentage with respect to the parent method, and application name.

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

## Selecting a Time Interval for a Method Performance Graph

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 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 - 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:

- Point to a data point in a graph to display the time the data point was plotted and its value when it was plotted, in nanoseconds.
- Point to a chart's scroll bar to display the beginning date and time and ending date and time for the visible interval. This tooltip also reports if the interval is the current interval.
- Point to a chart's legend to display the following for each entry in the legend:

- Class name containing the instrumented method
- Scope of the instrumented method
- Signature of the instrumented method

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

# Setting Global Polling and View Scrolling Properties

Global properties apply to all active views. To set global properties, click the Properties tab, then click the Global Properties subtab. You can set the following properties:

- Polled data set size. The number of dynamically gathered samples retained in the data cache on the server for each monitored metric. For information about the data caches, see Understanding How Data Is Collected and Presented.
- Autoscroll Speed. If a view contains several charts, you may have to scroll the window to see all the charts. If you drag an item from the Tabs panel towards an edge of such a view, the window scrolls so you can add the item to hidden part of the view. The Autoscroll Speed setting sets the speed of the scrolling, in inches per second.
- Autoscroll Insets. The width of the region surrounding a panel that is used to trigger automatic scrolling.