All Products
Search
Document Center

Application Real-Time Monitoring Service:Network configurations required by the ARMS agent for Go

Last Updated:Dec 20, 2024

To ensure that the Application Real-Time Monitoring Service (ARMS) agent for Go can run as expected, you must connect the ARMS agent to the ARMS server. This topic describes the ports, endpoints, and CIDR blocks that must be enabled to use Application Monitoring.

Ports

Port

Description

8080

The port is provided by Application Configuration Management (ACM).

8848

The port is provided by ACM.

9990

The port is provided by the trace and metadata endpoints for metadata reporting.

80

The port is provided by the trace and metadata endpoints, metric endpoints, and continuous profiling endpoints for trace, metric, and continuous profiling data reporting.

9092

The port is provided by the trace and metadata endpoints for application diagnostics.

Compilation environment

The compilation environment must be connected to the Internet or the internal network of Alibaba Cloud, and the security group of the compilation environment allows outbound TCP connections to the 8080, 8848, 9990, 80, and 443 ports.

Endpoints

To connect your application to Application Monitoring, you must enable the endpoints of ARMS and ACM. The following table lists the ARMS and ACM endpoints in different regions. If the application is deployed in an Alibaba Cloud virtual private cloud (VPC) or connected to a VPC by using an Express Connect circuit, use the internal endpoints of ARMS and ACM. If the application is deployed in a data center or a third-party cloud service, use the public endpoints of ARMS and ACM.

View the endpoints of ARMS and ACM in each region

Region

ARMS public endpoint

ARMS internal endpoint (VPC)

China (Hangzhou)

  • arms-dc-hz.aliyuncs.com (trace and metadata)

  • cn-hangzhou.arms.aliyuncs.com (metric)

  • arms-profiling-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-hz-internal.aliyuncs.com (trace and metadata)

  • cn-hangzhou-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com (continuous profiling)

  • addr-hz-internal.edas.aliyun.com (ACM)

China (Shanghai)

  • arms-dc-sh.aliyuncs.com (trace and metadata)

  • cn-shanghai.arms.aliyuncs.com (metric)

  • arms-profiling-cn-shanghai.oss-cn-shanghai.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-sh-internal.aliyuncs.com (trace and metadata)

  • cn-shanghai-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-shanghai.oss-cn-shanghai-internal.aliyuncs.com (continuous profiling)

  • addr-sh-internal.edas.aliyun.com (ACM)

China (Qingdao)

  • arms-dc-qd.aliyuncs.com (trace and metadata)

  • cn-qingdao.arms.aliyuncs.com (metric)

  • arms-profiling-cn-qingdao.oss-cn-qingdao.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-qd-internal.aliyuncs.com (trace and metadata)

  • cn-qingdao-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-qingdao.oss-cn-qingdao-internal.aliyuncs.com (continuous profiling)

  • addr-qd-internal.edas.aliyun.com (ACM)

China (Beijing)

  • arms-dc-bj.aliyuncs.com (trace and metadata)

  • cn-beijing.arms.aliyuncs.com (metric)

  • arms-profiling-cn-beijing.oss-cn-beijing.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-bj-internal.aliyuncs.com (trace and metadata)

  • cn-beijing-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-beijing.oss-cn-beijing-internal.aliyuncs.com (continuous profiling)

  • addr-bj-internal.edas.aliyun.com (ACM)

China (Zhangjiakou)

  • arms-dc-zb.aliyuncs.com (trace and metadata)

  • cn-zhangjiakou.arms.aliyuncs.com (metric)

  • arms-profiling-cn-zhangjiakou.oss-cn-zhangjiakou.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-zb-internal.aliyuncs.com (trace and metadata)

  • cn-zhangjiakou-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-zhangjiakou.oss-cn-zhangjiakou-internal.aliyuncs.com (continuous profiling)

  • addr-cn-zhangjiakou-internal.edas.aliyun.com (ACM)

China (Hohhot)

  • dc-cn-huhehaote.arms.aliyuncs.com (trace and metadata)

  • cn-huhehaote.arms.aliyuncs.com (metric)

  • arms-profiling-cn-huhehaote.oss-cn-huhehaote.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-cn-huhehaote-internal.arms.aliyuncs.com (trace and metadata)

  • cn-huhehaote-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-huhehaote.oss-cn-huhehaote-internal.aliyuncs.com (continuous profiling)

China (Ulanqab)

  • dc-cn-wulanchabu.arms.aliyuncs.com (trace and metadata)

  • cn-wulanchabu.arms.aliyuncs.com (metric)

  • arms-profiling-cn-wulanchabu.oss-cn-wulanchabu.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-cn-wulanchabu-internal.arms.aliyuncs.com (trace and metadata)

  • cn-wulanchabu-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-wulanchabu.oss-cn-wulanchabu-internal.aliyuncs.com (continuous profiling)

China (Shenzhen)

  • arms-dc-sz.aliyuncs.com (trace and metadata)

  • cn-shenzhen.arms.aliyuncs.com (metric)

  • arms-profiling-cn-shenzhen.oss-cn-shenzhen.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-sz-internal.aliyuncs.com (trace and metadata)

  • cn-shenzhen-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-shenzhen.oss-cn-shenzhen-internal.aliyuncs.com (continuous profiling)

  • addr-sz-internal.edas.aliyun.com (ACM)

China (Heyuan)

  • dc-cn-heyuan.arms.aliyuncs.com (trace and metadata)

  • cn-heyuan.arms.aliyuncs.com (metric)

  • arms-profiling-cn-heyuan.oss-cn-heyuan.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-cn-heyuan-internal.arms.aliyuncs.com (trace and metadata)

  • cn-heyuan-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-heyuan.oss-cn-heyuan-internal.aliyuncs.com (continuous profiling)

China (Guangzhou)

  • dc-cn-guangzhou.arms.aliyuncs.com (trace and metadata)

  • cn-guangzhou.arms.aliyuncs.com (metric)

  • arms-profiling-cn-guangzhou.oss-cn-guangzhou.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-cn-guangzhou-internal.arms.aliyuncs.com (trace and metadata)

  • cn-guangzhou-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-guangzhou.oss-cn-guangzhou-internal.aliyuncs.com (continuous profiling)

China (Chengdu)

  • dc-cn-chengdu.arms.aliyuncs.com (trace and metadata)

  • cn-chengdu.arms.aliyuncs.com (metric)

  • arms-profiling-cn-chengdu.oss-cn-chengdu.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-cn-chengdu-internal.arms.aliyuncs.com (trace and metadata)

  • cn-chengdu-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-chengdu.oss-cn-chengdu-internal.aliyuncs.com (continuous profiling)

China (Hong Kong)

  • arms-dc-hk.aliyuncs.com (trace and metadata)

  • cn-hongkong.arms.aliyuncs.com (metric)

  • arms-profiling-cn-hongkong.oss-cn-hongkong.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-hk-internal.aliyuncs.com (trace and metadata)

  • cn-hongkong-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-hongkong.oss-cn-hongkong-internal.aliyuncs.com (continuous profiling)

  • addr-hk-internal.edas.aliyuncs.com (ACM)

Japan (Tokyo)

  • arms-dc-jp.aliyuncs.com (trace and metadata)

  • ap-northeast-1.arms.aliyuncs.com (metric)

  • arms-profiling-ap-northeast-1.oss-ap-northeast-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-jp-internal.aliyuncs.com (trace and metadata)

  • ap-northeast-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-ap-northeast-1.oss-ap-northeast-1-internal.aliyuncs.com (continuous profiling)

  • addr-ap-northeast-1-internal.edas.aliyun.com (ACM)

Singapore

  • arms-dc-sg.aliyuncs.com (trace and metadata)

  • ap-southeast-1.arms.aliyuncs.com (metric)

  • arms-profiling-ap-southeast-1.oss-ap-southeast-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-sg-internal.aliyuncs.com (trace and metadata)

  • ap-southeast-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-ap-southeast-1.oss-ap-southeast-1-internal.aliyuncs.com (continuous profiling)

  • addr-singapore-internal.edas.aliyun.com (ACM)

Malaysia (Kuala Lumpur)

  • dc-ap-southeast-3.arms.aliyuncs.com (trace and metadata)

  • ap-southeast-3.arms.aliyuncs.com (metric)

  • arms-profiling-ap-southeast-3.oss-ap-southeast-3.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-ap-southeast-3-internal.arms.aliyuncs.com (trace and metadata)

  • ap-southeast-3-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-ap-southeast-3.oss-ap-southeast-3-internal.aliyuncs.com (continuous profiling)

Indonesia (Jakarta)

  • arms-dc-indonesia.aliyuncs.com (trace and metadata)

  • ap-southeast-5.arms.aliyuncs.com (metric)

  • arms-profiling-ap-southeast-5.oss-ap-southeast-5.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-indonesia-internal.aliyuncs.com (trace and metadata)

  • ap-southeast-5-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-ap-southeast-5.oss-ap-southeast-5-internal.aliyuncs.com (continuous profiling)

Germany (Frankfurt)

  • arms-dc-frankfurt.aliyuncs.com (trace and metadata)

  • eu-central-1.arms.aliyuncs.com (metric)

  • arms-profiling-eu-central-1.oss-eu-central-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-frankfurt-internal.aliyuncs.com (trace and metadata)

  • eu-central-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-eu-central-1.oss-eu-central-1-internal.aliyuncs.com (continuous profiling)

  • addr-eu-central-1-internal.edas.aliyun.com (ACM)

UK (London)

  • dc-eu-west-1.arms.aliyuncs.com (trace and metadata)

  • eu-west-1.arms.aliyuncs.com (metric)

  • arms-profiling-eu-west-1.oss-eu-west-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-eu-west-1-internal.arms.aliyuncs.com (trace and metadata)

  • eu-west-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-eu-west-1.oss-eu-west-1-internal.aliyuncs.com (continuous profiling)

  • addr-eu-west-1-internal.edas.aliyun.com (ACM)

US (Virginia)

  • dc-us-east-1.arms.aliyuncs.com (trace and metadata)

  • us-east-1.arms.aliyuncs.com (metric)

  • arms-profiling-us-east-1.oss-us-east-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-us-east-1-internal.arms.aliyuncs.com (trace and metadata)

  • us-east-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-us-east-1.oss-us-east-1-internal.aliyuncs.com (continuous profiling)

  • addr-us-east-1-internal.edas.aliyun.com (ACM)

US (Silicon Valley)

  • arms-dc-usw.aliyuncs.com (trace and metadata)

  • us-west-1.arms.aliyuncs.com (metric)

  • arms-profiling-us-west-1.oss-us-west-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-us-west-1-internal.arms.aliyuncs.com (trace and metadata)

  • us-west-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-us-west-1.oss-us-west-1-internal.aliyuncs.com (continuous profiling)

  • arms-dc-usw.aliyuncs.com (ACM)

SAU (Riyadh - Partner Region)

  • dc-me-central-1.arms.aliyuncs.com (trace and metadata)

  • me-central-1.arms.aliyuncs.com (metric)

  • arms-profiling-me-central-1.oss-me-central-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • dc-me-central-1-internal.arms.aliyuncs.com (trace and metadata)

  • me-central-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-me-central-1.oss-me-central-1-internal.aliyuncs.com (continuous profiling)

  • arms-dc-me-central-1.aliyuncs.com (ACM)

China North 2 Ali Gov

  • arms-dc-gov.aliyuncs.com (trace and metadata)

  • cn-north-2-gov-1.arms.aliyuncs.com (metric)

  • Continuous profiling unavailable for commercial for use

  • acm.aliyun.com (ACM)

  • arms-dc-gov-internal.aliyuncs.com (trace and metadata)

  • cn-north-2-gov-1-intranet.arms.aliyuncs.com (metric)

  • Continuous profiling unavailable for commercial for use

  • addr-cn-north-2-gov-1-internal.edas.aliyun.com (ACM)

China East 1 Finance

  • arms-dc-hz-finance.aliyuncs.com (trace and metadata)

  • cn-hangzhou-finance.arms.aliyuncs.com (metric)

  • Continuous Profiling Service does not provide Internet access

  • acm.aliyun.com (ACM)

  • arms-dc-hz-finance-internal.aliyuncs.com (trace and metadata)

  • cn-hangzhou-finance-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-hangzhou-finance.oss-cn-hzjbp-b-internal.aliyuncs.com (continuous profiling)

  • addr-hz-internal.jbp.console.aliyun.com (ACM)

China East 2 Finance

  • arms-dc-sh-finance.aliyuncs.com (trace and metadata)

  • cn-shanghai-finance-1.arms.aliyuncs.com (metric)

  • arms-profiling-cn-shanghai-finance-1.oss-cn-shanghai-finance-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-sh-finance-internal.aliyuncs.com (trace and metadata)

  • cn-shanghai-finance-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-shanghai-finance-1.oss-cn-shanghai-finance-1-internal.aliyuncs.com (continuous profiling)

  • addr-cn-shanghai-finance-1-internal.edas.aliyun.com (ACM)

China South 1 Finance

  • arms-dc-sz-finance.aliyuncs.com (trace and metadata)

  • cn-shenzhen-finance-1.arms.aliyuncs.com (metric)

  • arms-profiling-cn-shenzhen-finance-1.oss-cn-shenzhen-finance-1.aliyuncs.com (continuous profiling)

  • acm.aliyun.com (ACM)

  • arms-dc-sz-finance-internal.aliyuncs.com (trace and metadata)

  • cn-shenzhen-finance-1-intranet.arms.aliyuncs.com (metric)

  • arms-profiling-cn-shenzhen-finance-1.oss-cn-shenzhen-finance-1-internal.aliyuncs.com (continuous profiling)

  • addr-sz-internal.jbp.console.aliyun.com (ACM)

You can run the Curl command to check whether the host on which your application is deployed is connected to the endpoints of ARMS and ACM. Take the China (Hangzhou) region as an example. Log on to the host where the application is deployed and run the following command to test the network connectivity:

# Test the endpoint of traces and metadata. The HTTP code 200 indicates that the network is accessible.
curl -I -w "%{http_code}" http://arms-dc-hz.aliyuncs.com/api/checkHealth
# Test the endpoint of metadata. The HTTP code 200 indicates that the network is accessible.
curl -I -w "%{http_code}" http://arms-dc-hz.aliyuncs.com:9990/api/checkHealth

# Test the endpoint of metrics. The HTTP code 200 indicates that the network is accessible.
curl -I -w "%{http_code}" http://cn-hangzhou.arms.aliyuncs.com/health/readiness
Note

In some regions where the internal endpoints of ACM are not provided, you must use the public endpoints. In this case, the application must be able to access the Internet.

ARMS CIDR blocks

If the application is deployed in a VPC or connected to a VPC by using an Express Connect circuit, you must enable the ARMS internal endpoints and the 100.0.0.0/8 CIDR block. If the application is deployed in a data center or a third-party cloud service, make sure that the ARMS public endpoints are enabled. However, ARMS does not provide details about the CIDR blocks of the public endpoints.

ACM CIDR blocks

The ARMS agent must connect to the ACM engine to obtain the configurations. The CIDR blocks of the ACM engine can be obtained based on the HTTP APIs provided by ACM and ACM endpoints in different regions. The CIDR blocks remain unchanged for a long time.

curl 'acm.aliyun.com:8080/diamond-server/diamond'

Run the following command to check whether the firewall allows access from the CIDR blocks of the ACM engine.

curl -X GET "http://139.196.XX.XX:8080/diamond-server/config.co?dataId=com.ali.art.logicregion.flow.control.icbu&group=art-control-service" -i

If the relevant configurations cannot be queried, the ACM engine cannot be accessed.

References

For more information about the network, see Network.