Grafana Tempo: Redaction by query & TraceQL filtering in trace-by-ID v2 (Oct 2026 Community Call)
Trace redaction permanently removes sensitive data from your traces, for when something like an API key ends up in a span attribute. Tempo 3.0 could do it, but only from a list of trace IDs, so you had to go find every affected trace first. In Tempo 3.1 you can hand it a TraceQL query instead.
Separately, trace-by-ID got a filter. You normally ask for a trace and get all of it. Now you can pass a TraceQL query and get back only the spans that match.
Redaction by query: https://github.com/grafana/tempo/pull/7663
TraceQL filtering: https://github.com/grafana/tempo/pull/7483
Tempo 3.1 blog: https://grafana.com/blog/tempo-3-1-release-all-the-latest-features/
Tempo 3.1 release notes: https://grafana.com/docs/tempo/latest/release-notes/