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
Click to show internal directories.
Click to hide internal directories.