This is an attempt at reproducing behavior in Grafana Tempo where traces are delayed for hours after being submitted.
The files included here are:
docker-compose.yaml
: Runs a tempo, grafana, and jaeger instance to send data to.vscode/launch.json
: VS Code launch file with configurations for running the parser script to send data to Tempo and to Jaegertelemetry-tools-env-vars/telemetry-env-vars
: This is where traceparent gets set. We compute it ourselves instead of randomly generating it, so that we can reproduce it in different places rather than carry it around.bump_time.py
: Used to update timestamps in all_jobs.json so that data is new enough for Tempo to consider itall_jobs.json
: Job timing information obtained from the GitHub Actions API. The input to the parser.
To run this example: