Skip to main content

Control of agent functions

The PHP application server's functions can be controlled.

  • whatap.stat_enabled Boolean

    Default true

    The statistics tracing is enabled. The statistical data includes transactions, SQLs, HTTP calls, user agents, and client IPs that are collected every 5 minutes.

  • whatap.license String

    To install the agent, set the access key granted from the server. The access key includes the agent's project and the encryption key for secured communication.

  • whatap.realtime_user_thinktime_max Milliseconds

    Default 300000

    Set the maximum call interval credited by the same user when measuring the number of real-time users.

  • whatap.time_sync_interval_ms Milliseconds

    Default 300000

    Set the synchronization interval between the agents and the server. For no synchronization, set it to 0.

  • whatap.text_reset Int

    Default 0

    The WhaTap agent does not transmit the text data once sent until the next day again because it is hashed. If a value is set different from the previous setting, the data is sent again.

    Note

    Transaction URLs and SQL strings correspond to text data.

  • whatap.ext.error_enabled Boolean

    Default true

    It activates the function to collect errors from the PHP extension module. If you have a whatap entry in php.ini with a PHP compiled installation, add it to php.ini, not whatap.ini.

Note

The setting is applied after Apache and PHP-FPM have been restarted.

  • whatap.ext.exception_enabled Boolean

    Default true

    It activates the function to collect exceptions from the PHP extension module. If you have a whatap entry in php.ini with a PHP compiled installation, add it to php.ini, not whatap.ini.

Note

The setting is applied after Apache and PHP-FPM have been restarted.

  • whatap.debug_gc_percent Int

    Default 200

    It can reduce the CPU load by increasing the interval between GC calls by the whatap-php service daemon. The memory usage increases instead of reducing the CPU load. It applied up to 1000.

  • whatap.use_env_first Boolean PHP agent v2.8.2 or later

    Default false

    The priority of the agent configuration is that the whatap.ini file is applied first, followed by the environment variables. To prioritize environment variables, set the use_env_first option to true. Alternatively, you can set the environment variable as WHATAP_USE_ENV_FIRST=true.