HITMAP
What is Transaction Tracing?
While the transaction performance means the summary metrics or attributes between the start and end of transaction, the transaction profile traces the steps during transactions. If any transaction is slow or erroneous, the execution records must be traced step by step to find the cause. This is called transaction tracing.
The types of steps collected for transaction performance tracing are as follows.
-
DB connection step START-END
It includes the performance for connection to RDB. Step information includes the name, response time, and error.
-
SQL Step START-END
It includes the performance for JDBC SQL. Step information includes connection data, SQL statements, and errors.
-
HTTP Call step START-END
It includes the performance for the outbound HTTP service call. Step information includes URL, host, port, response time, and errors.
-
Message step ADD
While collecting traces, the message steps are used to collect the records of all irregular sections.
-
SOCKET Step ADD
Step to represent the socket open.
-
METHOD Step START-END
The method response time is traced.
-
ACTIVE STACK Step START-END
It includes the active stack information. It is created and collected by a separate thread and it is added to the transaction trace.
In the WhaTap monitoring service, Step is used as the same meaning as Span.
Detailed analysis
Home > Select Project > Analysis > Hitmap
-
In Time selector, select a time period to see the hitmap.
-
In Type and Application, select the targets to view.
-
Select .
-
In HITMAP transaction, drag a desired area as in .
-
If the list appears in TX trace, select a transaction to analyze.
The Transaction information window appears where you can check properties such as client information for transaction performance analysis, transaction processing performance, and detailed execution history for each section.
-
For more information about the Hitmap menu, see the following.
-
For more information about the hitmap widgets on the application dashboard, see the following.
Guide to transaction information window
-
In the area, the step data can be seen in various formats. Select a desired type of tab.
-
In the area, you can see the basic information for transactions.
-
: The statistical data window for the corresponding URL or each execution section appears. Click a desired time on the graph chart in the statistical data window to go to Statistics. You can view the statistical data based on the selected time.
NoteFor more information about Statistics, see the following.
-
If you select SQL step, the SQL variables and HTTP queries can be viewed. For more information, see the following.
Table view
In the Table view tab, you can see the transaction execution steps in chronological order.
- You can classify transactions by each execution section and see them in a diagram. Out of all elapsed times, you can quickly find the times spent for each section and the section that took the longest.
-
If you select each section in the diagram, the corresponding table list appears where the step is located.
-
Select column: You can add or hide the memory accumulation and CPU accumulation data as columns in the table list. The columns are as follows:
-
No: Step occurrence sequence
-
Time: Start time of each step
-
Gap: The waited time between the start time of the previous step and the current step may have a difference, while there may be a gap from the elapsed time if a delay happens due to external factors.
-
Elapsed: Total elapsed time from the start to the end of each method
-
Contents: Execution details of the step
-
-
TXT: You can download basic transaction data and execution data for each section in a text file.
-
SQL: The basic transaction information and SQL execution data can be downloaded as a text file.
-
Download with substitute value: It downloads the SQL statistics data after replacing the bind variable value with its original one. If a security key (
paramkey
) is set, the security key input window appears. You must enter the security key for downloading. For more information about the agent configuration related to the security key, see the following. -
Download without substitute value: It downloads SQL statistics data without replacing the bind variable value.
-
-
: You can see only the table list, with hiding the transaction summary and diagrams. If you select , the hidden information reappears. This feature is useful when you have a long list of tables.
-
If you select the SQL step, the SQL window appears to display parameters. For more information, see the following.
Record summary
To see the basic information for transactions, select the Record summary tab. You can see the basic information of the transaction, agent on which the transaction was performed, memory allocation usage, and client information.
Transaction properties
Classification | Properties | Description |
---|---|---|
Agent | Agent name (oname) | Agent object name |
Agent ID (oid) | Agent object ID | |
Agent group name | Agent group name set with the okind option | |
Agent group ID | Agent group ID | |
Agent server name | Agent server name set with the ondoe option | |
Agent server ID | Agent server ID | |
Project code | Identification code of the project registered in the WhaTap monitoring service | |
Transactions | Transaction ID | Transaction ID |
Start time | Transaction start time | |
End time | Transaction end time | |
Elapsed time | Transaction execution time | |
HTTP method | HTTP methods - GET, POST, PUT, HEAD, etc. | |
HTTP call time | External HTTP call time | |
HTTP call count | External HTTP call count | |
DB CONN. time | DB connection time | |
SQL time | SQL Execution Time | |
SQL count | SQL execution count | |
SQL patch time | Time taken to retrieve records (may overlap or involve other logics) | |
SQL fetch count | Number of the records retrieved from SQL | |
Multi-transaction | Multi transaction ID | Multi Transaction ID |
Caller URL | Address of the parent transaction | |
Caller Pcode | Project code from which the parent transaction was collected | |
Caller Oid | Agent object ID of the parent transaction | |
Caller OName | Agent name of the parent transaction | |
Caller Okind | Agent group ID of the parent transaction | |
Caller Okind Name | Agent group name of the parent transaction | |
Resource | CPU usage time | CPU usage used by transactions |
Memory allocation | Memory usage used by transactions | |
Client | Client IP | Client IP address |
Domain | Internet address assigned to the IP address that the client connected to | |
WClientID | Client ID | |
Country/Region | Client's country | |
City | City in the client's country | |
OS | OS environment in which the browser runs | |
Client type | Browser type used by the client | |
Client name | Device name used by the client | |
Status | HTTP status code for the client request | |
Referer | Page address or incoming path used by the browser of the client | |
Original URL/Transaction | Combination of transaction name and original URL. Original URL appears if the URL exists. Otherwise, the transaction appears. | |
User agent | Browser used to extract client-related data |
-
The collected data may differ depending on the application type, settings, and step type.
-
WhaTap basically stores the client-related information. For more information about the agent settings for user data collection, see the following.
Tree view
To see the transaction execution steps in a tree format, select the Tree view tab. You can see the details of each transaction and its trace details, trace start time, step time, and call relationship. If you select each section of the diagram, the tree view of the step appears.
-
Single-line View: You can arrange the tree format at intervals by displaying the texts displayed in the execution data for each section in a single line.
-
Multi-line View: All the texts displayed in the execution data for each section, appear by wrapping words.
-
Longest Path: The longest route can appear.
-
Show Time Bar: The elapsed times are displayed in a bar chart.
-
Show Time: The timestamps, gaps, and elapsed times for each segment are displayed in text.
-
8 seconds or more: Excessive delay state is distinguished in red.
-
Between 3 and 8 seconds: Delay state is distinguished in orange.
-
Less than 3 seconds: Normal state is distinguished in blue.
-
-
Hide Time: The time is hidden.
-
: You can see only the tree view that hides transaction summary and diagrams. If you select , the hidden information reappears. This feature is useful when the tree view list is long.
-
: A window appears where you can view SQL variables and HTTP queries. For more information, see the following.
In case of start and step times, the time differences caused by the transaction call environment are corrected on the screen through traces and mappings in the parent transactions. Accordingly, there may be differences from the actual time data.
Multi-transaction
Multi-transaction indicates the transaction involving other agents or projects. In the Multi transaction tab, you can see the call relationships between applications registered in the WhaTap monitoring service.
To trace multi-transactions, set the mtrace_enabled
option to true
in Management > Agent CONF.. For more information about the agent configuration, see the following.
-
Chart: Provides the call relationships for each transaction in a flowchart. Select a transaction node to see the trace analysis for the transaction node. In Chart mode, you can use the mouse to go to a desired position or zoom in or out by scrolling.
- Chart view settings: You can display or hide the elements on the chart.
-
Table: In the form of table, you can check the data for each transaction included in the multi-transaction. You can select the column selection icon to edit the table header columns. You can see the trace analysis data by selecting each transaction item.
-
Tree: You can see the call relationships between transactions in a tree format. The related additional functions are the same as those of the Tree view tab.
-
Project selection: You can select or deselect projects to be displayed on the chart.
-
You can see them in the transaction list marked with the icon.
-
For more information about the multi-transaction, see the following.
Methods
To see only the method data, select the Methods tab. It displays the method name and step time for which tracing has been set on the agent. When unnecessary logics are repeatedly executed, it can be used as analysis data to improve the method logic by finding the case where the execution takes longer than the low count.
For more information about the agent configuration options on methods, see the following. Method tracing support may differ depending on the product in use.
SQLs
To check the SQL statement information, select the SQLs tab. In case of unnecessarily repetitive execution, it can be used as analytical data to improve query performance by finding the case where the execution time takes longer compared to the low count.
HTTP calls
To see the count, time sum, average time, and such for HTTP calls, select the HTTP calls tab. If unnecessary external calls are repeatedly executed, it can be used as analytical information to determine whether the transaction delays are external or internal by finding the cases where the execution time takes longer compared to the low count.
Transaction log
To see the logs of the transaction, select the Transaction log tab.
-
Keyword search: Enter the desired text to search in the keyword search field, and then press Enter or select the button. It highlights the keywords that match the entered text.
-
Keyword highlight: If you set the keyword and color, the texts that match the keyword are automatically highlighted in the log list.
-
Table settings: You can set the header columns in the log list table.
-
To enable the Transaction log tab, apply the agent setting options related to the logs. For more information about the log settings, see the following.
-
The Transaction log tab can be accessed by only the members with the View log role. For more information about the member roles, see the following.
Setting the keyword highlight
-
To add keywords to highlight, select .
-
Enter a desired keyword.
-
Select the color icon and then select a desired color.
-
Press Enter.
The added keywords are added in the list.
Deleting the keyword highlight
To delete the items unused from the highlight list, select .
Additional options
Viewing HTTP parameters
You can view the HTTP parameters of the transaction in the Table view tab.
-
Scroll down the page to the final step of the transaction.
-
Select the HTTP parameters item.
-
If the HTTP-PARAMETERS window appears, select Password.
-
Enter the specified Param Key.
You can see the hidden parameters.
-
For the agent settings for HTTP parameters, see the following.
-
Password: You can see the decrypted parameter value. The password is a 6-digit string (
paramkey
) in theWHATAP_HOME
/security.conf file. You can change it to another string. It is required to view the SQL variables and HTTP queries and to stop the threads. -
Depending on the agent version, the password configuration file may be different. Change the string in the security.conf file or paramkey.txt file.
Viewing SQL parameters
Select the SQL step in the Table view tab or select in the Tree view tab. The SQL window appears to display parameters.
-
Password: You can see the decrypted parameter value. The password is a 6-digit string(
paramkey
) in theWHATAP_HOME
/security.conf file. You can change it to another string.NoteDepending on the agent version, the password configuration file may be different. Change the string in the security.conf file or paramkey.txt file.
-
SQL format: You can indent and format your SQL statements for better readability.
-
: A SQL statement can be copied to the clipboard.
-
Statistics: Go to Statistics > SQL.
To search SQL variables and HTTP queries, add the following options to the agent settings.
-
For agent settings related to recording SQL parameters, see the following.
-
For agent settings related to recording the HTTP parameters, see the following.
# SQL parameter lookup option: If the option is applied, SQL parameters are collected after being encrypted.
whatap.profile_sql_param_enabled=true
// HTTP parameter lookup option: If the option is applied, HTTP query parameters are collected after being encrypted.
whatap.profile_http_parameter_enabled=true