Documentation
¶
Overview ¶
loadgen emits streams of realistic traces to an OTLP/HTTP endpoint using the real OpenTelemetry Go SDK. It's intended for exercising the workbench UI and stress-testing the ingest/storage layers.
Example:
go run ./cmd/loadgen --endpoint 127.0.0.1:4318 --rate 20 --jitter 0.4
Trace templates live in templates.go and each renders with fresh timestamps (time.Now()) at emit time, so durations are realistic. Attribute keys match the semconv names the workbench schema's generated columns look for (http.route, http.response.status_code, db.system, rpc.service), so the generated data lights up the corresponding indexes and UI panels.
Click to show internal directories.
Click to hide internal directories.