Skip to main content

Go Agent v0.4.1

August 28, 2024

  • New Added the standard output log collection feature.

    whatap.conf
    logsink_enabled=true
    logsink_stdout_enabled=true
    logsink_zip_enabled=true # optional
    Note

    By 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.conf
      use_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.conf
      net_so_time=120000
    • The TCP write buffer value has been changed from 8 Mb to 2 Mb.

      whatap.conf
      net_write_buffer_size=2*1024*1024
  • Fixed Fixed the recognition error for the OKIND environment variable.

    You can set okind by using the OKIND or WHATAP_OKIND environment variable.

Info

Download

  • go-api(import library)

    go get github.com/whatap/go-api@latest
  • Service agent

    OS NameFile formatArchitectureDownload
    Red Hat / CentOS / Amazon linuxRPMx86 x64Download
    aarch64Download
    Ubuntu 12 and above / DebianDEBamd64Download
    arm64Download
    Alpine linuxtar gzipx86 x64Download
    aarch64Download