Go Agent v0.4.1
August 28, 2024
-
New
Added the standard output log collection feature.whatap.conflogsink_enabled=true
logsink_stdout_enabled=true
logsink_zip_enabled=true # optionalNoteBy applying the
logsink_zip_enabled
option, you can collect and compress an appropriate amount of log data for transmission. -
New
Added the option to prioritize environment variables over the agent configuration file (whatap.conf).-
Agent settings are applied in the order of whatap.conf and then environment variables.
-
When the
use_env_first
option (default value:false
) is set, environment variables take precedence over the settings in the whatap.conf file.whatap.confuse_env_first=true
-
Alternatively, you can set the environment variable as
WHATAP_USE_ENV_FIRST=true
.
-
-
Changed
Changed the default values for the following agent options.-
The TCP read timeout has been changed from 30 seconds to 120 seconds.
whatap.confnet_so_time=120000
-
The TCP write buffer value has been changed from 8 Mb to 2 Mb.
whatap.confnet_write_buffer_size=2*1024*1024
-
-
Fixed
Fixed the recognition error for theOKIND
environment variable.You can set
okind
by using theOKIND
orWHATAP_OKIND
environment variable.