OS Manuals

/usr/bin/tracegen

From jaeger-2-tracegen 2.23.0-r1 (enterprise-packages), captured 2026-11-08 by running tracegen --help (exit 0). permalink

Usage of /usr/bin/tracegen:
  -adaptive-sampling string
    	HTTP endpoint to use to retrieve sampling strategies, e.g. http://localhost:14268/api/sampling. When not specified a standard SDK sampler will be used (see OTEL_TRACES_SAMPLER env var in OTEL docs)
  -attr-keys int
    	Number of distinct attributes keys to use (default 97)
  -attr-values int
    	Number of distinct values to allow for each attribute (default 1000)
  -attrs int
    	Number of attributes to generate for each child span (default 11)
  -debug
    	Whether to set DEBUG flag on the spans to force sampling
  -duration duration
    	For how long to run the test if greater than 0s (overrides -traces).
  -firehose
    	Whether to set FIREHOSE flag on the spans to skip indexing
  -pause duration
    	How long to sleep before finishing each span. If set to 0s then a fake 123µs duration is used. (default 1µs)
  -service string
    	Service name prefix to use (default "tracegen")
  -services int
    	Number of unique suffixes to add to service name when generating traces, e.g. tracegen-01 (but only one service per trace) (default 1)
  -spans int
    	Number of child spans to generate for each trace (default 1)
  -trace-exporter string
    	Trace exporter (otlp/otlp-http|otlp-grpc|stdout). Exporters can be additionally configured via environment variables, see https://github.com/jaegertracing/jaeger/blob/main/cmd/tracegen/README.md (default "otlp-http")
  -traces int
    	Number of traces to generate in each worker (ignored if duration is provided) (default 1)
  -workers int
    	Number of workers (goroutines) to run (default 1)
Options (14)
OptionDescriptionSource
-adaptive-sampling stringHTTP endpoint to use to retrieve sampling strategies, e.g. http://localhost:14268/api/sampling.help
-attr-keys intNumber of distinct attributes keys to use (default 97)help
-attr-values intNumber of distinct values to allow for each attribute (default 1000)help
-attrs intNumber of attributes to generate for each child span (default 11)help
-debugWhether to set DEBUG flag on the spans to force samplinghelp
-duration durationFor how long to run the test if greater than 0s (overrides -traces).help
-firehoseWhether to set FIREHOSE flag on the spans to skip indexinghelp
-pause durationHow long to sleep before finishing each span.help
-service stringService name prefix to use (default "tracegen")help
-services intNumber of unique suffixes to add to service name when generating traces, e.g. tracegen-01 (but only one service per trace) (default 1)help
-spans intNumber of child spans to generate for each trace (default 1)help
-trace-exporter stringTrace exporter (otlp/otlp-http|otlp-grpc|stdout).help
-traces intNumber of traces to generate in each worker (ignored if duration is provided) (default 1)help
-workers intNumber of workers (goroutines) to run (default 1)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.