Synthetic Monitoring is integrated into the open source Prometheus ecosystem. The monitoring data of Synthetic Monitoring can be displayed in the Grafana dashboard. This topic describes the Prometheus metrics for Synthetic Monitoring.
By default, Synthetic Monitoring writes metrics to a free Managed Service for Prometheus instance named cat-cn-hangzhou. You can view the instance only in the China (Hangzhou) region after you enable Managed Service for Prometheus.
General labels
Field | Description | Example |
taskId | The unique ID of the task. | None |
taskName | The name of the task.
| Alibaba Cloud official website synthetic test |
url | The destination URL. | www.aliyun.com |
clientType | The type of the synthetic test. Valid values:
| IDC |
ipCountry | The country. | China |
ipCountryId | The alpha-2 code of the country. | 1100000 |
ipRegion | The region. | Zhejiang |
ipRegionId | The administrative division code of the region. | 1101600 |
ipCity | The city. | Hangzhou |
ipCityId | The administrative division code of the city. | 1101601 |
ipIsp | The Internet service provider (ISP). | China Mobile |
ipIspId | The ID of the ISP. | 18 |
result | The result of the synthetic test. Valid values:
| success |
errCode | The error code. The error code is displayed only if the value of result is not success. | None |
errName | The error name. The error name is displayed only if the value of result is not success. | None |
Ping
Metric name | Type | Description | Unit |
icmp_pack_time_sum | gauge | The total latency of Internet Control Message Protocol (ICMP) packets in a statistical period. | ms |
icmp_pack_count | gauge | The total number of ICMP packets in a statistical period. | None |
icmp_tracert_hops_sum | gauge | The total number of tracert hops in a statistical period. | None |
icmp_tracert_avg_time_sum | gauge | The total average latency of the tracert command in a statistical period. | ms |
icmp_count | gauge | The number of ICMP synthetic tests in a statistical period. | None |
TCP
Metric name | Type | Description | Unit |
tcp_conn_time_sum | gauge | The total latency of TCP connections in a statistical period. | ms |
tcp_conn_count | gauge | The total number of TCP connections in a statistical period. | None |
icmp_tracert_hops_sum | gauge | The total number of tracert hops in a statistical period. | None |
icmp_tracert_avg_time_sum | gauge | The total average latency of the tracert command in a statistical period. | ms |
tcp_count | gauge | The number of TCP synthetic tests in a statistical period. | None |
DNS
Metric name | Type | Description | Unit |
dns_time_sum | gauge | The total time consumed for Domain Name System (DNS) resolution in a statistical period. | ms |
dns_count | gauge | The number of DNS synthetic tests in a statistical period. | None |
HTTP synthetic tests
Metric name | Type | Description | Unit |
http_dns_time_sum | gauge | The total time consumed for DNS resolution in a statistical period. | ms |
http_conn_time_sum | gauge | The total time consumed to establish connections in a statistical period. | ms |
http_ssl_time_sum | gauge | The total time consumed to establish Secure Socket Layer (SSL) connections in a statistical period. | ms |
http_send_time_sum | gauge | The total time consumed to send requests in a statistical period. | ms |
http_wait_time_sum | gauge | The total time consumed to wait for responses in a statistical period. | ms |
http_download_time_sum | gauge | The total time consumed to download responses in a statistical period. | ms |
http_response_time_sum | gauge | The total time consumed to complete HTTP synthetic tests in a statistical period. | ms |
http_download_size_sum | gauge | The total size of response bodies returned in a statistical period. | byte |
http_count | gauge | The number of HTTP synthetic tests in a statistical period. | None |
File download
Metric name | Type | Description | Unit |
download_dns_time_sum | gauge | The total time consumed for DNS resolution in a statistical period. | ms |
download_conn_time_sum | gauge | The total time consumed to establish connections in a statistical period. | ms |
download_ssl_time_sum | gauge | The total time consumed to establish SSL connections in a statistical period. | ms |
download_send_time_sum | gauge | The total time consumed to send requests in a statistical period. | ms |
download_wait_time_sum | gauge | The total time consumed to wait for responses in a statistical period. | ms |
download_transfer_time_sum | gauge | The total time consumed to download responses in a statistical period. | ms |
download_response_time_sum | gauge | The total time consumed to download files in a statistical period. | ms |
download_transfer_size_sum | gauge | The total size of files downloaded in a statistical period. | byte |
download_count | gauge | The number of file download synthetic tests in a statistical period. | None |
Browsers
Metric name | Type | Description | Unit |
website_last_byte_time_sum | gauge | The total time consumed in a statistical period. | ms |
website_first_byte_time_sum | gauge | The total time consumed to obtain the first byte in a statistical period. | ms |
website_100k_time_sum | gauge | The total time consumed to load 100 KB of content. | ms |
website_first_paint_sum | gauge | The total time consumed to paint the first pixel in a statistical period. | ms |
website_first_screen_time_sum | gauge | The total time consumed to load the first page in a statistical period. | ms |
website_dom_ready_time_sum | gauge | The total time consumed to load the Document Object Model (DOM) in a statistical period. | ms |
website_dom_complete_time_sum | gauge | The total time consumed to complete DOM resolution in a statistical period. | ms |
website_onload_time_sum | gauge | The total amount of time consumed to call the Onload method in a statistical period. | ms |
website_download_size_sum | gauge | The total size of the downloaded content in a statistical period. | byte |
website_download_time_sum | gauge | The total time consumed to download content in a statistical period. | ms |
website_count | gauge | The number of browser synthetic tests in a statistical period. | N/A |
website_resource_count | gauge | The total number of elements loaded by the browser in a statistical period. | N/A |