Control of agent functions
The functions of the Python application server are controlled.
-
enabled Boolean
Default
trueAll functions are enabled. Even when the value is
false, the minimum data to maintain communication with the server is sent. -
counter_enabled Boolean
Default
trueThe performance counter tracing is enabled. The performance counter includes data such as active transaction, user, CPU, memory, SQL, and outbound HTTP call. It is ignored when the
enabledvalue isfalse. -
stat_enabled Boolean
Default
trueThe statistics tracing is enabled. Statistical data such as transactions, SQL queries, outbound HTTP calls, user agents, and client IPs is collected every 5 minutes, but now the collection is stopped. It is ignored when the
enabledvalue isfalse. -
active_stack_enabled Boolean
Default
trueEnable the active stack tracing.
NoteIf the
counter_enabledvalue is disabled, the active stacks are not collected because no active transaction data is collected. -
eactive_stack_second Seconds
Default
10Set the interval for tracing the active stacks.
CautionIt is not recommended changing the value.
-
realtime_user_thinktime_max MiliSeconds
Default
300000Set the maximum call interval credited by the same user when measuring the number of real-time users.
-
time_sync_interval_ms MiliSeconds
Default
300000Set the synchronization interval between the agents and the server. For no synchronization, set it to
0. -
realtime_user_thinktime_max Int
Default
0The 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.
NoteTransaction URLs and SQL strings correspond to text data.
-
ignore_instrumentation_set List
Default
[](empty list)Specifies libraries or categories to exclude from automatic instrumentation, separated by commas (
,). At agent startup, matching entries are skipped during the import hook registration phase, so instrumentation is not installed for those libraries. Use this when a specific library causes side effects or when you want to exclude it from instrumentation targets.There are three matching rules. If any one matches, the library is excluded from instrumentation:
Specification method Example Effect Full category.library key database.redisExcludes only that one key Category only databaseExcludes all database.*Library name only redisExcludes keys matching that name whatap.confignore_instrumentation_set=httpx,redis,application.djangoCase and surrounding whitespace are normalized before comparison. Even if the
trace_logging_enabledoption is enabled, ifloggingis included in the list, logging instrumentation will not be applied.NoteWhaTap Python agent version 0.2.0.3rc1 or later is required.