Skip to main content

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 VariableDescription
ZYMTRACE_COLLECTION_AGENTThe collection agent address in the format of host:port. Example: ZYMTRACE_COLLECTION_AGENT=example.com:443. Default is empty.
ZYMTRACE_CONFIGPath to configuration file. Example: ZYMTRACE_CONFIG=/etc/config.conf. Optional.
ZYMTRACE_DISABLE_TLSDisable encryption for data in transit. Example: ZYMTRACE_DISABLE_TLS=true. Default is false.
ZYMTRACE_MACHINE_IDManually specify the machine ID. Example: ZYMTRACE_MACHINE_ID=12345. Default is 0.
ZYMTRACE_NO_KERNEL_VERSION_CHECKDisable checking kernel version for eBPF support. Example: ZYMTRACE_NO_KERNEL_VERSION_CHECK=true. Default is false.
ZYMTRACE_PPROFListening address to serve pprof information. Example: ZYMTRACE_PPROF=localhost:6060. Default is empty.
ZYMTRACE_PROBABILISTIC_INTERVALTime interval for probabilistic profiling. Example: ZYMTRACE_PROBABILISTIC_INTERVAL=2m. Default is 1m.
ZYMTRACE_PROBABILISTIC_THRESHOLDThreshold value for probabilistic profiling. Example: ZYMTRACE_PROBABILISTIC_THRESHOLD=50. Default is ProbabilisticThresholdMax.
ZYMTRACE_PROJECTProject name to associate with profiling data. Example: ZYMTRACE_PROJECT=my-project. Default is empty.
ZYMTRACE_REPORTER_INTERVALSet the reporter's interval in seconds. Example: ZYMTRACE_REPORTER_INTERVAL=10s. Default is 5s.
ZYMTRACE_SAMPLES_PER_SECONDSet the frequency (in Hz) of stack trace sampling. Example: ZYMTRACE_SAMPLES_PER_SECOND=50. Default is 20.
ZYMTRACE_TAGSCustom tags to be attached to traces (separated by semicolon). Example: ZYMTRACE_TAGS="region:us-west;env:prod". Default is empty.
ZYMTRACE_TRACERSComma-separated list of interpreter tracers to include. Example: ZYMTRACE_TRACERS=python,nodejs. Default is "all".
ZYMTRACE_VERBOSEEnable verbose logging and debugging capabilities. Example: ZYMTRACE_VERBOSE=true. Default is false.