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)
| Option | Description | Source |
|---|
-adaptive-sampling string | HTTP endpoint to use to retrieve sampling strategies, e.g. http://localhost:14268/api/sampling. | help |
-attr-keys int | Number of distinct attributes keys to use (default 97) | help |
-attr-values int | Number of distinct values to allow for each attribute (default 1000) | help |
-attrs int | Number of attributes to generate for each child span (default 11) | help |
-debug | Whether to set DEBUG flag on the spans to force sampling | help |
-duration duration | For how long to run the test if greater than 0s (overrides -traces). | help |
-firehose | Whether to set FIREHOSE flag on the spans to skip indexing | help |
-pause duration | How long to sleep before finishing each span. | help |
-service string | Service name prefix to use (default "tracegen") | help |
-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) | help |
-spans int | Number of child spans to generate for each trace (default 1) | help |
-trace-exporter string | Trace exporter (otlp/otlp-http|otlp-grpc|stdout). | help |
-traces int | Number of traces to generate in each worker (ignored if duration is provided) (default 1) | help |
-workers int | Number 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.