tracegen

command
v0.0.0-...-2a2fe1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

README

tracegen

tracegen is a utility that can generate a steady flow of simple traces useful for performance tuning. Traces are produced concurrently from one or more worker goroutines. Run with -h to see all cli flags.

The binary is available from the Releases page, as well as a Docker image:

$ docker run jaegertracing/jaeger-tracegen -service abcd -traces 10

Notice, however, that by default the generator uses the UDP exporter of jaeger-client-go, which sends data to localhost, i.e. inside the networking namespace of the container itself, which obviously doesn't go anywhere. You can use the environment variables supported by jaeger-client-go to instruct the SDK where to send the data, for example to switch to HTTP by setting JAEGER_ENDPOINT.

See example in the included docker-compose file.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL