[TraceQL] Arbitrary math with static values and attributes does not work #3491
Labels
area/query
keepalive
Label to exempt Issues / PRs from stale workflow
traceql
type/bug
Something isn't working
Describe the bug
Queries like the following will fail:
with an error like:
The issue is that the engine creates the bad condition here:
tempo/pkg/traceql/ast_conditions.go
Line 54 in f34a137
and the fetch layer rejects it here while trying to build a predicate:
tempo/tempodb/encoding/vparquet3/block_traceql.go
Line 602 in f34a137
There are a couple of fixes, but the most straightforward one would be to produce an
OpNone
condition in the engine asking for thespan.http.status_code
field.The text was updated successfully, but these errors were encountered: