Export from Grafana Tempo

Tempo returns traces as OpenTelemetry JSON, so there is nothing to convert. Fetch traces by id, or connect the free check to your Tempo.

Fetch one trace as a file

Tempo's trace-by-id endpoint returns OpenTelemetry JSON by default. Add start and end (Unix seconds) to limit the search to that range.

bash
curl -s "$TEMPO/api/v2/traces/<trace-id>" > trace.json

Drop trace.json on the free check. For several traces, find ids with GET /api/search (TraceQL in q, start and end in Unix seconds, limit) and fetch each one. Without start and end, search only covers recent data in Tempo's live store.

Connect the free check directly

The check can query Tempo from your browser tab (source B). Your Tempo address and token stay in this tab. Requirements we tested:

  • Tempo 2.8 or newer. The check asks for the newest traces first with the TraceQL hint with (most_recent=true), which arrived in 2.8. We tested on 2.10.10 only; 2.8 and 2.9 are untested.
  • Browser access (CORS). In our test Tempo sent no CORS headers, and we found no setting for them. Put a reverse proxy in front of /api/search and /api/v2/traces/* that answers the preflight request and adds the headers for https://telumin.com, or use the local tap. Without CORS the page says your backend blocks browser requests.
  • A search window longer than 168 hours is split into windows of at most 168 hours, because Tempo rejects longer ones by default.

Sampling

The traceability row reports sampling. If your Tempo only holds sampled traces, the row will say so. Send every span of a run to Tempo for the export period.

Or use the local tap

If you cannot change Tempo, send a copy of your agents' traces to the collector tap and open its folder.

Vendor documentation

Then check it

Drop the file on the free check. Your data goes from your machine or your backend to this browser tab. Nothing is sent to Telumin.

More help