telemetry-replay

command
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command telemetry-replay replays a run directory's Level 1 telemetry artifacts (run-telemetry.jsonl + run-summary.json) through the production OTLP export path (internal/telemetry/otlp). It exists for validating the Level 2 export against a real backend without running an agent: point the standard OTEL_EXPORTER_OTLP_* env vars at the backend and replay a captured artifact directory.

OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 \
  go run ./hack/telemetry-replay --input /path/to/run-dir

For MLflow (>= 3.6):

OTEL_EXPORTER_OTLP_TRACES_ENDPOINT={server}/v1/traces \
OTEL_EXPORTER_OTLP_TRACES_HEADERS="x-mlflow-experiment-id={id}" \
  go run ./hack/telemetry-replay --input /path/to/run-dir

Jump to

Keyboard shortcuts

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