Fetch full trace by ID tempo

Pull a trace by ID and compute per-span duration. note: times are unix nanos.

curl -s "$TEMPO_ADDR/api/traces/<id>" | jq '.batches[].scopeSpans[].spans[] | {name, durationNs: (.endTimeUnixNano|tonumber)-(.startTimeUnixNano|tonumber)}'
more tempo all 3 commands →