Updated on 2024-01-17 GMT+08:00

Nacos Collector (app-discovery-nacos)

This collector collects the service management and configuration management information of the Nacos service, so that it can collect information about source service architectures, discover dynamic services, and parse service associations. For details about the configuration parameters, see Table 1.

Table 1 Parameters for configuring the Nacos collector

Parameter

Mandatory

Configuration

output_path

No

Enter the storage path of the collection result file (app-discovery-nacos-xxx.csv). If this parameter is left blank, the storage path defaults to <Collector installation path>\output\file.

Example: C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-nacos\output\file\app-discovery-nacos-xxx.csv

rules_path

No

Enter the storage path of the collection rule file (a .properties file). If this parameter is left blank, the path defaults to <Collector installation path>\config\rules.properties.

Example: C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-nacos\config\rules.properties

NOTICE:

You are advised to use the default rule file. If you need to customize collection rules, modify the default rule file.

password

Yes

Enter the login password.

username

Yes

Enter the name of the login user who has the read permissions.

port

Yes

Enter the port for accessing Nacos, for example, 8848.

ip

Yes

Enter the address for accessing Nacos, for example, http://127.0.0.1.