Skip to main content

Profiler command-line arguments

zymtrace profiler​

zymtrace profiler accepts the following CLI arguments:

CLI argumentDescription
-vRun the zymtrace profiler in verbose mode. Example: -v
-no-kernel-version-checkDisable the kernel version check for eBPF support. Example: -no-kernel-version-check
-tagsSet specific tags for attaching to traces. Example: -tags='cloud_region:us-central1;env:staging'
-projectProject name to associate with profiling data. Example: -project=my-project
-collection-agentSet the destination for reporting profiling information. This should point to your UI/gateway service. Example: -collection-agent=example.com:443
-probabilistic-intervalSet the time interval for probabilistic profiling. Default is 1m. Example: -probabilistic-interval=2m30s
-probabilistic-thresholdSet the threshold value for probabilistic profiling. Example: -probabilistic-threshold=50
-configSet the path for the configuration file of the zymtrace profiler. Example: -config=/etc/zymtrace/config.conf
-machine-idManually specify the machine ID. Default is 0. Example: -machine-id=12345
-disable-tlsDisable encryption for data in transit. Example: -disable-tls
-pprofListening address to serve pprof information. Example: -pprof=localhost:6060
-reporter-intervalSet the reporter's interval in seconds. Default is 5s. Example: -reporter-interval=10s
-samples-per-secondSet the frequency (in Hz) of stack trace sampling. Default is 20. Example: -samples-per-second=50
-tracersComma-separated list of interpreter tracers to include. Default is "all". Example: -tracers=python,nodejs