Profiler environment variables
zymtrace profiler​
zymtrace profiler can be configured using the following environment variables.
info
The zymtrace profiler prioritizes its settings in the following order (highest to lowest):
- command-line arguments,
- environment variables, and
- configuration file.
Environment Variable | Description |
---|---|
ZYMTRACE_COLLECTION_AGENT | The collection agent address in the format of host:port. Example: ZYMTRACE_COLLECTION_AGENT=example.com:443 . Default is empty. |
ZYMTRACE_CONFIG | Path to configuration file. Example: ZYMTRACE_CONFIG=/etc/config.conf . Optional. |
ZYMTRACE_DISABLE_TLS | Disable encryption for data in transit. Example: ZYMTRACE_DISABLE_TLS=true . Default is false. |
ZYMTRACE_MACHINE_ID | Manually specify the machine ID. Example: ZYMTRACE_MACHINE_ID=12345 . Default is 0. |
ZYMTRACE_NO_KERNEL_VERSION_CHECK | Disable checking kernel version for eBPF support. Example: ZYMTRACE_NO_KERNEL_VERSION_CHECK=true . Default is false. |
ZYMTRACE_PPROF | Listening address to serve pprof information. Example: ZYMTRACE_PPROF=localhost:6060 . Default is empty. |
ZYMTRACE_PROBABILISTIC_INTERVAL | Time interval for probabilistic profiling. Example: ZYMTRACE_PROBABILISTIC_INTERVAL=2m . Default is 1m. |
ZYMTRACE_PROBABILISTIC_THRESHOLD | Threshold value for probabilistic profiling. Example: ZYMTRACE_PROBABILISTIC_THRESHOLD=50 . Default is ProbabilisticThresholdMax. |
ZYMTRACE_PROJECT | Project name to associate with profiling data. Example: ZYMTRACE_PROJECT=my-project . Default is empty. |
ZYMTRACE_REPORTER_INTERVAL | Set the reporter's interval in seconds. Example: ZYMTRACE_REPORTER_INTERVAL=10s . Default is 5s. |
ZYMTRACE_SAMPLES_PER_SECOND | Set the frequency (in Hz) of stack trace sampling. Example: ZYMTRACE_SAMPLES_PER_SECOND=50 . Default is 20. |
ZYMTRACE_TAGS | Custom tags to be attached to traces (separated by semicolon). Example: ZYMTRACE_TAGS="region:us-west;env:prod" . Default is empty. |
ZYMTRACE_TRACERS | Comma-separated list of interpreter tracers to include. Example: ZYMTRACE_TRACERS=python,nodejs . Default is "all". |
ZYMTRACE_VERBOSE | Enable verbose logging and debugging capabilities. Example: ZYMTRACE_VERBOSE=true . Default is false. |