Configuration Options
License Key
Configuration option format:
"license_key" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
type : string
value : string
default : none
collectors: List of Collector addresses
Description: This configuration item is the license key you entered during installation.
Application Name
Configuration option format:
"app_name" : "Node App",
type : string
value : string
default : none
Description: Application identification name.
Log Management
The Node.js Agent has two modules: the guardian process and the Node.js extension. Each module has its own log management.
Log File Path
Configuration option format:
agent_log_file_name : "/var/log/networkbench/tingyun_agent.log",
type : string
value : string
default : app root/tingyun_agent.log
Description: Specifies the log file path for Node.js.
Log Level
Configuration option format:
agent_log_level : "info", type : string value : debug > verbose > info > warning > error > critical default : "info"
Description: This option controls the log level for writing data to the log file. "debug" is the lowest level, allowing all log information to be written. "critical" is the highest level, only critical level logs are allowed to be written.
Audit Mode
Configuration option format:
"audit_mode" : false
type : boolean
value : true/false
default : false
Description: This option determines whether to write more detailed information to the log file, including all data uploaded to and downloaded from the Tingyun backend.
Data Transmission Connection Options
Enable HTTP Secure Connection
Configuration option format:
"ssl" : true type : boolean value : true/false default : true
Description: This option specifies whether to use a secure connection (HTTPS) when sending data to the server. If set to true, data will be sent using HTTPS. Otherwise, HTTP will be used.
Proxy Server Address
Configuration option format:
"proxy_host" : '' type : string value : HTTP proxy server address default : ''
Description: This option specifies the address of the proxy server. If not empty and secure connection is not enabled, this value is the IP address of the HTTP proxy server.
Proxy Server Port
Configuration option format:
"proxy_port" : '' type : digit value : default : none
Description: Same as above, this option specifies the port of the proxy server.
Proxy Server User
Configuration option format:
"proxy_user" : '' type : string value : default : none
Description: Same as above, if the proxy server requires a username and password, this option specifies the login name for the proxy server.
Proxy Server Password
Configuration option format:
"proxy_password" : '' type : string value : default : none
Description: Same as above, if the proxy server requires a username and password, this option specifies the login password for the proxy server.