Skip to content

Can I create a TraceQL query that filters based on referenced linked spans? #3656

Discussion options

You must be logged in to vote

For an update here: the proposed link syntax is currently in development. Also, TraceQL now supports trace:id and span:id intrinsics.

The discussed analysis could be done using a script that used the links span/trace ids to create a new query like:
{ trace:id = "foo" && span:id = "bar" } >> { <whatever conditions i care about> }

this is close to what tempo would have to do internally anyway.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@siegenthalerroger
Comment options

@joe-elliott
Comment options

Answer selected by siegenthalerroger
@siegenthalerroger
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants