Updated on 2024-07-04 GMT+08:00

Call

This function monitors the calls of external services by the current application. It covers CSEConsumer, ApacheHttpClient, ApacheHttpAsyncClient, DubboConsumer, and HttpClient monitoring.

This section focuses on HttpClient monitoring.

Going to the Call Page

  1. Log in to the management console.
  2. Click on the left and choose Management & Deployment > Application Performance Management.
  3. In the navigation pane, choose Application Monitoring > Metrics.
  4. In the tree on the left, click next to the target environment.
  5. Click the Call tab. By default, the HttpClient monitoring information of all instances is displayed.

  6. On the displayed Call tab page, select a target instance and monitoring item to view the monitoring data in different metric sets.
  7. Select a time range. Default: Last 20 minutes.

    Options: Last 20 minutes, Last hour, Last 3 hours, Last 6 hours, Last day, Today, Yesterday, Last week, Last month, or Custom.

    Figure 1 Selecting a time range

  8. Click in the upper right corner of the list and select the metric data you want to view.

Viewing HttpClient Monitoring Data

URL summary

The HttpClient monitoring system collects the metrics of each URL. For details about the metrics, see Table 1. Click in the upper right corner of the list and select the metric data you want to view.

Table 1 Parameters of URL summary under HttpClient monitoring

Metric Set

Metric

Description

URL summary

url

Called URL.

method

HTTP method of the URL.

Calls

Number of times that the URL is called.

Avg RT (ms)

Average response time of the called URL.

Errors

Number of call errors of the URL.

Max Concurrency

Maximum concurrency of the URL.

Max RT (ms)

Maximum response time of the called URL.

0 ms–10 ms

Number of requests with 0 ms–10 ms response time.

10 ms–100 ms

Number of requests with 10 ms–100 ms response time.

100 ms–500 ms

Number of requests with 100 ms–500 ms response time.

500 ms–1s

Number of requests with 500 ms–1s response time.

1s–10s

Number of requests with 1s–10s response time.

10s–n

Number of requests with response time longer than 10s.

Error Trace

ID of the trace that encounters an error in a collection period.

Slowest Trace

ID of the slowest trace in a collection period.

  • Click a number in blue (such as those in the Calls or Avg RT (ms) column) to view more details.
  • Click the text in blue (such as those in the Slowest Trace or Error Trace column) to view more details.

Cluster summary

APM can summarize external call metrics by cluster. For details about the metrics, see Table 2.

Table 2 Parameters of cluster summary under HttpClient monitoring

Metric Set

Metric

Description

Cluster summary

envId

Cluster ID of the called party.

hostUri

Host URL

Calls

Number of times that the cluster URL is called.

Avg RT (ms)

Average response time for calling the cluster URL.

Errors

Number of call errors of the URL.

Max RT (ms)

Maximum response time for calling the cluster URL.

0 ms–10 ms

Number of requests with 0 ms–10 ms response time.

10 ms–100 ms

Number of requests with 10 ms–100 ms response time.

100 ms–500 ms

Number of requests with 100 ms–500 ms response time.

500 ms–1s

Number of requests with 500 ms–1s response time.

1s–10s

Number of requests with 1s–10s response time.

10s–n

Number of requests with response time longer than 10s.

Click a number in blue (such as those in the Calls or Avg RT (ms) column) to view more details.

Status code summary

APM can summarize external call metrics by status code. For details about the metrics, see Table 3.

Table 3 Parameters of status code summary under HttpClient monitoring

Metric Set

Metric

Description

Status code summary

code

Status code.

Count

Number of times that the status code occurred.

Latest URL

URL that returns the status code.

  • Click a status code in the code column. The tracing page is displayed, showing the invocation condition of the status code of the selected instance in the environment in last 20 minutes (default).
  • Click a number in the Count column to view the trend of the status code in a specified period.
  • Click the latest URL to view the invocation details of the corresponding status code.

Exception

On the Exception tab page, view the exception statistics about HttpClient calls. For details about the metrics, see Table 4.

Table 4 Parameters of HttpClient monitoring exceptions

Metric Set

Metric

Description

Exception

causeType

Exception class.

exceptionType

Exception type.

Count

Number of times the exception occurred.

Error Message

Message returned when the exception occurred.

Error Stack

Exception stack information.

  • Click a number in blue in the Count column to view the trend of the thread in a specified period.
  • Click the text in blue in the Error Message column to view message details.
  • Click Detail in the Error Stack column to view exception details.
  • Click History in the Error Stack column to view the historical error stack list.

Overview

On the Overview tab page, view the metrics of the selected instance. For details about the metrics, see Table 5.

Table 5 Overview parameters of HttpClient monitoring

Metric Set

Metric

Description

Overview

Calls

Total number of calls.

Avg RT (ms)

Average response time

Errors

Total number of errors.