loadgen

command
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: GPL-3.0 Imports: 24 Imported by: 0

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.

Jump to

Keyboard shortcuts

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