Is it possible to filter spans of a particular trace? #2833
Replies: 2 comments 4 replies
-
Hi! The trace visualisation in Grafana supports span filters: https://grafana.com/docs/grafana/latest/explore/trace-integration/#span-filters |
Beta Was this translation helpful? Give feedback.
-
To add to what @mapno said: This is somewhat supported using TraceQL now and is also a direction we'd like to grow in. By default in the search results Tempo returns 3 spans per spanset. This is configurable by passing a parameter: Then your users could do a query like this to see all errored database statements and the database they were connecting to without digging into a 10k span trace. The Grafana UI will, in this case, also provide nice deep links into the trace to the selected spans.
|
Beta Was this translation helpful? Give feedback.
-
We have recently installed Grafana+Tempo and we are evaluating it.
Our traces are huge, multiple services and lots of DB calls, maybe ~10.000 spans
Our product UI returns the traceid in headers and engineers use this to search. That works well.
But an engineer asked me about what's the syntaxt to show only the spans in this particular traceid which have failed.
For my experiments, I'd say this is not supported in the query language right now, is that so?
Beta Was this translation helpful? Give feedback.
All reactions